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