AnimatLab  2
Test
VsOrganism.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 
10 namespace VortexAnimatSim
11 {
12  namespace Environment
13  {
20  class VORTEX_PORT VsOrganism : public AnimatSim::Environment::Organism, public VsMovableItem
21  {
22  protected:
23  Structure *m_lpThisST;
24  Organism *m_lpThisOG;
25  VsRigidBody *m_lpVsBody;
26  Vx::VxAssembly *m_lpAssembly;
27 
28  virtual void SetThisPointers();
29  virtual void SetupPhysics();
30  virtual void DeletePhysics() {};
31  virtual void UpdatePositionAndRotationFromMatrix();
32 
33  public:
34  VsOrganism();
35  virtual ~VsOrganism();
36 
37  virtual void Body(RigidBody *lpBody);
38  virtual void *Assembly() {return (void *)m_lpAssembly;};
39 
40  virtual osg::Group *ParentOSG();
41  virtual void Create();
42  virtual void ResetSimulation();
43  virtual void Physics_Resize() {};
44 
45  };
46 
47  } // Environment
48 } //VortexAnimatSim
A common class for all rigid body data specific to vortex.
Definition: VsRigidBody.h:55
Vortex Organism implementation.
Definition: VsOrganism.h:20
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
A dynamic organism that is controlled by a neural network.
Definition: Organism.h:31