26 class ShapeContactColliderUtils;
34 KEEP = 0, REMOVE, REPLACE, REMOVED
40 PREV_IS_CLOSE = 1 << 0,
41 NEXT_IS_CLOSE = 1 << 1,
42 PREV_HAS_SAME_NORMAL = 1 << 2,
43 NEXT_HAS_SAME_NORMAL = 1 << 3,
44 ANGLE_NOT_VALID = 1 << 4,
45 NEAR_CLAMP_POSITION = 1 << 5,
46 WORTHLESS_MIDDLE_CONTACT = 1 << 6,
47 REMOVE_IMEDIATELY = 1 << 7,
48 LEAVING_GYPSY = 1 << 8
82 agx::Bool hasCylinderContactState()
const;
111 ShapeContactEdge& getShapeContactEdge();
112 const ShapeContactEdge& getShapeContactEdge()
const;
118 void setWorldPosition(
const agx::Vec3& worldPosition);
128 virtual agx::Vec3 getVelocity()
const override;
133 void setVelocity(
const agx::Vec3& velocity );
143 void setEdgeVelocity(
const agx::Real& vel);
180 void setShapeTranslate(
const agx::Vec3& localPos);
191 void setExtraLength(
const agx::Real extraLength);
196 void setShapeContactEdge(ShapeContactEdge& shapeContactEdge);
201 void resetEdgeLength(
agx::Real edgeHalfLength);
213 ShapeContactEdge m_shapeEdge;
ContactNodeDataList::const_iterator ContactNodeDataListIterator
Inheritance with partial specialization due to bug with ref_ptr containers.
#define AGXPHYSICS_EXPORT
agx::ref_ptr< ShapeContactNode > ShapeContactNodeRef
agx::HashSet< ContactNodeData *> ContactNodeDataSet
Interface and placeholder of controllers/helpers for wires.
Implements a Wire model with adaptive resolution.
agx::List< ContactNodeData > ContactNodeDataList
Smart pointer for handling referenced counted objects.
agx::Vector< ContactNodeDataList > ContactNodeDataListVector
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Class defining a node that is part of a wire.
agx::List< ContactNodeDataListIterator > ContactNodeDataListIteratorList
Eye node is a type of node that can slide along a wire with or without friction.