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

MeshGroup Class Reference

#include <meshBase.h>

Collaboration diagram for MeshGroup:

Collaboration graph
[legend]
List of all members.

Public Member Functions

U32 getNumberOfFaces ()
indexFacegetFace (U32 index)
U32 getFaceIndex (U32 index)
U32 addFace (U32 index)
void removeFace (U32 index)
indexFacegetFace ()
void rewindFaceList ()
indexFacefacePostIncrement ()
U32faceIndexPostIncrement ()
bool hasArbitraryIndex ()
void setArbitraryIndex (U32 index)
U32 getArbitraryIndex ()

Private Attributes

Meshm_pMesh
Narray< U32m_faceList
bool m_hasArbitraryIndex
U32 m_arbitraryIndex

Friends

class Mesh

Member Function Documentation

U32 MeshGroup::addFace U32  index  )  [inline]
 

Definition at line 14 of file meshGroup.h.

References m_faceList, and U32.

Referenced by DynamicMesh::add_component(), DynamicMesh::add_ring(), Mesh::addFace(), Mesh::addFaceToGroup(), DynamicMesh::flip_edge(), DynamicMesh::merge(), DynamicMesh::split(), and DooSabin::subdivide().

U32 * MeshGroup::faceIndexPostIncrement  )  [inline]
 

Definition at line 45 of file meshGroup.h.

References m_faceList, and U32.

Referenced by Mesh::deleteFace(), midedgeSubdivision::subdivide(), loopSubdivision::subdivide(), CatmullClarkSubdivision::subdivide(), and ButterflySubdivision::subdivide().

indexFace * MeshGroup::facePostIncrement  )  [inline]
 

Definition at line 37 of file meshGroup.h.

References Mesh::getFace(), m_faceList, m_pMesh, and U32.

Referenced by display(), DynamicMesh::intersect_ray(), DynamicMesh::merge(), DynamicMesh::optimize(), DynamicMesh::remove_component(), DynamicMesh::remove_ring(), DynamicMesh::split(), midedgeSubdivision::subdivide(), loopSubdivision::subdivide(), Kobelt::subdivide(), DooSabin::subdivide(), CatmullClarkSubdivision::subdivide(), and ButterflySubdivision::subdivide().

U32 MeshGroup::getArbitraryIndex  )  [inline]
 

Definition at line 58 of file meshGroup.h.

References m_arbitraryIndex, m_hasArbitraryIndex, and U32.

indexFace& MeshGroup::getFace  ) 
 

indexFace & MeshGroup::getFace U32  index  )  [inline]
 

Definition at line 68 of file meshGroup.h.

References Mesh::getFace(), m_faceList, m_pMesh, and U32.

U32 MeshGroup::getFaceIndex U32  index  )  [inline]
 

Definition at line 72 of file meshGroup.h.

References m_faceList, and U32.

U32 MeshGroup::getNumberOfFaces  ) 
 

bool MeshGroup::hasArbitraryIndex  )  [inline]
 

Definition at line 51 of file meshGroup.h.

References m_hasArbitraryIndex.

void MeshGroup::removeFace U32  index  )  [inline]
 

Definition at line 21 of file meshGroup.h.

References m_faceList, and U32.

Referenced by DynamicMesh::add_ring(), DynamicMesh::flip_edge(), DynamicMesh::remove_component(), and DynamicMesh::split().

void MeshGroup::rewindFaceList  )  [inline]
 

Definition at line 31 of file meshGroup.h.

References m_faceList.

Referenced by Mesh::deleteFace(), display(), DynamicMesh::intersect_ray(), DynamicMesh::merge(), DynamicMesh::optimize(), DynamicMesh::remove_component(), DynamicMesh::remove_ring(), DynamicMesh::split(), midedgeSubdivision::subdivide(), loopSubdivision::subdivide(), Kobelt::subdivide(), DooSabin::subdivide(), CatmullClarkSubdivision::subdivide(), and ButterflySubdivision::subdivide().

void MeshGroup::setArbitraryIndex U32  index  )  [inline]
 

Definition at line 54 of file meshGroup.h.

References m_arbitraryIndex, m_hasArbitraryIndex, and U32.

Referenced by DynamicMesh::create_mesh_group(), and DynamicMesh::remove_component().


Friends And Related Function Documentation

friend class Mesh [friend]
 

Definition at line 210 of file meshBase.h.


Member Data Documentation

U32 MeshGroup::m_arbitraryIndex [private]
 

Definition at line 230 of file meshBase.h.

Referenced by getArbitraryIndex(), and setArbitraryIndex().

Narray<U32> MeshGroup::m_faceList [private]
 

Definition at line 228 of file meshBase.h.

Referenced by addFace(), Mesh::deleteFace(), faceIndexPostIncrement(), facePostIncrement(), getFace(), getFaceIndex(), removeFace(), and rewindFaceList().

bool MeshGroup::m_hasArbitraryIndex [private]
 

Definition at line 229 of file meshBase.h.

Referenced by getArbitraryIndex(), hasArbitraryIndex(), and setArbitraryIndex().

Mesh* MeshGroup::m_pMesh [private]
 

Definition at line 227 of file meshBase.h.

Referenced by Mesh::addGroup(), facePostIncrement(), and getFace().


The documentation for this class was generated from the following files:
Generated on Mon Jun 28 15:02:26 2004 for Advanced Surface Library by doxygen 1.3.4