AnimatLab  2
Test
RPRO.cpp
Go to the documentation of this file.
1 
7 #include "StdAfx.h"
8 #include "IMovableItemCallback.h"
9 #include "ISimGUICallback.h"
10 #include "AnimatBase.h"
11 
12 #include "Node.h"
13 #include "IPhysicsMovableItem.h"
14 #include "IPhysicsBody.h"
15 #include "BoundingBox.h"
16 #include "MovableItem.h"
17 #include "BodyPart.h"
18 #include "Joint.h"
19 #include "ReceptiveField.h"
20 #include "ContactSensor.h"
21 #include "RigidBody.h"
22 #include "RPRO.h"
23 #include "Structure.h"
24 #include "Organism.h"
25 #include "ActivatedItem.h"
26 #include "ActivatedItemMgr.h"
27 #include "DataChartMgr.h"
28 #include "ExternalStimuliMgr.h"
29 #include "KeyFrame.h"
30 #include "SimulationRecorder.h"
31 #include "OdorType.h"
32 #include "Odor.h"
33 #include "Light.h"
34 #include "LightManager.h"
35 #include "Simulator.h"
36 
37 namespace AnimatSim
38 {
39  namespace Environment
40  {
41  namespace Joints
42  {
50 {
51 }
52 
60 {
61 
62 }
63 
73 {
74  return m_fltSize/2;
75 }
76 
86 {
87  return m_fltSize;
88 }
89 
99 {
100  return m_fltSize;
101 }
102 
103 void RPRO::Load(CStdXml &oXml)
104 {
105  Joint::Load(oXml);
106 
107  oXml.IntoElem(); //Into Joint Element
108 
109  oXml.OutOfElem(); //OutOf Joint Element
110 }
111 
112  } //Joints
113  } //Environment
114 } //AnimatSim
Base class file for all Animat simulation objects.
Declares the simulation recorder class.
virtual ~RPRO()
Destructor.
Definition: RPRO.cpp:59
Root namespace for the base simulation library for AnimatLab.
Declares the body part class.
virtual bool IntoElem()
Goes into the next element where the cursor is located.
Definition: StdXml.cpp:42
float CylinderHeight()
Gets the height of the cylinder that extends out from the ball for this joint.
Definition: RPRO.cpp:85
Declares the key frame class.
float BallRadius()
Gets the radius of the ball that is siutated at the center of this joint.
Definition: RPRO.cpp:98
Declares the joint class.
Declares the relative position, relative orientation joint class.
Declares the organism class.
Declares a light object.
Declares the activated item class.
Declares a light manager object.
float CylinderRadius()
Gets the radius of the cylinder that extends out from the ball for this joint.
Definition: RPRO.cpp:72
Declares the bounding box class.
A standard xml manipulation class.
Definition: StdXml.h:19
Declares the node class.
float m_fltSize
Scales the size of the graphics for this joint.
Definition: Joint.h:61
RPRO()
Default constructor.
Definition: RPRO.cpp:49
virtual bool OutOfElem()
Goes out of the element where the cursor is located.
Definition: StdXml.cpp:56
Declares the data chart manager class.
Declares the rigid body class.
Declares the structure class.
Declares the odor type class.
Declares the odor class.
Declares the simulator class.
Declares the activated item manager class.
Declares the contact sensor class.
Declares the external stimuli manager class.
Declares the receptive field class.