AnimatLab  2
Test
OsgStructure.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace OsgAnimatSim
10 {
11 
17  namespace Environment
18  {
25  class ANIMAT_OSG_PORT OsgStructure : public AnimatSim::Environment::Structure, public OsgMovableItem
26  {
27  protected:
28  Structure *m_lpThisST;
29  OsgMovableItem *m_lpOsgBody;
30 
31  virtual void SetThisPointers();
32  virtual void SetupPhysics();
33  virtual void DeletePhysics(bool bIncludeChildren) {};
34  virtual void UpdatePositionAndRotationFromMatrix();
35 
36  public:
37  OsgStructure();
38  virtual ~OsgStructure();
39 
40  virtual void Body(RigidBody *lpBody);
41 
42  virtual osg::MatrixTransform *ParentOSG();
43  virtual void Create();
44  virtual void ResetSimulation();
45  virtual void Physics_Resize() {};
46  };
47 
48  } // Environment
49 } //OsgAnimatSim
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
A "static" structure in the simulation.
Definition: Structure.h:84
Vortex physical structure implementation.
Definition: OsgStructure.h:25