67 bool createTeethInnerShape(
Shovel* shovel );
71 void calculateSecondarySeparationProperties(
Shovel* shovel );
73 void calculateProjectedVectors(
107 agx::Vec3 m_projectedSecondaryForwardVectorWorld;
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXTERRAIN_EXPORT
A convex class for geometric intersection tests.
void debugDrawInnerShapes()
void setSplittingPlane(const agx::Plane &plane)
const agx::Vector< agx::Plane > & getTeethInnerPlanes() const
virtual ~PrimaryActiveZone()
void onPreCollide(Terrain *terrain, const agx::Line &cuttingEdge, const agx::Line &topEdge, const agx::Vec3 &forwardVector)
PrimaryActiveZone(agx::Frame *parentFrame, Shovel *shovel, const agxCollide::GeometryRefVector &voxelCollisionGeometries)
void onPost(Terrain *terrain, const agx::Line &cuttingEdge, const agx::Line &topEdge, const agx::Vec3 &forwardVector)
agx::Vec3 getSecondaryForwardDirectionWorld() const
void updateInnerShape(const agxCollide::GeometryRefVector &voxelCollisionGeometries)
ActiveZone::Type getType() const
const agxCollide::Convex * getTeethInnerShape() const
const agxCollide::Convex * getInnerShape() const
agx::Real getSecondarySeparationAngle() const
const agx::Vector< agx::Plane > & getInnerPlanes() const
void onPre(Terrain *terrain, const agx::Line &cuttingEdge, const agx::Line &topEdge, const agx::Vec3 &forwardVector)
Shovel object used to interact with a terrain via an active zone that converts solid terrain to dynam...
A terrain model based a 3D grid model with overlapping height field that can be deformed by interacti...
The object defining a frame of reference and providing transformations operations.
Class representing the mathematical concept of a plane, also called a half- space.
The agxTerrain namespace contains a 3D model for a dynamic deformable Terrain and related classes.