Connecting nodes contains two nodes, one at center of mass and the other at the user defined position.
More...
|
| | ConnectingNode (agx::RigidBody *rb, const agx::Vec3 &relativeTranslate, agx::Real radius) |
| | Construct connecting node given body, model frame offset and radius.
|
| |
| | AGXSTREAM_DECLARE_SERIALIZABLE_BASE (agxWire::ConnectingNode) |
| |
| void | fullTransform () |
| | Transform this and (if present) the center of mass node.
|
| |
| BodyFixedNode * | getCmNode () const |
| |
| agx::Real | getOffsetLength () const |
| |
| void | setCmNode (agxWire::BodyFixedNode *cmNode) |
| | Internal method used by serialization to assign the stored center of mass node.
|
| |
| | EyeNode (agx::RigidBody *rb, agx::Real radius=agx::Real(0)) |
| | Construct a sliding node given a body and a radius.
|
| |
| | EyeNode (agx::RigidBody *rb, agx::Real relTranslate_x, agx::Real relTranslate_y, agx::Real relTranslate_z, const agx::Vec3 &extraEyeVector=agx::Vec3(), agx::Real radius=agx::Real(0)) |
| | Construct a sliding node given a body, model center offset and a radius.
|
| |
| | EyeNode (agx::RigidBody *rb, const agx::Vec3 &relativeTranslate, agx::Real radius=agx::Real(0)) |
| | Construct a sliding node given a body, model center offset and a radius.
|
| |
| | EyeNode (agx::RigidBody *rb, const agx::Vec3 &relativeTranslate, const agx::Vec3 &extraEyeVector, agx::Real radius=agx::Real(0)) |
| | Construct a sliding node given a body, model center offset and a radius.
|
| |
| | AGXSTREAM_DECLARE_SERIALIZABLE_BASE (agxWire::EyeNode) |
| |
| agx::Real | findSpeedAlongWire (const agxWire::Wire *wire) const |
| | Calculates the speed in which this eye node travels along a wire.
|
| |
| EyeNode * | getChildNode () |
| |
| const EyeNode * | getChildNode () const |
| |
| agx::Real | getDistanceToChild () const |
| |
| bool | getFixFrictionDirection () const |
| |
| EyeNode * | getParentNode () const |
| |
| agx::Real | getRadius () const |
| |
| bool | getReverseAdd () const |
| |
| agx::Vec3 | getVectorToChild () const |
| |
| virtual void | reverse () override |
| | Only for internal use! Reverse all direction dependent internal structures.
|
| |
| void | setFixFrictionDirection (bool fixFrictionDirection, bool goForward) |
| | Assign fixed friction direction for this eye node.
|
| |
| void | setRadius (agx::Real radius) |
| | Set the radius of this eye node.
|
| |
| void | setReverseAdd (bool reverseAdd) |
| | If this node has a child node, this parameter controls in which order the nodes (parent and child) gets added/inserted into the wire.
|
| |
| void | setVectorToChild (const agx::Vec3 &vec) |
| | set the relative translation from this node to its child node (if child present)
|
| |
| void | addState (int state) |
| | Add state mask to the current state.
|
| |
| BodyFixedNode * | getAsBodyFixed () |
| |
| const BodyFixedNode * | getAsBodyFixed () const |
| |
| ConnectingNode * | getAsConnecting () |
| |
| const ConnectingNode * | getAsConnecting () const |
| |
| ContactNode * | getAsContact () |
| |
| const ContactNode * | getAsContact () const |
| |
| EyeNode * | getAsEye () |
| |
| const EyeNode * | getAsEye () const |
| |
| EyeNode * | getAsEyeLineNode () |
| |
| const EyeNode * | getAsEyeLineNode () const |
| |
| FreeNode * | getAsFree () |
| |
| const FreeNode * | getAsFree () const |
| |
| ShapeContactNode * | getAsShapeContact () |
| |
| const ShapeContactNode * | getAsShapeContact () const |
| |
| StopNode * | getAsStop () |
| |
| const StopNode * | getAsStop () const |
| |
| agx::Referenced * | getCustomData () const |
| |
| NodeFrame * | getFrame () |
| |
| const NodeFrame * | getFrame () const |
| |
| HighResolutionRange * | getHighResolutionRange () |
| |
| const HighResolutionRange * | getHighResolutionRange () const |
| |
| bool | getIgnoreBend () const |
| |
| agx::Vec3 | getIntegratedPosition (agx::Real t, bool onlyTranslational=true) const |
| | Calculates the position of this node at time t from now.
|
| |
| NodeMaterial * | getMaterial () |
| |
| const NodeMaterial * | getMaterial () const |
| |
| NodeFrame & | getNodeFrame () |
| |
| Type | getNodeType () const |
| |
| const agx::Vec3 & | getPosition () const |
| |
| agx::RigidBody * | getRigidBody () const |
| |
| int | getState () const |
| |
| const agx::Vec3 & | getTranslate () const |
| |
| Node::Type | getType () const |
| |
| virtual agx::Vec3 | getVelocity () const |
| |
| const agx::Vec3 & | getWorldPosition () const |
| |
| agx::Bool | isType (agx::Int typeMask) const |
| | Test several types, e.g., node->isType( agxWire::Node::EYE | agxWire::Node::CONNECTING ).
|
| |
| void | removeState (int state) |
| | Remove state mask from the current state.
|
| |
| virtual void | reverse () |
| | Only for internal use! Reverses all, internal, direction dependent structures.
|
| |
| void | setCustomData (agx::Referenced *customData) |
| | Set custom data to this node.
|
| |
| void | setIgnoreBend (bool ignoreBend) |
| | Flag if bend constraints should be ignored over this node.
|
| |
| void | setTranslate (agx::Real x, agx::Real y, agx::Real z) |
| | Set the relative translate of this node in parent frame (body frame if body is set, otherwise world frame)
|
| |
| virtual void | setTranslate (const agx::Vec3 &translate) |
| | Set the relative translate of this node in parent frame (body frame if body is set, otherwise world frame)
|
| |
| void | transform () |
| | Transforms the frame.
|
| |
| | Referenced () |
| | Default constructor.
|
| |
| | Referenced (const Referenced &) |
| |
| template<typename T > |
| T * | as () |
| | Subclass casting.
|
| |
| template<typename T > |
| const T * | as () const |
| |
| template<typename T > |
| T * | asSafe () |
| | Safe subclass casting, return nullptr if template type does not match.
|
| |
| template<typename T > |
| const T * | asSafe () const |
| |
| int | getReferenceCount () const |
| |
| template<typename T > |
| bool | is () const |
| | Subclass test.
|
| |
| Referenced & | operator= (const Referenced &) |
| | Assignment operator. Will increment the number of references to the referenced object.
|
| |
| void | reference (void *ptr=nullptr) const |
| | Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it.
|
| |
| void | unreference (void *ptr=nullptr) const |
| | Decrement the reference count by one, indicating that a pointer to this object is referencing it.
|
| |
| void | unreference_nodelete () const |
| | Decrement the reference count by one, indicating that a pointer to this object is referencing it.
|
| |
| virtual | ~Serializable () |
| | Destructor for normal C++ use but hidden from SWIG bindings.
|
| |
| virtual const char * | getClassName () const |
| |
| bool | getEnableSerialization () const |
| |
| bool | getEnableUuidGeneration () |
| |
| agx::UInt32 | getIndex () const |
| | This index is given at creation of this object.
|
| |
| virtual StorageAgent * | getStorageAgent () const =0 |
| |
| agx::Uuid | getUuid () const |
| |
| bool | isFinished () const |
| |
| void | setEnableSerialization (bool flag) |
| | Set to false to disable serialization of this object.
|
| |
| void | setFinished () |
| | Tells this class that it is restored correctly and should not be deleted during destruction of an Archive.
|
| |
| void | setUuid (const agx::Uuid &uuid) |
| | Explicitly set a Uuid on a serializable object.
|
| |
Connecting nodes contains two nodes, one at center of mass and the other at the user defined position.
Used to handle heavy loads and this type carries special constraints for stability.
Definition at line 1557 of file agxWire/Node.h.