iCub-main
Public Member Functions | Public Attributes | List of all members
worldSim::MyObject Class Reference

#include <world.h>

+ Inheritance diagram for worldSim::MyObject:

Public Member Functions

virtual dBodyID getBody () const
 
virtual dGeomID getGeometry () const
 
virtual bool create (const WorldOp &op, WorldResult &result, int idx)
 
- Public Member Functions inherited from WorldObject
virtual bool takeColor ()
 

Public Attributes

dBodyID boxbody
 
dGeomID geom [GPB]
 
dReal size [3]
 

Detailed Description

Definition at line 225 of file world.h.

Member Function Documentation

◆ create()

bool worldSim::MyObject::create ( const WorldOp op,
WorldResult result,
int  idx 
)
virtual

Implements WorldObject.

Definition at line 346 of file world.cpp.

◆ getBody()

virtual dBodyID worldSim::MyObject::getBody ( ) const
inlinevirtual

Implements WorldObject.

Definition at line 231 of file world.h.

◆ getGeometry()

virtual dGeomID worldSim::MyObject::getGeometry ( ) const
inlinevirtual

Implements WorldObject.

Definition at line 232 of file world.h.

Member Data Documentation

◆ boxbody

dBodyID worldSim::MyObject::boxbody

Definition at line 227 of file world.h.

◆ geom

dGeomID worldSim::MyObject::geom[GPB]

Definition at line 228 of file world.h.

◆ size

dReal worldSim::MyObject::size[3]

Definition at line 229 of file world.h.


The documentation for this class was generated from the following files: