AnimatLab  2
Test
VsFluidPlane.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace VortexAnimatSim
10 {
11  namespace Environment
12  {
13  namespace Bodies
14  {
15 
17  {
18  protected:
19  VxPlanarFluidState *m_vxFluidPlane;
20 
21  virtual void SetupPhysics();
22  virtual void DeletePhysics();
23 
24  virtual void CreateGraphicsGeometry();
25  virtual void CreatePhysicsGeometry();
26  virtual void ResizePhysicsGeometry();
27  virtual void UpdateFluidPlaneHeight();
28 
29  virtual void SetGravity();
30 
31  public:
32  VsFluidPlane();
33  virtual ~VsFluidPlane();
34 
35  virtual void Position(CStdFPoint &oPoint, bool bUseScaling = true, bool bFireChangeEvent = false, bool bUpdateMatrix = true);
36  virtual void Velocity(CStdFPoint &oPoint, bool bUseScaling = true);
37 
38  virtual void CreateParts();
39  virtual void Physics_SetDensity(float fltVal);
40  virtual void Physics_FluidDataChanged();
41  virtual void Physics_PositionChanged();
42  };
43 
44  } //Bodies
45  } // Environment
46 } //VortexAnimatSim
A common class for all rigid body data specific to vortex.
Definition: VsRigidBody.h:55
Classes for implementing the cm-labs vortex physics engine for AnimatLab.