~robot3d-team/robot3d/trunk

« back to all changes in this revision

Viewing changes to inc/srBody/backBody.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 back part of the former robot of UniKarl, constructed by Ramon.
 
6
 *
 
7
 * @author Lutz Winkler
 
8
 *
 
9
 */
 
10
 
 
11
 
 
12
 
 
13
#ifndef BACKBODY_H_
 
14
#define BACKBODY_H_
 
15
 
 
16
#include <srCore/body/cuboid.h>
 
17
 
 
18
namespace srCore {
 
19
 
 
20
//! obsolete class as this robot is not available anymore (robot, designed by Ramon)
 
21
class BackBody : public Cuboid
 
22
{
 
23
public:
 
24
 
 
25
        //! Constructor
 
26
        /*! @param id                                           a 16bit id, used to set the colliding bit parameter.
 
27
         *      @param x, y, z                                  the position of the hinge in the world coordinate system.
 
28
         *  @param heading, pitch, roll         the orientation of the axis of the hinge in the world coordinate system.
 
29
         *  @param Scene                                        the scene in which the body should be placed.
 
30
         *  @param osgGroup                                     using this group, another scene will be created that will be used by sensors
 
31
         *
 
32
         */
 
33
        BackBody(       RobotActorBase* robot,
 
34
                                float x, float y, float z,
 
35
                                float heading, float pitch, float roll);
 
36
 
 
37
protected:
 
38
        virtual ~BackBody();
 
39
 
 
40
};
 
41
}
 
42
 
 
43
#endif /*BACKBODY_H_*/