Assembly object representing a continuous track with a given number of shoes (nodes).
More...
|
| | Track (agx::UInt numberOfNodes, agx::Real width, agx::Real thickness, agx::Real initialDistanceTension=agx::Real(0)) |
| | Construct track given number of nodes, size and initial tension distance. More...
|
| |
| | Track (agxVehicle::TrackRoute *route) |
| | Construct given a track route. More...
|
| |
| agx::Bool | add (agxVehicle::TrackWheelRef wheel) |
| | Add track wheel to this track before this track has been initialized. More...
|
| |
| agxVehicle::TrackWheel * | findReferenceWheel () const |
| | Reference wheel's rotation axis is defining the plane in which this track will be created. More...
|
| |
| const char * | getClassName () const override |
| |
| agxVehicle::TrackInternalMergeProperties * | getInternalMergeProperties () const |
| |
| Iterator | getIterator (agx::UInt index) const |
| |
| template<typename T > |
| Iterator | getIterator (const T *obj) const |
| |
| template<> |
| Track::Iterator | getIterator (const agx::RigidBody *obj) const |
| |
| template<> |
| Track::Iterator | getIterator (const TrackNode *obj) const |
| |
| agxVehicle::TrackNode * | getNode (agx::UInt index) const |
| |
| template<typename T > |
| agxVehicle::TrackNode * | getNode (const T *obj) const |
| |
| template<> |
| TrackNode * | getNode (const agx::RigidBody *obj) const |
| |
| agx::UInt | getNodeIndex (const agx::RigidBody *rb) const |
| |
| agx::UInt | getNumNodes () const |
| |
| agxVehicle::TrackProperties * | getProperties () const |
| |
| agxVehicle::TrackRoute * | getRoute () const |
| |
| agxStream::StorageAgent * | getStorageAgent () const override |
| |
| agxVehicle::TrackWheel * | getWheel (const agx::RigidBody *rb) const |
| |
| const agxVehicle::Track::TrackWheelContainer & | getWheels () const |
| |
| virtual void | handleGeometryContact (agxCollide::GeometryContact *gc) |
| |
| virtual agx::Bool | initialize (OnNodeInitializeCallback onInitializeCallback) |
| | Initialize this track given already assigned route, added wheels, number of nodes and an initialize node callback. More...
|
| |
| virtual agx::Bool | initialize (TrackNodeOnInitializeCallback *onInitializeCallback=nullptr) |
| | Initialize this track given already assigned route, added wheels, number of nodes and an initialize node callback. More...
|
| |
| NodeRange | nodes () const |
| |
| NodeRange | nodes (IndexRange range) const |
| |
| agx::UInt32Vector | onPreGetNodeContacts (const agxVehicle::TrackWheel *wheel) const |
| |
| agx::Bool | remove (agxVehicle::TrackWheelRef wheel) |
| | Remove track wheel. More...
|
| |
| virtual void | restore (agxStream::InputArchive &in) override |
| |
| void | setProperties (agxVehicle::TrackProperties *properties) |
| | Assign properties to this track. More...
|
| |
| virtual void | store (agxStream::OutputArchive &out) const override |
| |
| virtual agx::Bool | addComponent (agxSDK::LinkedStructureComponent *component) |
| | Add new component to this linked structure. More...
|
| |
| virtual void | addGroup (agx::UInt32 id) |
| | Add group id to all segments in this linked structure. More...
|
| |
| virtual void | addGroup (const agx::Name &name) |
| | Add group name to all segments in this linked structure. More...
|
| |
| void | addNotification (agxSDK::Simulation *simulation) final override |
| | Called when this linked structure is added to the simulation. More...
|
| |
| virtual agx::Real | findCurrentLength (agx::Real restLengthFromStart) const |
| | Calculates the current length of a given rest length. More...
|
| |
| virtual agxCollide::GroupIdCollection | findGroupIdCollection () const |
| |
| virtual agx::Vec3 | findPoint (agx::Real restLengthFromStart) const |
| | Finds center point on this structure given rest length from the start. More...
|
| |
| virtual agx::Vec3 | findPoint (const agx::Vec3 &worldPoint) const |
| | Given any world point, find a center point on this structure that is closest to the given worldPoint. More...
|
| |
| virtual agx::Real | findRestLength (agx::Real currentLengthFromStart) const |
| | Calculates the rest length of a given current length from start. More...
|
| |
| virtual agx::Real | findRestLengthTo (const agxSDK::LinkedSegment *segment) const |
| | Finds rest length to the start of the given segment. More...
|
| |
| virtual agx::Vec3 | getAngularVelocityDamping () const |
| |
| template<typename T > |
| T * | getComponent () const |
| |
| agxSDK::LinkedStructureComponent * | getComponent (const agx::Name &name) const |
| |
| virtual agx::Real | getCurrentLength () const |
| | Calculates and returns the total length of this linked structure, at current state. More...
|
| |
| virtual agx::UInt32 | getDisabledCollisionGroupId () const |
| |
| virtual agx::Bool | getEnableCollisions (const agx::RigidBody *rb) const |
| |
| virtual agx::Bool | getEnableCollisions (const agxCollide::Geometry *geometry) const |
| |
| virtual agx::Vec3 | getLinearVelocityDamping () const |
| |
| virtual agx::Real | getMass () const |
| | Calculates and returns the total mass of this linked structure. More...
|
| |
| virtual agx::Material * | getMaterial () const |
| |
| virtual agx::Real | getRestLength () const |
| | Calculates and returns the total length of this linked structure, at rest. More...
|
| |
| virtual agx::Real | getRestVolume () const |
| | Calculates and returns the total volume of this linked structure, at rest. More...
|
| |
| template<> |
| LinkedSegment * | getSegment (const agx::RigidBody *rb) const |
| |
| agx::UInt | getSegmentIndex (const agx::RigidBody *rb) const |
| |
| const agxSDK::LinkedSegmentContainer & | getSegmentsContainer () const |
| |
| virtual agx::UInt32 | getUniqueId () const |
| |
| virtual agx::Bool | hasGroup (agx::UInt32 id) const |
| |
| virtual agx::Bool | hasGroup (const agx::Name &name) const |
| |
| virtual agx::Bool | rebind () |
| | Make the current relative positions of all nodes the rest state. More...
|
| |
| virtual agx::Bool | removeComponent (agxSDK::LinkedStructureComponent *component) |
| | Remove an added component from this linked structure. More...
|
| |
| virtual void | removeGroup (agx::UInt32 id) |
| | Remove group id from all segments in this linked structure. More...
|
| |
| virtual void | removeGroup (const agx::Name &name) |
| | Remove group name from all segments in this linked structure. More...
|
| |
| void | removeNotification (agxSDK::Simulation *simulation) final override |
| | Called when this linked structure is added to the simulation. More...
|
| |
| agxSDK::LinkedSegmentRange< agxSDK::LinkedSegment > | segments () |
| |
| virtual void | setAngularVelocityDamping (const agx::Vec3 &angularVelocityDamping) |
| | Assigns angular velocity damping to all segments in this linked structure. More...
|
| |
| virtual void | setEnableCollisions (agx::RigidBody *rb, agx::Bool enable) |
| | Enable/disable collisions between the rigid body and all segments of this linked structure. More...
|
| |
| virtual void | setEnableCollisions (agxCollide::Geometry *geometry, agx::Bool enable) |
| | Enable/disable collisions between the geometry and all segments of this linked structure. More...
|
| |
| virtual void | setLinearVelocityDamping (const agx::Vec3 &linearVelocityDamping) |
| | Assigns linear velocity damping to all segments in this linked structure. More...
|
| |
| virtual void | setMaterial (agx::Material *material) |
| | Assign material to all segments in this linked structure. More...
|
| |
| | Assembly () |
| | Default constructor. More...
|
| |
| bool | add (agx::Constraint *constraint) |
| | Add a constraint to the assembly. More...
|
| |
| bool | add (agx::Interaction *interaction) |
| | Add an interaction to this assembly. More...
|
| |
| bool | add (agxSDK::EventListener *listener) |
| | Add a listener to the assembly. More...
|
| |
| bool | add (agx::RigidBody *body) |
| | Add a rigid body to the assembly. More...
|
| |
| bool | add (agxCollide::Geometry *geometry) |
| | Add a geometry to the assembly. More...
|
| |
| bool | add (Assembly *assembly) |
| | Add another assembly as child to this assembly. More...
|
| |
| bool | add (agx::ContactMaterial *contactMaterial) |
| | Add a contact material to this assembly. More...
|
| |
| bool | add (agx::Emitter *emitter) |
| | Add an emitter to this assembly. More...
|
| |
| bool | add (agx::ObserverFrame *observerFrame) |
| | Add an ObserverFrame to this assembly. More...
|
| |
| bool | add (agx::MergedBody *mergedBody) |
| | Add a MergedBody to this assembly. More...
|
| |
| bool | add (agxStream::Serializable *object) |
| | Add an object of type serialized. More...
|
| |
| virtual void | addNotification (Assembly *) |
| | Called when this assembly is added to another assembly. More...
|
| |
| bool | empty () const |
| |
| const AssemblyRefSetVector & | getAssemblies () const |
| |
| const agxSDK::Assembly * | getAssembly (const agx::Name &name, bool recursive=true) const |
| | Find (linear search) and return named Assembly. More...
|
| |
| agxSDK::Assembly * | getAssembly (const agx::Name &name, bool recursive=true) |
| | Find (linear search) and return named Assembly. More...
|
| |
| const agxSDK::Assembly * | getAssembly (const agx::Uuid &uuid, bool recursive=true) const |
| | Find (linear search) and return an Assembly matching the given uuid. More...
|
| |
| agxSDK::Assembly * | getAssembly (const agx::Uuid &uuid, bool recursive=true) |
| | Find (linear search) and return an Assembly matching the given uuid. More...
|
| |
| const agx::Constraint * | getConstraint (const agx::Uuid &uuid, bool recursive=true) const |
| | Find (linear search) and return a pointer to a Constraint with the given uuid. More...
|
| |
| agx::Constraint * | getConstraint (const agx::Uuid &uuid, bool recursive=true) |
| | Find and return a pointer to a Constraint with the given uuid. More...
|
| |
| const agx::Constraint * | getConstraint (const agx::Name &name, bool recursive=true) const |
| | Find (linear search) and return named Constraint. More...
|
| |
| agx::Constraint * | getConstraint (const agx::Name &name, bool recursive=true) |
| | Find (linear search) and return named Constraint. More...
|
| |
| template<typename T > |
| T * | getConstraint (const agx::Name &name, bool recursive=true) |
| | Find and return named Constraint of a template type, for example Hinge: More...
|
| |
| template<typename T > |
| const T * | getConstraint (const agx::Name &name, bool recursive=true) const |
| | Find and return named Constraint of a template type, for example Hinge: More...
|
| |
| agx::Constraint1DOF * | getConstraint1DOF (const agx::Name &name, bool recursive=true) |
| |
| agx::Constraint2DOF * | getConstraint2DOF (const agx::Name &name, bool recursive=true) |
| |
| const agx::ConstraintRefSetVector & | getConstraints () const |
| |
| const agx::EmitterRefSetVector & | getEmitters () const |
| |
| const EventListenerRefSetVector & | getEventListeners () const |
| |
| virtual agx::Frame * | getFrame () |
| | Return a reference to the frame containing transformation and velocity information for this assembly. More...
|
| |
| virtual const agx::Frame * | getFrame () const |
| |
| const agxCollide::GeometryRefSetVector & | getGeometries () const |
| |
| const agxCollide::Geometry * | getGeometry (const agx::Name &name, bool recursive=true) const |
| | Find (linear search) and return named collision Geometry. More...
|
| |
| agxCollide::Geometry * | getGeometry (const agx::Name &name, bool recursive=true) |
| | Find (linear search) and return named collision Geometry. More...
|
| |
| const agxCollide::Geometry * | getGeometry (const agx::Uuid &uuid, bool recursive=true) const |
| | Find (linear search) and return a Geometry matching the given uuid. More...
|
| |
| agxCollide::Geometry * | getGeometry (const agx::Uuid &uuid, bool recursive=true) |
| | Find (linear search) and return a Geometry matching the given uuid. More...
|
| |
| const agx::InteractionRefSetVector & | getInteractions () const |
| |
| agx::Vec3 | getLocalPosition () const |
| |
| agx::Quat | getLocalRotation () const |
| |
| const agx::AffineMatrix4x4 & | getLocalTransform () const |
| |
| const agx::MergedBodyRefSetVector & | getMergedBodies () const |
| |
| const agx::MergedBody * | getMergedBody (const agx::Uuid &uuid, bool recursive=true) const |
| | Find (linear search) and return an MergedBody matching the given uuid. More...
|
| |
| agx::MergedBody * | getMergedBody (const agx::Uuid &uuid, bool recursive=true) |
| | Find (linear search) and return an MergedBody matching the given uuid. More...
|
| |
| agx::Name | getName () const |
| |
| const agx::ObserverFrame * | getObserverFrame (const agx::Name &name, bool recursive=true) const |
| | Find (linear search) and return an ObserverFrame matching the given uuid. More...
|
| |
| agx::ObserverFrame * | getObserverFrame (const agx::Name &name, bool recursive=true) |
| | Find (linear search) and return an ObserverFrame matching the given uuid. More...
|
| |
| const agx::ObserverFrame * | getObserverFrame (const agx::Uuid &uuid, bool recursive=true) const |
| | Find (linear search) and return an ObserverFrame matching the given uuid. More...
|
| |
| agx::ObserverFrame * | getObserverFrame (const agx::Uuid &uuid, bool recursive=true) |
| | Find (linear search) and return an ObserverFrame matching the given uuid. More...
|
| |
| const agx::ObserverFrameRefSetVector & | getObserverFrames () const |
| |
| Assembly * | getParent () |
| |
| const Assembly * | getParent () const |
| |
| agx::Frame * | getParentFrame () |
| |
| const agx::Frame * | getParentFrame () const |
| |
| const agx::ParticleSystemRefSetVector & | getParticleSystems () const |
| |
| const agx::RigidBodyRefSetVector & | getRigidBodies () const |
| |
| agx::RigidBody * | getRigidBody (const agx::Name &name, bool recursive=true) |
| | Find (linear search) and return named RigidBody. More...
|
| |
| const agx::RigidBody * | getRigidBody (const agx::Name &name, bool recursive=true) const |
| | Find (linear search) and return named RigidBody. More...
|
| |
| agx::RigidBody * | getRigidBody (const agx::Uuid &uuid, bool recursive=true) |
| | Find (linear search) and return a pointer to a RigidBody with the given uuid. More...
|
| |
| const agx::RigidBody * | getRigidBody (const agx::Uuid &uuid, bool recursive=true) const |
| | Find (linear search) and return a pointer to a RigidBody with the given uuid. More...
|
| |
| agxSDK::Simulation * | getSimulation () |
| |
| const agxSDK::Simulation * | getSimulation () const |
| |
| Type | getType () const |
| |
| bool | remove (agx::Constraint *constraint) |
| | Remove a constraint from this assembly (does not recurse down in tree). More...
|
| |
| bool | remove (agx::Interaction *interaction) |
| | Remove an interaction from this assembly. More...
|
| |
| bool | remove (EventListener *listener) |
| | Remove an EventListener from the assembly. More...
|
| |
| bool | remove (agx::RigidBody *body, bool removeAssociatedGeometries=false, bool resetParentFrame=true) |
| | Remove a rigid body from this assembly (does not recurse down in tree). More...
|
| |
| bool | remove (agxCollide::Geometry *geometry, bool resetParentFrame=true) |
| | Remove a geometry from this assembly (does not recurse down in tree). More...
|
| |
| bool | remove (Assembly *assembly, bool resetParentFrame=true) |
| | Remove a child assembly from a parent. More...
|
| |
| bool | remove (agx::ContactMaterial *contactMaterial) |
| | Remove a contact material from this assembly. More...
|
| |
| bool | remove (agx::Emitter *emitter) |
| | Remove an emitter from this assembly. More...
|
| |
| bool | remove (agx::ObserverFrame *observerFrame, bool resetParentFrame=true) |
| | Remove an ObserverFrame from this assembly. More...
|
| |
| bool | remove (agx::MergedBody *mergedBody) |
| | Remove a MergedBody from this assembly. More...
|
| |
| virtual void | removeNotification (Assembly *) |
| | Called when this assembly is removed from another assembly. More...
|
| |
| bool | reset (bool resetParentFrame=true) |
| | If this assembly is not added to a simulation it will clear all added bodies etc. More...
|
| |
| virtual void | setAngularVelocity (const agx::Vec3 &velocity) |
| | Set the angular velocity (in world frame) recursively for all rigid bodies stored in assembly. More...
|
| |
| void | setLocalPosition (const agx::Vec3 &p) |
| | Set the position of the assembly relative to its frame's parent frame. More...
|
| |
| void | setLocalPosition (agx::Real x, agx::Real y, agx::Real z) |
| | Set the position of the assembly relative to its frame's parent frame. More...
|
| |
| void | setLocalRotation (const agx::Quat &q) |
| | Set the rotation of the assembly relative to its frame's parent frame. More...
|
| |
| void | setLocalRotation (const agx::EulerAngles &e) |
| | Set the rotation of the assembly relative to its frame's parent frame. More...
|
| |
| void | setLocalTransform (const agx::AffineMatrix4x4 &matrix) |
| | Assign the local transformation matrix for this assembly, ignoring any eventual parent transformation. More...
|
| |
| void | setName (const agx::Name &name) |
| | Set the name of this Assembly. More...
|
| |
| bool | setParentFrame (agx::Frame *frame) |
| | Set the parent frame of this assembly's frame. More...
|
| |
| void | setPosition (const agx::Vec3 &p) |
| | Set the position of the frame in world coordinates. More...
|
| |
| void | setPosition (agx::Real x, agx::Real y, agx::Real z) |
| | Set the position of the frame in world coordinates. More...
|
| |
| void | setRotation (const agx::Quat &q) |
| | Set the rotation of the assembly relative to world frame. More...
|
| |
| void | setRotation (const agx::EulerAngles &e) |
| | Set the rotation of the assembly relative to world frame. More...
|
| |
| void | setRotation (const agx::OrthoMatrix3x3 &m) |
| | Set the rotation of the assembly relative to world frame. More...
|
| |
| void | setTransform (const agx::AffineMatrix4x4 &matrix) |
| | Set the transform of the assembly. More...
|
| |
| virtual void | setVelocity (const agx::Vec3 &velocity) |
| | Set the linear velocity (in world frame) recursively for all rigid bodies stored in assembly. More...
|
| |
| bool | transfer (agxSDK::Assembly *target) |
| | Transfer all the content from this assembly to the target, including name and transformation. More...
|
| |
| virtual void | traverse (AssemblyVisitor *visitor) |
| | Traverse the assembly tree recursively using a visitor. More...
|
| |
| virtual void | traverse (const AssemblyVisitor *visitor) const |
| |
| | Referenced () |
| | Default constructor. More...
|
| |
| | Referenced (const Referenced &) |
| |
| template<typename T > |
| T * | as () |
| | Subclass casting. More...
|
| |
| template<typename T > |
| const T * | as () const |
| |
| template<typename T > |
| T * | asSafe () |
| | Safe subclass casting, return nullptr if template type does not match. More...
|
| |
| template<typename T > |
| const T * | asSafe () const |
| |
| int | getReferenceCount () const |
| |
| template<typename T > |
| bool | is () const |
| | Subclass test. More...
|
| |
| Referenced & | operator= (const Referenced &) |
| | Assignment operator. Will increment the number of references to the referenced object. More...
|
| |
| void | reference (void *ptr=nullptr) const |
| | Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. More...
|
| |
| void | unreference (void *ptr=nullptr) const |
| | Decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
|
| |
| void | unreference_nodelete () const |
| | Decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
|
| |
| virtual | ~Serializable () |
| | Destructor for normal C++ use but hidden from SWIG bindings. More...
|
| |
| bool | getEnableSerialization () const |
| |
| bool | getEnableUuidGeneration () |
| |
| agx::UInt32 | getIndex () const |
| | This index is given at creation of this object. More...
|
| |
| agx::Uuid | getUuid () const |
| |
| bool | isFinished () const |
| |
| void | setEnableSerialization (bool flag) |
| | Set to false to disable serialization of this object. More...
|
| |
| void | setFinished () |
| | Tells this class that it is restored correctly and should not be deleted during destruction of an Archive. More...
|
| |
| void | setUuid (const agx::Uuid &uuid) |
| | Explicitly set a Uuid on a serializable object. More...
|
| |