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

indexFace Class Reference

#include <meshBase.h>

Collaboration diagram for indexFace:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 indexFace ()
 ~indexFace ()
indexFaceoperator= (const indexFace &face)
U32 getIndex ()
U32 getVertexCount ()
U32 addVertex (U32 vertexIndex, U32 normalIndex)
gmVector3 & getVertex (U32 vertexIndex)
gmVector3 & getNormal (U32 normalIndex)
gmVector3 & getTangent (U32 tangentIndex)
gmVector2 & getTexCoord (U32 texCoordIndex, U32 index)
U32 getVertexIndex (U32 vertexIndex)
U32 getNormalIndex (U32 normalIndex)
U32 getTangentIndex (U32 tangentIndex)
U32 getTexCoordIndex (U32 texCoordIndex, U32 index)
U32 getAdjacentFaceCount ()
indexFacegetAdjacentFace (U32 faceIndex)
U32 getEdgeCount ()
indexEdgegetEdge (U32 edgeIndex)
bool hasArbitraryIndex ()
void setArbitraryIndex (U32 index)
U32 getArbitraryIndex ()

Private Attributes

Meshm_pMesh
Narray< U32m_vertexIndices
Narray< U32m_normalIndices
Narray< U32m_tangentIndices
Narray< U32m_texCoordIndices0
Narray< U32m_texCoordIndices1
Narray< U32m_texCoordIndices2
Narray< U32m_texCoordIndices3
Narray< U32m_adjacentFaces
bool m_hasArbitraryIndex
U32 m_arbitraryIndex

Friends

class Mesh

Constructor & Destructor Documentation

indexFace::indexFace  ) 
 

Definition at line 14 of file indexFace.h.

References m_hasArbitraryIndex.

indexFace::~indexFace  ) 
 

Definition at line 20 of file indexFace.h.

References m_normalIndices, m_tangentIndices, m_texCoordIndices0, m_texCoordIndices1, m_texCoordIndices2, m_texCoordIndices3, and m_vertexIndices.


Member Function Documentation

U32 indexFace::addVertex U32  vertexIndex,
U32  normalIndex
[inline]
 

Definition at line 62 of file indexFace.h.

References m_normalIndices, m_vertexIndices, and U32.

Referenced by NUobjLoader::loadMesh(), midedgeSubdivision::subdivide(), loopSubdivision::subdivide(), Kobelt::subdivide(), CatmullClarkSubdivision::subdivide(), and ButterflySubdivision::subdivide().

indexFace & indexFace::getAdjacentFace U32  faceIndex  )  [inline]
 

Definition at line 136 of file indexFace.h.

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

Referenced by Kobelt::subdivide().

U32 indexFace::getAdjacentFaceCount  )  [inline]
 

Definition at line 130 of file indexFace.h.

References m_adjacentFaces, and U32.

U32 indexFace::getArbitraryIndex  ) 
 

Referenced by CatmullClarkSubdivision::buildVertex(), CatmullClarkSubdivision::divideEdge(), Kobelt::subdivide(), and CatmullClarkSubdivision::subdivide().

indexEdge & indexFace::getEdge U32  edgeIndex  )  [inline]
 

Definition at line 148 of file indexFace.h.

References edge, Mesh::m_edgeList, m_pMesh, m_vertexIndices, and U32.

Referenced by ButterflySubdivision::divideEdge(), ButterflySubdivision::divideFace(), loopSubdivision::subdivide(), Kobelt::subdivide(), CatmullClarkSubdivision::subdivide(), and ButterflySubdivision::subdivide().

U32 indexFace::getEdgeCount  )  [inline]
 

Definition at line 142 of file indexFace.h.

References m_vertexIndices, and U32.

Referenced by loopSubdivision::subdivide(), Kobelt::subdivide(), CatmullClarkSubdivision::subdivide(), and ButterflySubdivision::subdivide().

U32 indexFace::getIndex  )  [inline]
 

Definition at line 50 of file indexFace.h.

References Mesh::m_faceList, m_pMesh, and U32.

Referenced by ButterflySubdivision::divideEdge(), ButterflySubdivision::getOpposingVertexInfo(), loopSubdivision::subdivide(), and Kobelt::subdivide().

gmVector3 & indexFace::getNormal U32  normalIndex  )  [inline]
 

Definition at line 76 of file indexFace.h.

References Mesh::getNormal(), m_normalIndices, m_pMesh, and U32.

Referenced by display(), ButterflySubdivision::divideEdge(), ButterflySubdivision::getOpposingVertexInfo(), loopSubdivision::subdivide(), and Kobelt::subdivide().

U32 indexFace::getNormalIndex U32  normalIndex  )  [inline]
 

Definition at line 106 of file indexFace.h.

References m_normalIndices, and U32.

Referenced by Mesh::addFace(), Kobelt::subdivide(), and ButterflySubdivision::subdivide().

gmVector3 & indexFace::getTangent U32  tangentIndex  )  [inline]
 

Definition at line 82 of file indexFace.h.

References Mesh::getTangent(), m_pMesh, m_tangentIndices, and U32.

U32 indexFace::getTangentIndex U32  tangentIndex  )  [inline]
 

Definition at line 112 of file indexFace.h.

References m_tangentIndices, and U32.

gmVector2 & indexFace::getTexCoord U32  texCoordIndex,
U32  index
[inline]
 

Definition at line 88 of file indexFace.h.

References Mesh::getTexCoord(), m_pMesh, m_texCoordIndices0, m_texCoordIndices1, m_texCoordIndices2, m_texCoordIndices3, and U32.

U32 indexFace::getTexCoordIndex U32  texCoordIndex,
U32  index
[inline]
 

Definition at line 118 of file indexFace.h.

References m_texCoordIndices0, m_texCoordIndices1, m_texCoordIndices2, m_texCoordIndices3, and U32.

gmVector3 & indexFace::getVertex U32  vertexIndex  )  [inline]
 

Definition at line 70 of file indexFace.h.

References Mesh::getVertex(), m_pMesh, m_vertexIndices, and U32.

Referenced by display(), ButterflySubdivision::divideEdge(), CatmullClarkSubdivision::divideFace(), ButterflySubdivision::getOpposingVertexInfo(), midedgeSubdivision::subdivide(), loopSubdivision::subdivide(), and Kobelt::subdivide().

U32 indexFace::getVertexCount  )  [inline]
 

Definition at line 56 of file indexFace.h.

References m_vertexIndices, and U32.

Referenced by Mesh::addFace(), Mesh::deleteVertex(), display(), ButterflySubdivision::divideEdge(), CatmullClarkSubdivision::divideFace(), ButterflySubdivision::getOpposingVertexInfo(), midedgeSubdivision::subdivide(), loopSubdivision::subdivide(), CatmullClarkSubdivision::subdivide(), and ButterflySubdivision::subdivide().

U32 indexFace::getVertexIndex U32  vertexIndex  )  [inline]
 

Definition at line 100 of file indexFace.h.

References m_vertexIndices, and U32.

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

bool indexFace::hasArbitraryIndex  ) 
 

indexFace & indexFace::operator= const indexFace face  )  [inline]
 

Definition at line 33 of file indexFace.h.

References m_arbitraryIndex, m_hasArbitraryIndex, m_normalIndices, m_pMesh, m_tangentIndices, m_texCoordIndices0, m_texCoordIndices1, m_texCoordIndices2, m_texCoordIndices3, and m_vertexIndices.

void indexFace::setArbitraryIndex U32  index  ) 
 

Referenced by CatmullClarkSubdivision::divideFace(), midedgeSubdivision::subdivide(), and Kobelt::subdivide().


Friends And Related Function Documentation

friend class Mesh [friend]
 

Definition at line 145 of file meshBase.h.


Member Data Documentation

Narray<U32> indexFace::m_adjacentFaces [private]
 

Definition at line 189 of file meshBase.h.

Referenced by Mesh::deleteFace(), getAdjacentFace(), and getAdjacentFaceCount().

U32 indexFace::m_arbitraryIndex [private]
 

Definition at line 192 of file meshBase.h.

Referenced by operator=().

bool indexFace::m_hasArbitraryIndex [private]
 

Definition at line 191 of file meshBase.h.

Referenced by indexFace(), and operator=().

Narray<U32> indexFace::m_normalIndices [private]
 

Definition at line 181 of file meshBase.h.

Referenced by addVertex(), getNormal(), getNormalIndex(), operator=(), and ~indexFace().

Mesh* indexFace::m_pMesh [private]
 

Definition at line 179 of file meshBase.h.

Referenced by getAdjacentFace(), getEdge(), getIndex(), getNormal(), getTangent(), getTexCoord(), getVertex(), and operator=().

Narray<U32> indexFace::m_tangentIndices [private]
 

Definition at line 182 of file meshBase.h.

Referenced by getTangent(), getTangentIndex(), operator=(), and ~indexFace().

Narray<U32> indexFace::m_texCoordIndices0 [private]
 

Definition at line 184 of file meshBase.h.

Referenced by getTexCoord(), getTexCoordIndex(), operator=(), and ~indexFace().

Narray<U32> indexFace::m_texCoordIndices1 [private]
 

Definition at line 185 of file meshBase.h.

Referenced by getTexCoord(), getTexCoordIndex(), operator=(), and ~indexFace().

Narray<U32> indexFace::m_texCoordIndices2 [private]
 

Definition at line 186 of file meshBase.h.

Referenced by getTexCoord(), getTexCoordIndex(), operator=(), and ~indexFace().

Narray<U32> indexFace::m_texCoordIndices3 [private]
 

Definition at line 187 of file meshBase.h.

Referenced by getTexCoord(), getTexCoordIndex(), operator=(), and ~indexFace().

Narray<U32> indexFace::m_vertexIndices [private]
 

Definition at line 180 of file meshBase.h.

Referenced by addVertex(), Mesh::deleteVertex(), getEdge(), getEdgeCount(), getVertex(), getVertexCount(), getVertexIndex(), operator=(), and ~indexFace().


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