AnimatLab  2
Test
VsTerrain.h
1 
2 #pragma once
3 
4 namespace VortexAnimatSim
5 {
6  namespace Environment
7  {
8  namespace Bodies
9  {
10 
11  class VORTEX_PORT VsTerrain : public AnimatSim::Environment::Bodies::Terrain, public VsMeshBase
12  {
13  protected:
14  osg::HeightField *m_osgHeightField;
15  Vx::VxHeightField *m_vxHeightField;
16 
17  virtual void CreateGraphicsGeometry();
18  virtual void CreatePhysicsGeometry();
19  virtual void LoadMeshNode();
20 
21  public:
22  VsTerrain();
23  virtual ~VsTerrain();
24 
25  virtual void SetTexture(std::string strTexture);
26  virtual void Physics_FluidDataChanged();
27 
28  virtual void CreateParts();
29  virtual void CreateJoints();
30  };
31 
32  } //Bodies
33  } // Environment
34 } //VortexAnimatSim
The Terrain base class.
Definition: Terrain.h:25
Classes for implementing the cm-labs vortex physics engine for AnimatLab.