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

Leaf descriptor. More...

#include <Opcode.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 25 of file Opcode.h.

Member Function Documentation

inline_ udword Opcode::LeafTriangles::GetNbTriangles ( ) const
inline

Gets number of triangles in the leaf.

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

Definition at line 35 of file Opcode.h.

inline_ udword Opcode::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 43 of file Opcode.h.

inline_ void Opcode::LeafTriangles::SetData ( udword  nb,
udword  index 
)
inline

Definition at line 44 of file Opcode.h.

Member Data Documentation

udword Opcode::LeafTriangles::Data

Packed data.

Definition at line 27 of file Opcode.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:45