#include <passivesphere.h>
Inheritance diagram for PassiveSphere:
Definition at line 77 of file passivesphere.h.
Public Member Functions | |
PassiveSphere (const OdeHandle &odeHandle, const OsgHandle &osgHandle, double radius=0.3, double mass=1.0) | |
Constructor. | |
~PassiveSphere () | |
virtual void | update () |
update position of sphere | |
virtual void | setTexture (const std::string &filename) |
virtual void | setPose (const osg::Matrix &pose) |
sets position of the obstacle and creates/recreates obstacle if necessary | |
virtual osg::Matrix | getPose () |
gives actual pose of the obstacle | |
Protected Member Functions | |
virtual void | create () |
virtual void | destroy () |
|
Constructor.
Definition at line 95 of file passivesphere.h. |
|
Definition at line 101 of file passivesphere.h. |
|
Definition at line 129 of file passivesphere.h. |
|
Definition at line 139 of file passivesphere.h. |
|
gives actual pose of the obstacle
Implements AbstractObstacle. Definition at line 124 of file passivesphere.h. |
|
sets position of the obstacle and creates/recreates obstacle if necessary
Implements AbstractObstacle. Definition at line 116 of file passivesphere.h. |
|
Definition at line 112 of file passivesphere.h. |
|
update position of sphere
Implements AbstractObstacle. Definition at line 108 of file passivesphere.h. |