OPC_Model.h
Go to the documentation of this file.
1 /*
3  * OPCODE - Optimized Collision Detection
4  * Copyright (C) 2001 Pierre Terdiman
5  * Homepage: http://www.codercorner.com/Opcode.htm
6  */
8 
10 
16 
19 // Include Guard
20 #ifndef __OPC_MODEL_H__
21 #define __OPC_MODEL_H__
22 
23  class OPCODE_API Model : public BaseModel
24  {
25  public:
26  // Constructor/Destructor
27  Model();
28  virtual ~Model();
29 
31 
36  override(BaseModel) bool Build(const OPCODECREATE& create);
38 
39 #ifdef __MESHMERIZER_H__
40 
45  inline_ const CollisionHull* GetHull() const { return mHull; }
47 #endif // __MESHMERIZER_H__
48 
50 
54  override(BaseModel) udword GetUsedBytes() const;
56 
57  private:
58 #ifdef __MESHMERIZER_H__
59  CollisionHull* mHull;
60 #endif // __MESHMERIZER_H__
61  // Internal methods
62  void Release();
63  };
64 
65 #endif //__OPC_MODEL_H__
#define inline_
virtual udword GetUsedBytes() const =0
#define OPCODE_API
Definition: Opcode.h:68
unsigned int udword
sizeof(udword) must be 4
Definition: IceTypes.h:65
Model creation structure.
Definition: OPC_BaseModel.h:24
virtual bool Build(const OPCODECREATE &create)=0
static BodyCustomizerHandle create(BodyHandle bodyHandle, const char *modelName)


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat Apr 13 2019 02:14:24