AnimatLab  2
Test
RbBody.cpp
1 #include "StdAfx.h"
2 #include <stdarg.h>
3 #include "RbMovableItem.h"
4 #include "RbBody.h"
5 #include "RbRigidBody.h"
6 #include "RbJoint.h"
7 #include "RbStructure.h"
8 
9 namespace RoboticsAnimatSim
10 {
11  namespace Environment
12  {
20 {
21 }
22 
30 {
31 }
32 
33 void RbBody::SetThisPointers()
34 {
35  RbMovableItem::SetThisPointers();
36 
37  m_lpThisBP = dynamic_cast<BodyPart *>(this);
38  if(!m_lpThisBP)
39  THROW_TEXT_ERROR(Rb_Err_lThisPointerNotDefined, Rb_Err_strThisPointerNotDefined, "m_lpThisBP, " + m_lpThisAB->Name());
40 }
41 
42  } // Environment
43 //} //RbAnimatSim
44 
45 }
virtual ~RbBody()
Destructor.
Definition: RbBody.cpp:29
Declares the vortex structure class.
RbBody()
Default constructor.
Definition: RbBody.cpp:19
Classes for implementing the cm-labs vortex physics engine for AnimatLab.