51 virtual bool simplify(
const agx::Frame* parentFrame );
57 virtual bool unsimplify();
100 void add( agxWire::WireSimplifyInterfaceRef simplifyCallback );
106 void remove( agxWire::WireSimplifyInterfaceRef simplifyCallback );
111 void removeAllCallbacks();
116 const SimplifyCallbackContainer& getCallbacks()
const;
127 WireSimplifyInterface();
132 virtual ~WireSimplifyInterface();
157 SimplifyCallbackContainer m_callbacks;
190 class AGXPHYSICS_EXPORT WireSimplifyController :
public agxWire::WireSimplifyInterface
209 SIMPLIFYING = ( 1 << 0 ),
210 SIMPLIFIED = ( 1 << 1 ),
211 UNSIMPLIFYING = ( 1 << 2 ),
213 COLLIDING = ( 1 << 4 ),
214 HAS_MERGED_BODY = ( 1 << 5 ),
215 MERGED_ACTIVE = ( 1 << 6 )
233 void initializeGeometryController();
259 virtual WireSimplifyController* clone(
agxWire::Wire* wireForClone )
const;
265 virtual bool simplify(
const agx::Frame* parentFrame )
override;
271 virtual bool unsimplify()
override;
282 virtual bool split();
287 virtual void reset()
override;
324 virtual ~WireSimplifyController();
335 void addState(
State state );
351 void updateMergedState();
#define AGXPHYSICS_EXPORT
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Class for writing serialized data in binary format to a stream.
Class defining a node that is part of a wire.
Interface and placeholder of controllers/helpers for wires.
The object defining a frame of reference and providing transformations operations.
Structure holding several "normal" rigid bodies.
Base class providing referencing counted objects.
The rigid body class, combining a geometric model and a frame of reference.
Smart pointer for handling referenced counted objects.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
InputRef< T > in(const char *name, T &obj)
Create an object with a name and a reference to the object that should be restored (usually a pointer...
OutputRef< Serializable > out(const char *name, const Serializable *obj)
Return an object that contain the name and the object that should be serialized to an archive.
Implements a Wire model with adaptive resolution.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.