~robot3d-team/robot3d/trunk

« back to all changes in this revision

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