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

gfx::VisualTriangles Class Reference

Inheritance diagram for gfx::VisualTriangles:

Inheritance graph
[legend]
Collaboration diagram for gfx::VisualTriangles:

Collaboration graph
[legend]
List of all members.

Public Types

typedef array< Triangle3TriangleArray
typedef TriangleIterator const_iterator

Public Member Functions

 VisualTriangles (const Visual &visual)
 VisualTriangles (const Visual &visual, Int LODChild)
virtual ~VisualTriangles ()
virtual String className () const
virtual const TriangleArraygetTriangleArray () const
virtual const_iterator begin () const
virtual const_iterator end () const
virtual bool isSameKindAs (const Object &) const

Protected Member Functions

virtual TriangleIteratorStatenewTriangleIteratorState (bool begin=true) const
virtual void nextTriangle (TriangleIteratorState *iteratorState) const
virtual void deleteTriangleIteratorState (TriangleIteratorState *state) const
virtual bool equalStates (TriangleIteratorState *state1, TriangleIteratorState *state2) const
virtual void extractTriangles (osg::Node *node)

Protected Attributes

TriangleArray triangles
Int LODChild

Friends

class TriangleIterator

Member Typedef Documentation

typedef TriangleIterator gfx::TriangleContainer::const_iterator [inherited]
 

Definition at line 40 of file TriangleContainer.

typedef array<Triangle3> gfx::VisualTriangles::TriangleArray
 

Definition at line 56 of file VisualTriangles.

Referenced by getTriangleArray(), and gfx::VisualTriangles::TriangleArrayIteratorState::TriangleArrayIteratorState().


Constructor & Destructor Documentation

gfx::VisualTriangles::VisualTriangles const Visual visual  ) 
 

gfx::VisualTriangles::VisualTriangles const Visual visual,
Int  LODChild
 

virtual gfx::VisualTriangles::~VisualTriangles  )  [inline, virtual]
 

Definition at line 52 of file VisualTriangles.


Member Function Documentation

virtual const_iterator gfx::TriangleContainer::begin  )  const [virtual, inherited]
 

virtual String gfx::VisualTriangles::className  )  const [inline, virtual]
 

return the name of the object's class type. Must be defined by derived classes.

Implements base::Object.

Definition at line 54 of file VisualTriangles.

virtual void gfx::VisualTriangles::deleteTriangleIteratorState TriangleIteratorState state  )  const [inline, protected, virtual]
 

Implements gfx::TriangleContainer.

Definition at line 99 of file VisualTriangles.

virtual const_iterator gfx::TriangleContainer::end  )  const [virtual, inherited]
 

virtual bool gfx::VisualTriangles::equalStates TriangleIteratorState state1,
TriangleIteratorState state2
const [inline, protected, virtual]
 

Implements gfx::TriangleContainer.

Definition at line 101 of file VisualTriangles.

References gfx::VisualTriangles::TriangleArrayIteratorState::index.

virtual void gfx::VisualTriangles::extractTriangles osg::Node *  node  )  [protected, virtual]
 

virtual const TriangleArray& gfx::VisualTriangles::getTriangleArray  )  const [inline, virtual]
 

Definition at line 58 of file VisualTriangles.

References TriangleArray.

virtual bool base::Object::isSameKindAs const Object  )  const [inline, virtual, inherited]
 

Definition at line 47 of file Object.

virtual TriangleIteratorState* gfx::VisualTriangles::newTriangleIteratorState bool  begin = true  )  const [inline, protected, virtual]
 

Implements gfx::TriangleContainer.

Definition at line 87 of file VisualTriangles.

virtual void gfx::VisualTriangles::nextTriangle TriangleIteratorState iteratorState  )  const [inline, protected, virtual]
 

Implements gfx::TriangleContainer.

Definition at line 94 of file VisualTriangles.

References gfx::VisualTriangles::TriangleArrayIteratorState::index.


Friends And Related Function Documentation

friend class TriangleIterator [friend]
 

Reimplemented from gfx::TriangleContainer.

Definition at line 133 of file VisualTriangles.


Member Data Documentation

Int gfx::VisualTriangles::LODChild [protected]
 

Definition at line 63 of file VisualTriangles.

TriangleArray gfx::VisualTriangles::triangles [protected]
 

Definition at line 62 of file VisualTriangles.


The documentation for this class was generated from the following file:
Generated on Thu Jul 29 16:39:58 2004 for OpenSim by doxygen 1.3.6