OPC_Model.h
Go to the documentation of this file.
00001 
00002 /*
00003  *      OPCODE - Optimized Collision Detection
00004  *      Copyright (C) 2001 Pierre Terdiman
00005  *      Homepage: http://www.codercorner.com/Opcode.htm
00006  */
00008 
00010 
00016 
00017 
00019 // Include Guard
00020 #ifndef __OPC_MODEL_H__
00021 #define __OPC_MODEL_H__
00022 
00023         class OPCODE_API Model : public BaseModel
00024         {
00025                 public:
00026                 // Constructor/Destructor
00027                                                                                         Model();
00028                 virtual                                                                 ~Model();
00029 
00031 
00036 
00037                 override(BaseModel)     bool                            Build(const OPCODECREATE& create);
00038 
00039 #ifdef __MESHMERIZER_H__
00040 
00041 
00045 
00046                 inline_ const           CollisionHull*          GetHull()               const   { return mHull;         }
00047 #endif // __MESHMERIZER_H__
00048 
00050 
00054 
00055                 override(BaseModel)     udword                          GetUsedBytes()  const;
00056 
00057                 private:
00058 #ifdef __MESHMERIZER_H__
00059                                                         CollisionHull*          mHull;                  
00060 #endif // __MESHMERIZER_H__
00061                 // Internal methods
00062                                                         void                            Release();
00063         };
00064 
00065 #endif //__OPC_MODEL_H__


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sun Apr 2 2017 03:43:55