Contact node class is a node that, currently, is defined to live on an edge on a geometry (agxCollide::Geometry).
More...
|
| enum | MovementRange { MOVEMENT_RANGE_START = 1,
MOVEMENT_RANGE_END = 2
} |
| | Clamp definition. More...
|
| |
| enum | StateInfo {
STANDARD = 0,
WAS_CONTACT = (1<< 0),
IS_HIGH_RES = (1<< 1),
IGNORE_BEND = (1<< 2),
NO_LUMP_NEAR = (1<< 3),
NO_CIRCLE_CONTACT = (1<< 4),
GYPSY_CONTACT = (1<< 5),
NO_MOVEMENT_RANGE = (1<< 6),
NO_FRICTION = (1<< 7),
SPLIT_ENABLED = (1<< 8),
INSIDE_OBJECT = (1<< 9),
WAS_CONTACT_LAST_TIMESTEP = (1<<10),
PERMANENT_LUMP = (1<<11),
REPLACE_SUPERBEND_WITH_BEND = (1<<12),
LUMPED_NODE = (1<<13),
LUMP_CONTACT = (1<<14),
WW_STABILIZED = (1<<15)
} |
| | Internal state a node may have. More...
|
| |
| enum | Type {
NOT_DEFINED = 0,
EYE = (1<<0),
MISSING = (1<<1),
CONNECTING = (1<<2),
FREE = (1<<3),
CONTACT = (1<<4),
BODY_FIXED = (1<<5),
STOP = (1 << 6),
SHAPE_CONTACT = (1<<7)
} |
| | The supported node types. More...
|
| |
|
| | ContactNode (agxCollide::Geometry *geometry, const agx::Vec3 &shapeRelativeTranslate, const agx::Vec3 &shapeEdgeStart, const agx::Vec3 &shapeEdgeEnd, const agx::Vec3 &shapeEdge) |
| | Construct a contact node given geometry, translate, edge start and end and the edge direction (all points/vectors must be given in shape coordinate system). More...
|
| |
| | ContactNode (ContactNode *cn) |
| | Like a copy constructor. More...
|
| |
| | ContactNode (agxCollide::Geometry *geometry, const agx::Vec3 &shapeRelativeTranslate=agx::Vec3()) |
| | Construct a contact node given geometry and relative translate in shape coordinates. More...
|
| |
| agxCollide::Geometry * | getGeometry () const |
| |
| MeshIndex * | getMeshIndex () |
| |
| const MeshIndex * | getMeshIndex () const |
| |
| bool | getNoStickContact () const |
| |
| void | setGeometry (agxCollide::Geometry *geometry) |
| | Assign new geometry to this node. More...
|
| |
| void | setNoStickContact (bool noStickyContact) |
| | Enable this and the normal force vs gravity force test is ignored. More...
|
| |
| virtual void | setTranslate (const agx::Vec3 &shapeTranslate) override |
| | Set translate of this contact wire node in shape coordinates. More...
|
| |
| void | addState (int state) |
| | Add state mask to the current state. More...
|
| |
| 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 |
| |
| const ShapeContactNode * | getAsShapeContact () const |
| |
| ShapeContactNode * | getAsShapeContact () |
| |
| 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. More...
|
| |
| 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 ). More...
|
| |
| void | removeState (int state) |
| | Remove state mask from the current state. More...
|
| |
| virtual void | reverse () |
| | Only for internal use! Reverses all, internal, direction dependent structures. More...
|
| |
| void | setCustomData (agx::Referenced *customData) |
| | Set custom data to this node. More...
|
| |
| void | setIgnoreBend (bool ignoreBend) |
| | Flag if bend constraints should be ignored over this node. More...
|
| |
| 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) More...
|
| |
| void | transform () |
| | Transforms the frame. More...
|
| |
| | 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...
|
| |
| virtual const char * | getClassName () const |
| |
| bool | getEnableSerialization () const |
| |
| bool | getEnableUuidGeneration () |
| |
| agx::UInt32 | getIndex () const |
| | This index is given at creation of this object. More...
|
| |
| 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. 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...
|
| |
Contact node class is a node that, currently, is defined to live on an edge on a geometry (agxCollide::Geometry).
Definition at line 1725 of file agxWire/Node.h.