5 namespace Visualization
11 VsMovableItem *m_lpItem;
17 VsBody *GetBodyPart() {
return dynamic_cast<VsBody *
>(m_lpItem);};
19 VsMovableItem *GetVsMovable() {
return m_lpItem;};
20 MovableItem *GetMovable() {
return dynamic_cast<MovableItem *
>(m_lpItem);};
22 VsRigidBody *GetVsBody() {
return dynamic_cast<VsRigidBody *
>(m_lpItem);};
23 RigidBody *GetBody() {
return dynamic_cast<RigidBody *
>(m_lpItem);};
25 VsJoint *GetVsJoint() {
return dynamic_cast<VsJoint *
>(m_lpItem);};
26 Joint *GetJoint() {
return dynamic_cast<Joint *
>(m_lpItem);};
28 VsStructure *GetVsStucture() {
return dynamic_cast<VsStructure *
>(m_lpItem);};
29 Structure *GetStructure() {
return dynamic_cast<Structure *
>(m_lpItem);};
32 Light *GetLight() {
return dynamic_cast<Light *
>(m_lpItem);};
Classes for implementing the cm-labs vortex physics engine for AnimatLab.