AnimatLab  2
Test
VsBody.h
1 #if _MSC_VER > 1000
2 #pragma once
3 #endif
4 
5 namespace VortexAnimatSim
6 {
7  namespace Environment
8  {
19  class VORTEX_PORT VsBody : public VsMovableItem, public AnimatSim::Environment::IPhysicsBody
20  {
21  protected:
22  BodyPart *m_lpThisBP;
23  Vx::VxEntity::EntityControlTypeEnum m_eControlType;
24 
25  virtual void SetThisPointers();
26 
27  public:
28  VsBody();
29  virtual ~VsBody();
30 
31  virtual void Physics_SetFreeze(bool bVal) {};
32  virtual void Physics_SetDensity(float fltVal) {};
33  virtual void Physics_SetMass(float fltVal) {};
34  virtual void Physics_SetMaterialID(std::string strID) {};
35  virtual void Physics_SetVelocityDamping(float fltLinear, float fltAngular) {};
36  virtual void Physics_SetCenterOfMass(float fltTx, float fltTy, float fltTz) {};
37  virtual void Physics_ResizeSelectedReceptiveFieldVertex() {};
38  virtual void Physics_FluidDataChanged() {};
39  virtual bool Physics_IsDefined() {return false;};
40  virtual bool Physics_IsGeometryDefined() {return false;};
41  virtual void Physics_WakeDynamics() {};
42  virtual void Physics_ContactSensorAdded(ContactSensor *lpSensor) {};
43  virtual void Physics_ContactSensorRemoved() {};
44  virtual void Physics_ChildBodyAdded(RigidBody *lpChild) {};
45  virtual void Physics_ChildBodyRemoved(bool bHasStaticJoint) {};
46  virtual void Physics_StepHydrodynamicSimulation() {};
47 
48  virtual void SetBody() = 0;
49 
50  virtual void Physics_UpdateNode() {};
51  virtual bool Physics_HasCollisionGeometry() {return false;};
52  virtual void Physics_DeleteStickyLock() {};
53  };
54 
55  } // Environment
56 } //VortexAnimatSim
57 
58 
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
Vortex base body class.
Definition: VsBody.h:19