CrystalSpace

Public API Reference

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

csPolygonMeshBox Class Reference
[Geometry utilities]

A convenience polygon mesh implementation that represents a cube. More...

#include <csgeom/polymesh.h>

List of all members.

Public Member Functions

 csPolygonMeshBox (const csBox3 &box)
 Construct a cube polygon mesh.
virtual uint32 GetChangeNumber () const
virtual csFlagsGetFlags ()
virtual int GetPolygonCount ()
virtual csMeshedPolygonGetPolygons ()
virtual int GetTriangleCount ()
virtual int GetVertexCount ()
virtual csVector3GetVertices ()
virtual void Lock ()
void SetBox (const csBox3 &box)
 Set the box.
virtual void Unlock ()
virtual ~csPolygonMeshBox ()


Detailed Description

A convenience polygon mesh implementation that represents a cube.

Definition at line 210 of file polymesh.h.


Constructor & Destructor Documentation

csPolygonMeshBox::csPolygonMeshBox const csBox3 box  )  [inline]
 

Construct a cube polygon mesh.

Definition at line 225 of file polymesh.h.

References CS_POLYMESH_CLOSED, CS_POLYMESH_CONVEX, and CS_POLYMESH_TRIANGLEMESH.


Member Function Documentation

void csPolygonMeshBox::SetBox const csBox3 box  )  [inline]
 

Set the box.

Definition at line 273 of file polymesh.h.

References csBox3::GetCorner().


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.4.4