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

indexEdge Class Reference

#include <meshBase.h>

Collaboration diagram for indexEdge:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 indexEdge ()
gmVector3 & getVertexA ()
gmVector3 & getVertexB ()
U32 getVertexIndexA ()
U32 getVertexIndexB ()
gmVector3 & getNormalA ()
gmVector3 & getNormalB ()
U32 getNormalIndexA ()
U32 getNormalIndexB ()
U32 getNumberOfAdjFaces ()
indexFacegetFace (U32 faceIndex)
U32 getFaceIndex (U32 faceIndex)
void addFace (U32 faceIndex)
void setVertices (U32 vertexIndexA, U32 vertexIndexB)
bool hasArbitraryIndex ()
void setArbitraryIndex (U32 index)
U32 getArbitraryIndex ()
bool operator< (const indexEdge &edge) const
bool operator== (const indexEdge &hedge) const

Private Attributes

Meshm_pMesh
U32 m_vertexIndexA
U32 m_vertexIndexB
U32 m_faceCount
U32 m_faceIndexA
U32 m_faceIndexB
bool m_hasArbitraryIndex
U32 m_arbitraryIndex

Friends

class Mesh

Constructor & Destructor Documentation

indexEdge::indexEdge  ) 
 

Definition at line 14 of file indexEdge.h.

References m_arbitraryIndex, m_faceCount, m_faceIndexA, m_faceIndexB, m_hasArbitraryIndex, m_pMesh, m_vertexIndexA, and m_vertexIndexB.


Member Function Documentation

void indexEdge::addFace U32  faceIndex  )  [inline]
 

Definition at line 78 of file indexEdge.h.

References m_faceCount, m_faceIndexA, m_faceIndexB, and U32.

Referenced by Mesh::addFace().

U32 indexEdge::getArbitraryIndex  )  [inline]
 

Definition at line 120 of file indexEdge.h.

References m_arbitraryIndex, m_hasArbitraryIndex, and U32.

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

indexFace & indexEdge::getFace U32  faceIndex  )  [inline]
 

Definition at line 54 of file indexEdge.h.

References Mesh::getFace(), m_faceCount, m_faceIndexA, m_faceIndexB, m_pMesh, and U32.

U32 indexEdge::getFaceIndex U32  faceIndex  )  [inline]
 

Definition at line 67 of file indexEdge.h.

References m_faceCount, m_faceIndexA, m_faceIndexB, and U32.

Referenced by indexVertex::getAdjacentFaceIndex(), and indexVertex::sortVertexAdjacencies().

gmVector3 & indexEdge::getNormalA  )  [inline]
 

Definition at line 145 of file indexEdge.h.

References indexVertex::getNormalIndex(), Mesh::m_indexVertexList, Mesh::m_normalList, m_pMesh, and m_vertexIndexA.

Referenced by Kobelt::subdivide().

gmVector3 & indexEdge::getNormalB  )  [inline]
 

Definition at line 149 of file indexEdge.h.

References indexVertex::getNormalIndex(), Mesh::m_indexVertexList, Mesh::m_normalList, m_pMesh, and m_vertexIndexB.

Referenced by Kobelt::subdivide().

U32 indexEdge::getNormalIndexA  )  [inline]
 

Definition at line 153 of file indexEdge.h.

References indexVertex::getNormalIndex(), Mesh::m_indexVertexList, m_pMesh, m_vertexIndexA, and U32.

U32 indexEdge::getNormalIndexB  )  [inline]
 

Definition at line 157 of file indexEdge.h.

References indexVertex::getNormalIndex(), Mesh::m_indexVertexList, m_pMesh, m_vertexIndexB, and U32.

U32 indexEdge::getNumberOfAdjFaces  )  [inline]
 

Definition at line 48 of file indexEdge.h.

References m_faceCount, and U32.

gmVector3 & indexEdge::getVertexA  )  [inline]
 

Definition at line 130 of file indexEdge.h.

References Mesh::getVertex(), m_pMesh, and m_vertexIndexA.

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

gmVector3 & indexEdge::getVertexB  )  [inline]
 

Definition at line 133 of file indexEdge.h.

References Mesh::getVertex(), m_pMesh, and m_vertexIndexB.

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

U32 indexEdge::getVertexIndexA  )  [inline]
 

Definition at line 136 of file indexEdge.h.

References m_vertexIndexA, and U32.

Referenced by CatmullClarkSubdivision::buildVertex().

U32 indexEdge::getVertexIndexB  )  [inline]
 

Definition at line 139 of file indexEdge.h.

References m_vertexIndexB, and U32.

bool indexEdge::hasArbitraryIndex  )  [inline]
 

Definition at line 107 of file indexEdge.h.

References m_hasArbitraryIndex.

Referenced by CatmullClarkSubdivision::subdivide().

bool indexEdge::operator< const indexEdge edge  )  const [inline]
 

Definition at line 31 of file indexEdge.h.

References edge.

bool indexEdge::operator== const indexEdge hedge  )  const [inline]
 

Definition at line 39 of file indexEdge.h.

void indexEdge::setArbitraryIndex U32  index  )  [inline]
 

Definition at line 113 of file indexEdge.h.

References m_arbitraryIndex, m_hasArbitraryIndex, and U32.

void indexEdge::setVertices U32  vertexIndexA,
U32  vertexIndexB
[inline]
 

Definition at line 90 of file indexEdge.h.

References m_faceCount, m_vertexIndexA, m_vertexIndexB, and U32.

Referenced by indexVertex::sortVertexAdjacencies().


Friends And Related Function Documentation

friend class Mesh [friend]
 

Definition at line 91 of file meshBase.h.


Member Data Documentation

U32 indexEdge::m_arbitraryIndex [private]
 

Definition at line 134 of file meshBase.h.

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

U32 indexEdge::m_faceCount [private]
 

Definition at line 126 of file meshBase.h.

Referenced by addFace(), Mesh::deleteFace(), getFace(), getFaceIndex(), getNumberOfAdjFaces(), indexEdge(), and setVertices().

U32 indexEdge::m_faceIndexA [private]
 

Definition at line 127 of file meshBase.h.

Referenced by addFace(), Mesh::deleteFace(), getFace(), getFaceIndex(), and indexEdge().

U32 indexEdge::m_faceIndexB [private]
 

Definition at line 128 of file meshBase.h.

Referenced by addFace(), Mesh::deleteFace(), getFace(), getFaceIndex(), and indexEdge().

bool indexEdge::m_hasArbitraryIndex [private]
 

Definition at line 133 of file meshBase.h.

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

Mesh* indexEdge::m_pMesh [private]
 

Definition at line 123 of file meshBase.h.

Referenced by getFace(), getNormalA(), getNormalB(), getNormalIndexA(), getNormalIndexB(), getVertexA(), getVertexB(), and indexEdge().

U32 indexEdge::m_vertexIndexA [private]
 

Definition at line 124 of file meshBase.h.

Referenced by Mesh::deleteVertex(), getNormalA(), getNormalIndexA(), getVertexA(), getVertexIndexA(), indexEdge(), and setVertices().

U32 indexEdge::m_vertexIndexB [private]
 

Definition at line 125 of file meshBase.h.

Referenced by Mesh::deleteVertex(), getNormalB(), getNormalIndexB(), getVertexB(), getVertexIndexB(), indexEdge(), and setVertices().


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