8 #include "RbMovableItem.h"
10 #include "RbRigidBody.h"
13 #include "RbSimulator.h"
44 Structure::Body(lpBody);
48 THROW_TEXT_ERROR(Rb_Err_lUnableToConvertToVsRigidBody, Rb_Err_strUnableToConvertToVsRigidBody,
"ID: " + lpBody->Name());
51 void RbStructure::SetThisPointers()
53 RbMovableItem::SetThisPointers();
55 m_lpThisST =
dynamic_cast<Structure *
>(
this);
57 THROW_TEXT_ERROR(Rb_Err_lThisPointerNotDefined, Rb_Err_strThisPointerNotDefined,
"m_lpThisST, " + m_lpThisAB->Name());
60 void RbStructure::Create()
69 RbMovableItem::Physics_ResetSimulation();
71 Structure::ResetSimulation();
virtual RigidBody * Body()
Gets the root body.
Declares the vortex structure class.
virtual void ResetSimulation()
Resets the simulation back to time 0.
Structure()
Default constructor.
virtual ~RbStructure()
Destructor.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
RbStructure()
Default constructor.