38 class SmoothingFilter;
43 class SolveIslandSplitAlgorithm;
64 typedef SimulationProxyT< agxSDK::StepEventListener >
base;
74 TensionData(
const agxWire::Node::Tension* tension );
206 virtual bool add(
agxWire::Link* link,
bool updateConnectionType =
true );
320 virtual bool detach(
bool begin );
326 const agxWire::WireAttachmentController* getBeginAttachment()
const;
332 const agxWire::WireAttachmentController* getEndAttachment()
const;
337 bool initialized()
const;
344 void setInitializationController( agxWire::WireInitializationController* initializationController );
355 bool setRouteController( agxWire::WireRouteController* routeController,
bool copyCurrentRouteToNew =
false );
360 agxWire::WireRouteController* getRouteController()
const;
370 agxWire::WireStabilityController* getStabilityController()
const;
375 agxWire::WireMaterialController* getMaterialController()
const;
380 agxWire::WireGeometryController* getGeometryController()
const;
385 agxWire::WireContactController* getActiveContactController()
const;
393 virtual agx::Real getRestLength(
bool includeWinches =
true )
const;
417 agx::Real findRestLength(
bool includeWinches =
true )
const;
425 agx::Real getCurrentLength(
bool includeWinches =
true )
const;
496 bool getRenderListEmpty()
const;
504 agx::Real findRestLengthFromStart(
const agx::Vec3& point,
bool includeWinchesPulledInLength =
true )
const;
525 agx::Vec3 findPoint(
agx::Real distanceFromStart,
bool includesWinchesPulledInLength )
const;
571 void setIsBendResistent(
bool isBendResistant );
586 bool hasPropertyContainer()
const;
596 agx::Real getRadiusIncludingContactNodeOffsetDistanceMultiplier()
const;
602 virtual void setRadius(
agx::Real radius );
611 void setResolutionPerUnitLength(
agx::Real resolutionPerUnitLength );
616 agx::Real getResolutionPerUnitLength()
const;
643 void setActiveContactControllerType(
const WireContactControllerType type);
644 WireContactControllerType getActiveContactControllerType()
const;
649 bool getEnableCollisions()
const;
672 void setEnableSplitting(
bool splitting );
677 bool getEnableSplitting()
const;
694 bool hasGroup(
const uint32_t
id )
const;
699 bool hasGroup(
const agx::Name& name )
const;
736 agxWire::WireDistanceCompositeConstraint* getConstraint()
const;
747 void removeGeometries();
752 void updateNodeTransforms();
770 void setLinearVelocityDamping(
agx::Real linearVelocityDamping );
775 agx::Real getLinearVelocityDamping()
const;
818 void setSmoothedTension(
agx::Real newSmoothedTension );
859 bool simplify(
const agx::Frame* parentFrame =
nullptr );
870 bool isSimplified()
const;
875 agxWire::WireSimplifyController* getSimplifyController()
const;
900 void replaceContactNodesWithShapeContacts();
908 void uninitializeConstraint();
916 bool isStatic() const;
939 void onCreateMergeSplitProperties();
945 agxWire::WirePropertyController* getPropertyController() const;
965 virtual
void addNotification() override;
966 using SimulationProxyT<
agxSDK::StepEventListener >::addNotification;
971 virtual
void removeNotification() override;
972 using SimulationProxyT<
agxSDK::StepEventListener >::removeNotification;
977 void updateMaterial();
998 agxWire::WireAttachmentController* getBeginAttachment();
1004 agxWire::WireAttachmentController* getEndAttachment();
1034 friend class
agx::InternalData;
1039 agx::Referenced* getInternalData() const;
1045 void setInternalData(
agx::Referenced* data );
1051 inline
bool Wire::initialized()
const 1053 return m_initialized;
1063 return m_routeController;
1073 return m_materialController;
1078 return m_geometryController;
1083 return m_constraint;
1088 return m_internalData;
1093 if (!m_propertyContainer)
1095 return m_propertyContainer;
1100 return (m_propertyContainer.
isValid());
1105 if (!m_propertyContainer)
1108 return m_propertyContainer;
SimulationProxyT< agxSDK::StepEventListener > base
AGXCORE_EXPORT Type * getType(const agx::String &name)
Winch object which works like agxWire::WireWinchController but enables the features of having stored...
WireMaterialControllerRef m_materialController
Connecting nodes contains two nodes, one at center of mass and the other at the user defined position...
agx::ref_ptr< agx::Referenced > m_propertyController
Proxy class for wire iterators.
Type
Type of EventListener.
agxWire::WireGeometryController * getGeometryController() const
agx::ref_ptr< agx::Referenced > m_splitAlgorithm
friend class WireRouteController
agxWire::WireStabilityController * getStabilityController() const
agxUtil::SmoothingFilterRef m_smoothingFilter
WireGeometryControllerRef m_geometryController
#define AGXPHYSICS_EXPORT
Structure containing relevant tension data for a wire element/segment.
WireDistanceCompositeConstraintRef m_constraint
agxWire::WireMaterialController * getMaterialController() const
#define AGX_DECLARE_POINTER_TYPES(type)
Representation of a name string.
bool hasPropertyContainer() const
WireInitializationControllerRef m_initializationController
Structure containing relevant tension data for a node.
Base class providing referencing counted objects.
The geometry representation used by the collision detection engine.
WireFrictionControllerRef m_frictionController
The rigid body class, combining a geometric model and a frame of reference.
AGXPHYSICS_EXPORT void addGroup(const agx::RigidBody *body, unsigned id)
For the specified body, add the collision group ID to its geometries.
The body fixed node is attached to a body at a given offset.
Interface and placeholder of controllers/helpers for wires.
agx::PropertyContainer * getPropertyContainer()
Vector containing 'raw' data.
Class that is a container of named properties.
This class contains all Geometries and performs Broad Phase and Narrow Phase collision detection to c...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Implements a Wire model with adaptive resolution.
agx::ref_ptr< agx::Referenced > m_internalData
WireStabilityControllerRef m_stabilityController
Class to hold specific parameters for the wire - this makes the wires highly configurable.
AGXPHYSICS_EXPORT void extractNodes(NodePtrVector &nodes, const Wire *wire)
Extracts all the nodes given the render list in the wire.
WireParameterController m_parameterController
WireSimplifyControllerRef m_simplifyController
LinearProbingHashSetImplementation< KeyT, HashT >::iterator begin(LinearProbingHashSetImplementation< KeyT, HashT > &set)
agxWire::WireRouteController * getRouteController() const
Object that defines the relation between different types of wires (agxWire::Wire).
The rigid body class, combining a geometric model and a frame of reference.
Main material class which acts as a holder of a Surface Material and a Bulk material.
agx::PropertyContainerRef m_propertyContainer
AGXPHYSICS_EXPORT bool setEnableCollisions(agx::RigidBody *rb1, agx::RigidBody *rb2, bool enable)
Enable or disable the collision between all geometries in RigidBody rb1 and RigidBody rb2...
A UUID, or Universally unique identifier, is intended to uniquely identify information in a distribut...
SolveType
Specifies in what solvers the constraint will be solved.
agxWire::WireParameterController * getParameterController() const
The object defining a frame of reference and providing transformations operations.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
AGXPHYSICS_EXPORT void removeGroup(const agx::RigidBody *body, unsigned id)
For the specified body, remove the collision group ID to its geometries.
WireRouteControllerRef m_routeController
WireWinchControllerRefVector m_winchControllers
Winch controller vector, always of size 2, default both 0.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
agxWire::WireDistanceCompositeConstraint * getConstraint() const
Structure containing relevant tension data given one look-up.
agx::observer_ptr< WireStabilityController > m_stabilityController
If by the initialization controller, this winch can merge segments and change mass of the lumps via t...
Class defining a node that is part of a wire.
agx::Constraint::SolveType m_solveType
Winch class for handling in and out hauling of wires.
#define AGX_DECLARE_VECTOR_TYPES(type)
agx::Real m_linearVelocityDamping
Only linear velocity damping as real is defined for lumped nodes.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
#define DOXYGEN_END_INTERNAL_BLOCK()
The agxUtil namespace contain classes and methods for utility functionality.
#define DOXYGEN_START_INTERNAL_BLOCK()