AnimatLab  2
Test
RbTorus.cpp
Go to the documentation of this file.
1 
7 #include "StdAfx.h"
8 #include "RbMovableItem.h"
9 #include "RbBody.h"
10 #include "RbJoint.h"
11 #include "RbRigidBody.h"
12 #include "RbTorus.h"
13 #include "RbSimulator.h"
14 
15 namespace RoboticsAnimatSim
16 {
17  namespace Environment
18  {
19  namespace Bodies
20  {
21 
29 {
30  SetThisPointers();
31 }
32 
33 RbTorus::~RbTorus()
34 {
35  try
36  {
37  }
38  catch(...)
39  {Std_TraceMsg(0, "Caught Error in desctructor of RbTorus/\r\n", "", -1, false, true);}
40 }
42 {
43  RbRigidBody::CreateItem();
44  Torus::CreateParts();
45 }
46 
48 {
51 
52  Torus::CreateJoints();
53  RbRigidBody::Initialize();
54 }
55 
56  } //Bodies
57  } // Environment
58 } //RoboticsAnimatSim
Declares the vortex Torus class.
virtual void CreateJoints()
Allows the rigid body to create its joints using the chosen physics engine.
Definition: RbTorus.cpp:47
virtual void CreateParts()
Allows the rigid body to create its parts using the chosen physics engine.
Definition: RbTorus.cpp:41
virtual void CreateJoint()
Creates the joint.
Definition: Joint.cpp:602
void Std_TraceMsg(const int iLevel, std::string strMessage, std::string strSourceFile, int iSourceLine, bool bLogToFile, bool bPrintHeader)
Traces a message to the debugger window.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.