19 #include <agx/config/AGX_USE_AGXTERRAIN.h> 90 bool isSoilWedgeEnabled(
agx::UInt index)
const;
92 bool isAnySoilWedgeEnabled()
const;
97 bool soilWedgeCreationFailed()
const;
116 void onEnableChange(
bool enable );
118 void removeWedgeShapes();
128 void createSoilWedges(
const Terrain* terrain,
151 void initializeGeometry();
160 bool calculateFailurePlaneIntersection(
const Terrain* terrain,
167 void createSoilWedgeConvex(
const SoilWedge& soilWedge);
169 void createSoilWedgePlanes(
SoilWedge& soilWedge);
171 bool isSoilWedgeSubmerged(
const Terrain* terrain,
const SoilWedge& soilWedge );
173 bool doTerrainToolIntersectionTest(
const Terrain* terrain,
183 bool handleMissedIntersection(
const Terrain* terrain,
191 bool isIntersectionAboveTerrainMesh(
const Terrain* terrain,
196 void updateSoilWedgeInclinations(
const Terrain* terrain,
210 bool m_convexCreationFailed;
AGXCORE_EXPORT Type * getType(const agx::String &name)
A BoundT represents a range defined by a minimum and a maximum value.
A terrain model based a 3D grid model with overlapping height field that can be deformed by interacti...
The agxTerrain namespace contains a 3D model for a dynamic deformable Terrain and related classes...
#define AGX_DECLARE_POINTER_TYPES(type)
Class representing the mathematical concept of a plane, also called a half- space.
agx::Vector< MeshTransformPair > MeshTransformPairVector
Base class providing referencing counted objects.
The geometry representation used by the collision detection engine.
agx::Vector< agxCollide::ConvexRef > m_soilWedgeMeshses
Vector containing 'raw' data.
agx::Plane m_splittingPlane
std::pair< agxCollide::MeshRef, agx::AffineMatrix4x4 > MeshTransformPair
agx::Bound3i m_voxelOverlapBound
#define AGXTERRAIN_EXPORT
agx::Vector< SoilWedge > m_soilWedges
The object defining a frame of reference and providing transformations operations.
agx::Frame * m_parentFrame
agx::UInt m_soilWedgesSize
#define AGX_DECLARE_VECTOR_TYPES(type)