Klamp't  0.8.1
Public Member Functions | Public Attributes | List of all members
ODEObjectID Struct Reference

An index that identifies some ODE object in the world. Environments, robots, robot bodies, or rigid objects are supported. More...

#include <ODESimulator.h>

Public Member Functions

 ODEObjectID (int _t=-1, int _i=-1, int _b=-1)
 
void SetEnv (int _index=0)
 
void SetRobot (int _index=0)
 
void SetRobotBody (int _index, int _bodyIndex=-1)
 
void SetRigidObject (int _index=0)
 
bool IsEnv () const
 
bool IsRobot () const
 
bool IsRigidObject () const
 
bool operator== (const ODEObjectID &rhs) const
 
bool operator< (const ODEObjectID &rhs) const
 

Public Attributes

int type
 
int index
 
int bodyIndex
 

Detailed Description

An index that identifies some ODE object in the world. Environments, robots, robot bodies, or rigid objects are supported.


The documentation for this struct was generated from the following file: