#include <Opcode.h>
Public Member Functions | |
Model () | |
override (BaseModel) bool Build(const OPCODECREATE &create) | |
override (BaseModel) udword GetUsedBytes() const | |
virtual | ~Model () |
Public Member Functions inherited from Opcode::BaseModel | |
BaseModel () | |
virtual bool | Build (const OPCODECREATE &create)=0 |
inline_ const MeshInterface * | GetMeshInterface () const |
inline_ udword | GetModelCode () const |
inline_ udword | GetNbNodes () const |
inline_ const AABBTree * | GetSourceTree () const |
inline_ const AABBOptimizedTree * | GetTree () const |
inline_ AABBOptimizedTree * | GetTree () |
virtual udword | GetUsedBytes () const =0 |
inline_ BOOL | HasLeafNodes () const |
inline_ BOOL | HasSingleNode () const |
inline_ BOOL | IsQuantized () const |
virtual bool | Refit () |
inline_ void | SetMeshInterface (const MeshInterface *imesh) |
virtual | ~BaseModel () |
Private Member Functions | |
void | Release () |
Additional Inherited Members | |
Protected Member Functions inherited from Opcode::BaseModel | |
bool | CreateTree (bool no_leaf, bool quantized) |
void | ReleaseBase () |
Protected Attributes inherited from Opcode::BaseModel | |
const MeshInterface * | mIMesh |
User-defined mesh interface. More... | |
udword | mModelCode |
Model code = combination of ModelFlag(s) More... | |
AABBTree * | mSource |
Original source tree. More... | |
AABBOptimizedTree * | mTree |
Optimized tree owned by the model. More... | |
Model::Model | ( | ) |
Constructor.
Definition at line 102 of file OPC_Model.cpp.
|
virtual |
Destructor.
Definition at line 114 of file OPC_Model.cpp.
Opcode::Model::override | ( | BaseModel | ) | const & |
Builds a collision model.
create | [in] model creation structure |
Opcode::Model::override | ( | BaseModel | ) | const |
Gets the number of bytes used by the tree.
|
private |
Releases the model.
Definition at line 124 of file OPC_Model.cpp.