~robot3d-team/robot3d/trunk

« back to all changes in this revision

Viewing changes to inc/srBody/symbrion01.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 one of two parts of the current robot of UniKarl.
 
6
 *
 
7
 * @author Lutz Winkler
 
8
 *
 
9
 */
 
10
 
 
11
#ifndef SYMBRIONBODY01_H_
 
12
#define SYMBRIONBODY01_H_
 
13
 
 
14
#include <srCore/body/cuboid.h>
 
15
 
 
16
#include <dtAudio/sound.h>
 
17
#include <dtAudio/audiomanager.h>
 
18
 
 
19
namespace srCore {
 
20
 
 
21
class RobotActorBase;
 
22
 
 
23
class SymbrionBodyI : public Cuboid
 
24
{
 
25
public:
 
26
 
 
27
        //! Constructor
 
28
        /*! @param id                                           a 16bit id, used to set the colliding bit parameter.
 
29
         *      @param x, y, z                                  the position of the hinge in the world coordinate system.
 
30
         *  @param heading, pitch, roll         the orientation of the axis of the hinge in the world coordinate system.
 
31
         *  @param Scene                                        the scene in which the body should be placed.
 
32
         *  @param osgGroup                                     using this group, another scene will be created that will be used by sensors
 
33
         *
 
34
         */
 
35
        SymbrionBodyI(  RobotActorBase* robot,
 
36
                                float x, float y, float z,
 
37
                                float heading, float pitch, float roll);
 
38
 
 
39
protected:
 
40
        virtual ~SymbrionBodyI();
 
41
 
 
42
        //std::queue<dtAudio::Sound*> mQueued;
 
43
//private:
 
44
        //moved to the actuators section:
 
45
//      dtAudio::Sound* bodySound;
 
46
 
 
47
};
 
48
}
 
49
 
 
50
#endif /*SYMBRIONBODY01_H_*/