~robot3d-team/robot3d/trunk

« back to all changes in this revision

Viewing changes to inc/srBody/wheel.h

  • Committer: Anne van Rossum
  • Date: 2010-08-10 15:58:55 UTC
  • Revision ID: anne@gamix-20100810155855-kve7x2vwouagdij9
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//! Specialized body class.
 
2
 
 
3
/*!
 
4
 * Predefined body class. Ready to use in a RobotActor.
 
5
 * This body represents the wheels of a  robot.
 
6
 *
 
7
 * @author Lutz Winkler
 
8
 *
 
9
 */
 
10
 
 
11
#ifndef WHEEL_H_
 
12
#define WHEEL_H_
 
13
 
 
14
#include <srCore/body/cylinder.h>
 
15
 
 
16
namespace srCore {
 
17
 
 
18
class Wheel : public Cylinder
 
19
{
 
20
public:
 
21
        //! Constructor
 
22
        /*! @param id                                           a 16bit id, used to set the colliding bit parameter.
 
23
         *      @param x, y, z                                  the position of the hinge in the world coordinate system.
 
24
         *  @param heading, pitch, roll         the orientation of the axis of the hinge in the world coordinate system.
 
25
         *  @param Scene                                        the scene in which the body should be placed.
 
26
         *  @param osgGroup                                     using this group, another scene will be created that will be used by sensors
 
27
         *
 
28
         */
 
29
        Wheel(  RobotActorBase* robot,
 
30
                        float x, float y, float z,
 
31
                        float heading, float pitch, float roll);
 
32
 
 
33
protected:
 
34
        virtual ~Wheel();
 
35
};
 
36
}
 
37
#endif /*WHEEL_H_*/