Go to the documentation of this file.
20 #ifndef __OPC_BASEMODEL_H__
21 #define __OPC_BASEMODEL_H__
33 #ifdef __MESHMERIZER_H__
35 #endif // __MESHMERIZER_H__
71 virtual udword GetUsedBytes()
const = 0;
114 inline_ udword GetNbNodes()
const {
return mTree->GetNbNodes(); }
172 bool CreateTree(
bool no_leaf,
bool quantized);
175 #endif //__OPC_BASEMODEL_H__
@ OPC_NO_LEAF
Leaf/NoLeaf tree.
MeshInterface * mIMesh
Mesh interface (access to triangles & vertices) (*)
BuildSettings mSettings
Builder's settings.
unsigned int udword
sizeof(udword) must be 4
bool mKeepOriginal
true => keep a copy of the original tree (debug purpose)
int BOOL
Another boolean type.
static BodyCustomizerHandle create(BodyHandle bodyHandle, const char *modelName)
bool mNoLeaf
true => discard leaf nodes (else use a normal tree)
Model creation structure.
@ OPC_SINGLE_NODE
Special case for 1-node models.
const MeshInterface * mIMesh
User-defined mesh interface.
bool mCanRemap
true => allows OPCODE to reorganize client arrays
udword mModelCode
Model code = combination of ModelFlag(s)
@ OPC_QUANTIZED
Compressed/uncompressed tree.
AABBOptimizedTree * mTree
Optimized tree owned by the model.
bool mQuantized
true => quantize the tree (else use a normal tree)
Simple wrapper around build-related settings [Opcode 1.3].
AABBTree * mSource
Original source tree.
openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:03