AnimatLab  2
Test
RbEllipsoid.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 "RbEllipsoid.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 RbEllipsoid::~RbEllipsoid()
34 {
35  try
36  {
37  }
38  catch(...)
39  {Std_TraceMsg(0, "Caught Error in desctructor of RbEllipsoid/\r\n", "", -1, false, true);}
40 }
41 
43 {
44  RbRigidBody::CreateItem();
45  Ellipsoid::CreateParts();
46 }
47 
49 {
52 
53  Ellipsoid::CreateJoints();
54  RbRigidBody::Initialize();
55 }
56 
57  } //Bodies
58  } // Environment
59 } //RoboticsAnimatSim
Declares the vortex ellipsoid class.
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.
virtual void CreateParts()
Allows the rigid body to create its parts using the chosen physics engine.
Definition: RbEllipsoid.cpp:42
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
virtual void CreateJoints()
Allows the rigid body to create its joints using the chosen physics engine.
Definition: RbEllipsoid.cpp:48