Home
FAQ
Player
Utilities
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

Model Class Reference

#include <Model.hh>

Inheritance diagram for Model:

Atrv AvatarHeli B21R Blimp CanonVCC4 CarChassis ClodBuster Factory GarminGPS GroundPlane LightSource MonoCam ObserverCam PeopleBot Pioneer2AT Pioneer2DX Pioneer2Gripper Pioneer2Sonars Road SegwayRMP Shrimp SickLMS200 SimpleSolid SkyDome SonyVID30 StereoHead Terrain TruthWidget WheelChair List of all members.

Public Member Functions

 Model (World *world)
virtual ~Model ()
virtual int Load (WorldFile *file, WorldFileNode *node)=0
virtual int Init (WorldFile *file, WorldFileNode *node)=0
virtual int Fini ()=0
virtual void Update (double step)=0
GzPose GetPose ()
void SetPose (GzPose pose)
void SetParent (Model *parent, Body *parentBody)
void Attach ()
void Detach ()
BodyGetBody (const char *bodyName=NULL)
int GetNumBodies ()
Body ** GetBodies ()
void SetId (const char *id)
const char * GetId () const
void SetName (const char *name)
const char * GetName ()
void SetPickId (GLuint id)
GLuint GetPickId () const

Public Attributes

Worldworld
WorldFileNodenode
Modelparent
BodyparentBody
GzPose initPose
 Initial pose (for reseting).
HingeJointjoint
GzPose relPose
bool fixed
dSpaceID modelSpaceId

Protected Member Functions

void AddBody (Body *body, bool canonical=false)

Constructor & Destructor Documentation

Model::Model World world  ) 
 

Model::~Model  )  [virtual]
 


Member Function Documentation

virtual int Model::Load WorldFile file,
WorldFileNode node
[pure virtual]
 

Implemented in Atrv, AvatarHeli, B21R, Blimp, CanonVCC4, CarChassis, ClodBuster, Factory, GarminGPS, GroundPlane, LightSource, MonoCam, ObserverCam, PeopleBot, Pioneer2AT, Pioneer2DX, Pioneer2Gripper, Pioneer2Sonars, Road, SegwayRMP, Shrimp, SickLMS200, SimpleSolid, SkyDome, SonyVID30, StereoHead, Terrain, TruthWidget, and WheelChair.

virtual int Model::Init WorldFile file,
WorldFileNode node
[pure virtual]
 

Implemented in Atrv, AvatarHeli, B21R, Blimp, CanonVCC4, CarChassis, ClodBuster, Factory, GarminGPS, GroundPlane, LightSource, MonoCam, ObserverCam, PeopleBot, Pioneer2AT, Pioneer2DX, Pioneer2Gripper, Pioneer2Sonars, Road, SegwayRMP, Shrimp, SickLMS200, SimpleSolid, SkyDome, SonyVID30, StereoHead, Terrain, TruthWidget, and WheelChair.

virtual int Model::Fini  )  [pure virtual]
 

Implemented in Atrv, AvatarHeli, B21R, Blimp, CanonVCC4, CarChassis, ClodBuster, Factory, GarminGPS, GroundPlane, LightSource, MonoCam, ObserverCam, PeopleBot, Pioneer2AT, Pioneer2DX, Pioneer2Gripper, Pioneer2Sonars, Road, SegwayRMP, Shrimp, SickLMS200, SimpleSolid, SkyDome, SonyVID30, StereoHead, Terrain, TruthWidget, and WheelChair.

virtual void Model::Update double  step  )  [pure virtual]
 

Implemented in Atrv, AvatarHeli, B21R, Blimp, CanonVCC4, CarChassis, ClodBuster, Factory, GarminGPS, GroundPlane, LightSource, MonoCam, ObserverCam, PeopleBot, Pioneer2AT, Pioneer2DX, Pioneer2Gripper, Pioneer2Sonars, Road, SegwayRMP, Shrimp, SickLMS200, SimpleSolid, SkyDome, SonyVID30, StereoHead, Terrain, TruthWidget, and WheelChair.

GzPose Model::GetPose  ) 
 

void Model::SetPose GzPose  pose  ) 
 

void Model::SetParent Model parent,
Body parentBody
 

void Model::Attach  ) 
 

void Model::Detach  ) 
 

void Model::AddBody Body body,
bool  canonical = false
[protected]
 

Body * Model::GetBody const char *  bodyName = NULL  ) 
 

int Model::GetNumBodies  )  [inline]
 

Body** Model::GetBodies  )  [inline]
 

void Model::SetId const char *  id  ) 
 

const char* Model::GetId  )  const [inline]
 

void Model::SetName const char *  name  ) 
 

const char * Model::GetName  ) 
 

void Model::SetPickId GLuint  id  ) 
 

GLuint Model::GetPickId  )  const [inline]
 


Member Data Documentation

World* Model::world
 

WorldFileNode* Model::node
 

Model* Model::parent
 

Body* Model::parentBody
 

GzPose Model::initPose
 

Initial pose (for reseting).

HingeJoint* Model::joint
 

GzPose Model::relPose
 

bool Model::fixed
 

dSpaceID Model::modelSpaceId
 


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


Last updated $Date: 2004/12/21 01:49:15 $
Generated on Sun May 22 18:39:08 2005 for Gazebo by doxygen 1.4.2