~robot3d-team/robot3d/trunk

« back to all changes in this revision

Viewing changes to inc/srBody/socketBody.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
#ifndef SOCKETBODY_H_
 
2
#define SOCKETBODY_H_
 
3
 
 
4
#include "../../basic/bodies/cuboid.h"
 
5
 
 
6
namespace srCore {
 
7
 
 
8
/**
 
9
 * The SocketBody is derived from Cuboid. Easiest and might eventually use the collision
 
10
 * box of a cube.
 
11
 */
 
12
class SocketBody : public Cuboid {
 
13
public:
 
14
 
 
15
        /*! 
 
16
         * A SocketBody is attached to a RobotActorBase as explained elsewhere. It makes it
 
17
         * easier to add additional functionality.
 
18
         * @param robot                                         robot identifier
 
19
         * @param x, y, z                                       world coordinate position of the socket 
 
20
         * @param heading, pitch, roll          world coordinate orientation of the socket 
 
21
         */
 
22
        SocketBody(     RobotActorBase* robot,
 
23
                                float x, float y, float z,
 
24
                                float heading, float pitch, float roll);
 
25
 
 
26
        virtual ~SocketBody();
 
27
 
 
28
};
 
29
 
 
30
}
 
31
 
 
32
#endif /*SOCKETBODY_H_*/