Leaf descriptor. More...
#include <OPC_HybridModel.h>
Public Member Functions | |
inline_ udword | GetNbTriangles () const |
inline_ udword | GetTriangleIndex () const |
inline_ void | SetData (udword nb, udword index) |
Public Attributes | |
udword | Data |
Packed data. |
Leaf descriptor.
Definition at line 24 of file OPC_HybridModel.h.
inline_ udword LeafTriangles::GetNbTriangles | ( | ) | const [inline] |
Gets number of triangles in the leaf.
Definition at line 34 of file OPC_HybridModel.h.
inline_ udword LeafTriangles::GetTriangleIndex | ( | ) | const [inline] |
Gets triangle index for this leaf. Indexed model's array of indices retrieved with HybridModel::GetIndices()
Definition at line 42 of file OPC_HybridModel.h.
inline_ void LeafTriangles::SetData | ( | udword | nb, |
udword | index | ||
) | [inline] |
Definition at line 43 of file OPC_HybridModel.h.
Packed data.
Definition at line 26 of file OPC_HybridModel.h.