Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
hrplib
hrpCollision
Opcode
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__
BaseModel::BaseModel
BaseModel()
BaseModel
Definition:
OPC_BaseModel.h:50
inline_
#define inline_
Definition:
IcePreprocessor.h:103
BaseModel::GetUsedBytes
virtual udword GetUsedBytes() const =0
OPCODE_API
#define OPCODE_API
Definition:
Opcode.h:68
udword
unsigned int udword
sizeof(udword) must be 4
Definition:
IceTypes.h:65
Model
Definition:
OPC_Model.h:23
OPCODECREATE
Model creation structure.
Definition:
OPC_BaseModel.h:24
BaseModel::Build
virtual bool Build(const OPCODECREATE &create)=0
create
static BodyCustomizerHandle create(BodyHandle bodyHandle, const char *modelName)
Definition:
bush_customizer.cpp:126
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:39