AnimatLab  2
Test
RbLine.cpp
1 // RbLine.cpp: implementation of the RbLine class.
2 //
4 
5 #include "StdAfx.h"
6 #include "RbMovableItem.h"
7 #include "RbBody.h"
8 #include "RbJoint.h"
9 #include "RbMotorizedJoint.h"
10 #include "RbRigidBody.h"
11 #include "RbLine.h"
12 #include "RbBox.h"
13 #include "RbSimulator.h"
14 
15 
16 namespace RoboticsAnimatSim
17 {
18  namespace Environment
19  {
20 
22 // Construction/Destruction
24 
25 RbLine::RbLine()
26 {
27 }
28 
29 RbLine::~RbLine()
30 {
31 
32 try
33 {
34 }
35 catch(...)
36 {Std_TraceMsg(0, "Caught Error in desctructor of RbLine\r\n", "", -1, false, true);}
37 }
38 
39 void RbLine::SetThisPointers()
40 {
41  RbRigidBody::SetThisPointers();
42 }
43 
44 void RbLine::CreateParts()
45 {
46  RbRigidBody::CreateItem();
47 }
48 
49 void RbLine::StepSimulation(float fltTension)
50 {
51 }
52 
53 void RbLine::ResetSimulation()
54 {
55  //We do nothing in the reset simulation because we need the attachment points to be reset before we can do anything.
56 }
57 
58 void RbLine::AfterResetSimulation()
59 {
60 }
61 
62 
63  } // Visualization
64 } //RoboticsAnimatSim
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.