Main Page   Class Hierarchy   Compound List   File List   Compound Members  

GeMeshWingedEdge::HalfEdgeWrapper Class Reference

Facade class for access to half edge data, while drawing on information from the vertex and texture vertex arrays. More...

#include <freecloth/geom/geMeshWingedEdge.h>

Inheritance diagram for GeMeshWingedEdge::HalfEdgeWrapper:

Inheritance graph
[legend]
Collaboration diagram for GeMeshWingedEdge::HalfEdgeWrapper:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 HalfEdgeWrapper (const GeMeshWingedEdge &, HalfEdgeId)
HalfEdgeId getHalfEdgeId () const
VertexId getOriginVertexId () const
 Get id of vertex at origin of this half-edge.

const VertexTypegetOriginVertex () const
VertexId getTipVertexId () const
 Get id of vertex at tip of this half-edge.

const VertexTypegetTipVertex () const
VertexId getOppositeVertexId () const
 Get id of vertex opposite this half-edge.

const VertexTypegetOppositeVertex () const
HalfEdgeId getTwinHalfEdgeId () const
HalfEdgeWrapper getTwinHalfEdge () const
FaceId getFaceId () const
GeMesh::FaceWrapper getFace () const
HalfEdgeId getNextHalfEdgeId () const
HalfEdgeWrapper getNextHalfEdge () const
HalfEdgeId getPrevHalfEdgeId () const
HalfEdgeWrapper getPrevHalfEdge () const
bool hasTwin () const

Private Member Functions

 HalfEdgeWrapper ()
 For use by iterator - only it can construct an invalid wrapper.

 HalfEdgeWrapper (const GeMeshWingedEdge *, HalfEdgeId)
bool isValid () const
const GeMeshWingedEdgegetMeshWE () const
const GeMeshgetMesh () const

Private Attributes

const GeMeshWingedEdge_meshwe
 This must be a pointer to allow modification by the iterator classes.

HalfEdgeId _halfEdgeId

Friends

class GeMeshWingedEdge::EdgeIteratorBase< false >
class GeMeshWingedEdge::EdgeIteratorBase< true >
class GeMeshWingedEdge::VertexEdgeIteratorBase< false >
class GeMeshWingedEdge::VertexEdgeIteratorBase< true >
class VertexFaceIterator

Detailed Description

Facade class for access to half edge data, while drawing on information from the vertex and texture vertex arrays.

Each face contains indices into the vertex and texture vertex arrays. From the vertices, other information can be calculated.

At present, all faces are triangular.

Pattern: Facade

Definition at line 240 of file geMeshWingedEdge.h.


The documentation for this class was generated from the following files:
Generated on Wed Apr 23 15:58:55 2003 for Freecloth by doxygen1.3-rc3