27 #define WIRE_IMPACT_EPSILON ((double)1E-6)
32 class DebugRendererCache;
45 class WireGeometryController;
50 namespace NodeInvalidFlag
53 enum Enum { VALID = 0, VALID_CIRCLE_CONTACT, INVALID_PLANE_ANGLE_OR_SAME_EDGE_TEST, INVALID_PASSED_EDGE_TEST, INVALID_PENETRATION_DEPTH_TOO_LARGE, INVALID_SAME_EDGE_TEST, INVALID };
58 class WireImpactRenderer : public
agxSDK::StepEventListener
66 m_clnPND.clear( ContactWireNodeRefPointNormalDepthTable::MAINTAIN_BUFFER );
73 void add( ContactNode* cln );
75 void changeRenderFlag( ContactNode* cln, NodeInvalidFlag::Enum renderFlag );
80 virtual ~WireImpactRenderer() {}
83 struct PointNormalDepth
85 PointNormalDepth() : depth( 0 ), renderFlag( NodeInvalidFlag::VALID ) {}
87 : depth( d ), normal( n ), point( p ), renderFlag( flag ) {}
91 NodeInvalidFlag::Enum renderFlag;
95 ContactWireNodeRefPointNormalDepthTable m_clnPND;
112 WireImpactController();
117 virtual void addNotification();
122 virtual void removeNotification();
129 void setWire( WireDistanceCompositeConstraint* wire, WireGeometryController* geometryController );
142 virtual ~WireImpactController();
157 friend class WireOldContactController;
161 WireGeometryController* m_geometryController;
168 return m_wire !=
nullptr ? m_wire->getSimulationProxy() :
nullptr;
#define AGXPHYSICS_EXPORT
The geometry representation used by the collision detection engine.
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc.
Interface class used by internal objects running in parallel.
Inheritance with partial specialization due to bug with ref_ptr containers.
Base class providing referencing counted objects.
Smart pointer for observed objects, that automatically set pointers to them to null when they deleted...
Smart pointer for handling referenced counted objects.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
This namespace consists of a set of classes for handling geometric intersection tests including boole...
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
Implements a Wire model with adaptive resolution.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.