19 #include <agx/config/AGX_USE_AGXTERRAIN.h>
20 #if defined(SWIG) || AGX_USE_AGXTERRAIN()
27 #include <osg/Drawable>
28 #include <osgViewer/Viewer>
29 #include <osgSim/ColorRange>
30 #include <osgSim/ScalarsToColors>
31 #include <osg/Version>
34 #include <agx/config/AGX_USE_AGXTERRAIN.h>
91 void setRenderVoxelSolidMass(
bool enable);
96 bool getRenderVoxelSolidMass()
const;
102 void setRenderVoxelFluidMass(
bool enable);
107 bool getRenderVoxelFluidMass()
const;
113 void setRenderVoxelBoundingBox(
bool enable);
118 bool getRenderVoxelBoundingBox()
const;
124 void setRenderHeightField(
bool enable);
129 bool getRenderHeightField()
const;
135 void setRenderVoxelCompaction(
bool enable);
140 bool getRenderVoxelCompaction()
const;
146 void setRenderTerrainMaterials(
bool enable);
151 bool getRenderTerrainMaterials()
const;
159 void setRenderDefaultTerrainMaterial(
bool enable);
164 bool getRenderDefaultTerrainMaterial()
const;
180 void setRenderVelocityField(
bool enable);
185 bool getRenderVelocityField()
const;
191 void setRenderSoilParticles(
bool enable);
196 bool getRenderSoilParticles()
const;
202 void setRenderSoilParticlesMesh(
bool enable);
207 bool getRenderSoilParticlesMesh()
const;
214 void setSoilParticleMeshData(
const agx::String& modelFilename,
const agx::String& textureFilename =
"" );
219 const agx::String& getSoilParticleMeshModelFilename()
const;
224 const agx::String& getSoilParticleMeshTextureFilename()
const;
239 bool getRenderHeights()
const;
251 bool getRenderCompaction()
const;
268 void setVelocityFieldLineColor(
const agx::Vec4& lineColor);
274 void setMaxVoxelValueColor(
const agx::Vec4f& maxVoxelColor);
285 osg::ref_ptr<agxOSG::GeometryNode>
node;
304 virtual void addNotification()
override;
305 virtual void removeNotification()
override;