A simple class for tessellating a single polygon boundary.
Public Fields
-
int _errorCode
Public Methods
-
Tesselator()
-
~Tesselator()
-
void tesselate(osg::Vec3* coords, int numIndices, int* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)
-
void tesselate(osg::Vec3* coords, int numIndices, osg::ushort* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)
-
void tesselate(osg::Vec3* coords, int numIndices, osg::uint* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)
-
typedef std::vector<osg::uint> IndexVec const IndexVec& getResult() const
-
void beginPrimitive(int primitiveType)
-
void endPrimitive()
Public Members
-
enum InputBoundaryDirection
-
struct VertexIndexSet
Protected Fields
-
CoordVec _coordVec
-
IndexVec _tesselated_indices
-
int _currentPrimtiveType
-
IndexVec _acummulated_indices
Protected Methods
-
typedef std::vector<VertexIndexSet> CoordVec void init()
-
void do_it()
Documentation
A simple class for tessellating a single polygon boundary.
Currently uses old style glu tessellation functions for portability.
It be nice to use the modern glu tessellation functions or to find
a small set of code for doing this job better.
- Tesselator()
- ~Tesselator()
- enum InputBoundaryDirection
- CLOCK_WISE
- COUNTER_CLOCK_WISE
- void tesselate(osg::Vec3* coords, int numIndices, int* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)
- void tesselate(osg::Vec3* coords, int numIndices, osg::ushort* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)
- void tesselate(osg::Vec3* coords, int numIndices, osg::uint* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)
- typedef std::vector<osg::uint> IndexVec const IndexVec& getResult() const
- void beginPrimitive(int primitiveType)
- void endPrimitive()
- int _errorCode
- struct VertexIndexSet
- VertexIndexSet()
- VertexIndexSet(Tesselator* tess, const osg::Vec3& vec, osg::uint index)
- VertexIndexSet(const VertexIndexSet& vip)
- VertexIndexSet& operator = (const VertexIndexSet& vip)
- void set(Tesselator* tess, const osg::Vec3& vec, osg::uint index)
- void accumulate()
- double _vertex[3]
- Tesselator* _Tesselator
- osg::uint _index
- typedef std::vector<VertexIndexSet> CoordVec void init()
- void do_it()
- CoordVec _coordVec
- IndexVec _tesselated_indices
- int _currentPrimtiveType
- IndexVec _acummulated_indices
- This class has no child classes.
- Friends:
- VertexIndexSet
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.