AnimatLab  2
Test
RbCone.cpp
1 // RbCone.cpp: implementation of the RbCone class.
2 //
4 
5 #include "StdAfx.h"
6 #include "RbMovableItem.h"
7 #include "RbBody.h"
8 #include "RbJoint.h"
9 #include "RbRigidBody.h"
10 #include "RbCone.h"
11 #include "RbSimulator.h"
12 
13 namespace RoboticsAnimatSim
14 {
15  namespace Environment
16  {
17  namespace Bodies
18  {
19 
21 // Construction/Destruction
23 
24 RbCone::RbCone()
25 {
26  SetThisPointers();
27 }
28 
29 RbCone::~RbCone()
30 {
31  try
32  {
33  }
34  catch(...)
35  {Std_TraceMsg(0, "Caught Error in desctructor of RbCone\r\n", "", -1, false, true);}
36 }
37 
39 {
40  RbRigidBody::CreateItem();
41  Cone::CreateParts();
42 }
43 
45 {
48 
49  Cone::CreateJoints();
50  RbRigidBody::Initialize();
51 }
52 
53 
54  } //Bodies
55  } // Environment
56 } //RoboticsAnimatSim
virtual void CreateJoint()
Creates the joint.
Definition: Joint.cpp:602
virtual void CreateParts()
Allows the rigid body to create its parts using the chosen physics engine.
Definition: RbCone.cpp:38
virtual void CreateJoints()
Allows the rigid body to create its joints using the chosen physics engine.
Definition: RbCone.cpp:44
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.