Public Member Functions | Public Attributes | List of all members
LeafTriangles Struct Reference

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. More...
 

Detailed Description

Leaf descriptor.

Definition at line 24 of file OPC_HybridModel.h.

Member Function Documentation

inline_ udword LeafTriangles::GetNbTriangles ( ) const
inline

Gets number of triangles in the leaf.

Returns
number of triangles N, with 0 < N <= 16

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()

Returns
triangle index

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.

Member Data Documentation

udword LeafTriangles::Data

Packed data.

Definition at line 26 of file OPC_HybridModel.h.


The documentation for this struct was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:43