~robot3d-team/robot3d/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//! Specialized body class.

/*!
 * Predefined body class. Ready to use in a RobotActor.
 * This body represents one of two parts of the current robot of UniKarl.
 *
 * @author Lutz Winkler
 *
 */

#ifndef SYMBRIONBODY01_H_
#define SYMBRIONBODY01_H_

#include <srCore/body/cuboid.h>

#include <dtAudio/sound.h>
#include <dtAudio/audiomanager.h>

namespace srCore {

class RobotActorBase;

class SymbrionBodyI : public Cuboid
{
public:

	//! Constructor
	/*! @param id 						a 16bit id, used to set the colliding bit parameter.
	 * 	@param x, y, z 					the position of the hinge in the world coordinate system.
	 *  @param heading, pitch, roll 	the orientation of the axis of the hinge in the world coordinate system.
	 *  @param Scene 					the scene in which the body should be placed.
	 *  @param osgGroup					using this group, another scene will be created that will be used by sensors
	 *
	 */
	SymbrionBodyI(	RobotActorBase* robot,
				float x, float y, float z,
				float heading, float pitch, float roll);

protected:
	virtual ~SymbrionBodyI();

	//std::queue<dtAudio::Sound*> mQueued;
//private:
	//moved to the actuators section:
//	dtAudio::Sound* bodySound;

};
}

#endif /*SYMBRIONBODY01_H_*/