osg::HalfEdgeGraph::HalfEdge Class Reference

List of all members.

Public Member Functions

void setVertex (IndexT startVertexIndex, IndexT endVertexIndex)
IndexT vertexStart (void)
IndexT vertexEnd (void)

Public Attributes

Triangletriangle
HalfEdgetwin
HalfEdgenext

Private Attributes

IndexT _vertexIndex


Detailed Description

Definition at line 83 of file OSGHalfEdgeGraph.h.


Member Function Documentation

void osg::HalfEdgeGraph::HalfEdge::setVertex ( HalfEdgeGraph::IndexT  startVertexIndex,
HalfEdgeGraph::IndexT  endVertexIndex 
) [inline]

Definition at line 51 of file OSGHalfEdgeGraph.inl.

References _vertexIndex.

Referenced by osg::HalfEdgeGraph::addHalfEdge(), and osg::HalfEdgeGraph::addTriangle().

00054 {
00055     _vertexIndex = startVertexIndex;
00056 }

HalfEdgeGraph::IndexT osg::HalfEdgeGraph::HalfEdge::vertexStart ( void   )  [inline]

Definition at line 59 of file OSGHalfEdgeGraph.inl.

References _vertexIndex.

Referenced by osg::HalfEdgeGraph::verify().

00060 {
00061     return _vertexIndex;
00062 }

HalfEdgeGraph::IndexT osg::HalfEdgeGraph::HalfEdge::vertexEnd ( void   )  [inline]

Definition at line 65 of file OSGHalfEdgeGraph.inl.

References _vertexIndex, and next.

00066 {
00067     return next->_vertexIndex;
00068 }


Member Data Documentation

Definition at line 85 of file OSGHalfEdgeGraph.h.

Referenced by setVertex(), vertexEnd(), and vertexStart().


The documentation for this class was generated from the following files:

Generated on Mon Mar 17 12:07:14 2008 for OpenSG by  doxygen 1.5.5