AnimatLab  2
Test
VsStructure.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace VortexAnimatSim
10 {
11 
17  namespace Environment
18  {
25  class VORTEX_PORT VsStructure : public AnimatSim::Environment::Structure, public VsMovableItem
26  {
27  protected:
28  Structure *m_lpThisST;
29  VsRigidBody *m_lpVsBody;
30  Vx::VxAssembly *m_lpAssembly;
31 
32  virtual void SetThisPointers();
33  virtual void SetupPhysics();
34  virtual void DeletePhysics() {};
35  virtual void UpdatePositionAndRotationFromMatrix();
36 
37  public:
38  VsStructure();
39  virtual ~VsStructure();
40 
41  virtual void Body(RigidBody *lpBody);
42  virtual void *Assembly() {return (void *)m_lpAssembly;};
43 
44  virtual osg::Group *ParentOSG();
45  virtual void Create();
46  virtual void ResetSimulation();
47  virtual void Physics_Resize() {};
48  };
49 
50  } // Environment
51 } //VortexAnimatSim
A common class for all rigid body data specific to vortex.
Definition: VsRigidBody.h:55
Vortex physical structure implementation.
Definition: VsStructure.h:25
A "static" structure in the simulation.
Definition: Structure.h:84
Classes for implementing the cm-labs vortex physics engine for AnimatLab.