Go to the documentation of this file.
18 #ifndef _GAZEBO_DARTMODEL_HH_
19 #define _GAZEBO_DARTMODEL_HH_
33 class DARTModelPrivate;
52 public:
virtual void Load(sdf::ElementPtr _sdf);
55 public:
virtual void Init();
61 public:
virtual void Fini();
65 const std::string &_name,
const std::string &_type,
97 private: DARTModelPrivate *dataPtr;
DART wrapper forward declarations and typedefs.
Forward declarations for the common classes.
Definition: Animation.hh:27
dart::dynamics::SkeletonPtr DARTSkeleton()
Get pointer to DART Skeleton.
DART model class.
Definition: DARTModel.hh:43
virtual void Init()
Initialize the model.
virtual JointPtr CreateJoint(const std::string &_name, const std::string &_type, physics::LinkPtr _parent, physics::LinkPtr _child)
Create a joint for this model.
boost::shared_ptr< DARTPhysics > DARTPhysicsPtr
Definition: DARTTypes.hh:43
DARTPhysicsPtr GetDARTPhysics(void) const
Get pointer to DART Physics.
dart::simulation::WorldPtr DARTWorld(void) const
Get pointer to DART World.
A model is a collection of links, joints, and plugins.
Definition: Model.hh:60
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:78
virtual bool RemoveJoint(const std::string &_name)
Remove a joint for this model.
boost::shared_ptr< Link > LinkPtr
Definition: PhysicsTypes.hh:110
virtual ~DARTModel()
Destructor.
virtual JointPtr CreateJoint(sdf::ElementPtr _sdf)
Create a joint for this model.
boost::shared_ptr< Joint > JointPtr
Definition: PhysicsTypes.hh:118
virtual void Fini()
Finalize the model.
DARTModel(BasePtr _parent)
Constructor.
boost::shared_ptr< World > WorldPtr
Definition: PhysicsTypes.hh:90
virtual void Load(sdf::ElementPtr _sdf)
Load the entity.
virtual void Update()
Update the object.