|
| | OrientedBoxFrictionModel (const agx::Frame *refFrame, const agx::Vec3 &primaryDirection, agx::FrictionModel::SolveType solveType=agx::FrictionModel::SPLIT) |
| | Construct given frame of reference and primary friction direction.
|
| |
| | AGXSTREAM_DECLARE_SERIALIZABLE_BASE (agx::OrientedBoxFrictionModel) |
| |
| | OrientedFrictionModelImpl (const agx::Frame *refFrame, const agx::Vec3 &primaryDirection, agx::FrictionModel::SolveType solveType) |
| | Construct given frame of reference and primary friction direction.
|
| |
| virtual void | calculateTangentPlane (const agxCollide::Geometry *geometry1, const agxCollide::Geometry *geometry2, const agx::Vec3 &point, const agx::Vec3 &normal, const agx::Real depth, agx::Vec3 &ret_u, agx::Vec3 &ret_v) const override |
| | Calculates primary and secondary friction directions in world coordinates given contact point.
|
| |
| const agx::Vec3 & | getPrimaryDirection () const |
| |
| const agx::Frame * | getReferenceFrame () const |
| |
| void | setPrimaryDirection (const agx::Vec3 &primaryDirection) |
| | Assign primary friction direction given in reference frame.
|
| |
| void | setReferenceFrame (const agx::Frame *refFrame) |
| | Assign frame of reference.
|
| |
| | BoxFrictionModel (agx::FrictionModel::SolveType solveType=agx::FrictionModel::SPLIT) |
| | Default constructor with default (preferred) solve type SPLIT.
|
| |
| | AGXSTREAM_DECLARE_SERIALIZABLE_BASE (agx::BoxFrictionModel) |
| |
| virtual agx::Real | calculateNormalForce (const agxCollide::Geometry *geometry1, const agxCollide::Geometry *geometry2, const agx::Vec3 &point, const agx::Vec3 &normal, const agx::Real depth, const agx::Real dt, const size_t numPoints) const |
| | Calculates/estimates the normal force at the current point.
|
| |
| virtual void | initialize (const Physics::GeometryContactPtr geometryContact, size_t pointIndex, agx::Real dt, agx::RangeReal &ret_boundU, agx::RangeReal &ret_boundV) const override |
| | Initializes the bounds, i.e., max force for the tangential equations.
|
| |
| | AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE (agx::FrictionModel) |
| |
| int | getCallbackMask () const |
| |
| bool | getEnableCallbackMask (FrictionCallbackType mask) const |
| |
| SolveType | getSolveType () const |
| |
| bool | hasCustomContactImplementation () const |
| |
| virtual void | matchForCustomContactImplementation (agxCollide::GeometryContact *geometryContact, agxSDK::Simulation *simulation) |
| |
| bool | needsNlmcpCallbacks () const |
| |
| void | setSolveType (SolveType solveType) |
| | Solve type for a friction model can be either DIRECT (all equations to the direct solver), ITERATIVE (all equations to the iterative solver), SPLIT (normal equations both direct and iterative and tangential equations only iterative) and DIRECT_AND_ITERATIVE (both normal and tangential equations are solved both direct and iterative).
|
| |
| | 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.
|
| |
Box friction model with oriented friction box.
Definition at line 98 of file OrientedFrictionModels.h.