|
| | ConeLimitAngle () |
| | Default constructor.
|
| |
| | ConeLimitAngle (bool useRotAngle) |
| | Constructor for cone limit angle.
|
| |
| | AGXSTREAM_DECLARE_SERIALIZABLE_BASE (ConeLimitAngle) |
| |
| Vec2 | getConeLimitRange () const |
| | Get the ConeLimit range, in radians.
|
| |
| virtual const Vec3 & | getDir (const AttachmentPair &ap, agx::UInt index) const override |
| | Get the direction along the cone limit or of the axis given the attachment pair, depending on the case the Angle is used in.
|
| |
| void | setConeLimitRange (Vec2 limit) |
| | Set the ConeLimit range, in radians.
|
| |
| virtual void | transform (const AttachmentPair &ap) override |
| | Transform method to update the values of this Angle.
|
| |
| | AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE (agx::Angle) |
| |
| agx::Angle::Axis | getAxis () const |
| |
| virtual const agx::Vec3 & | getDir (const agx::AttachmentPair &ap, agx::UInt index) const |
| |
| agx::Angle::Type | getType () const |
| |
| agx::Real | getValue () const |
| |
| virtual void | onPostSolve (const agx::AttachmentPair &ap, agx::Real dt) |
| | Post solvers, velocity dependent variables should be updated.
|
| |
| virtual void | restore (agxStream::InputArchive &in) override |
| | Restore given stream.
|
| |
| virtual void | restoreLightData (agxStream::StorageStream &str) override |
| | Restore structural independent data from stream.
|
| |
| virtual void | store (agxStream::OutputArchive &out) const override |
| | Store given stream.
|
| |
| virtual void | storeLightData (agxStream::StorageStream &str) const override |
| | Store structural independent data to stream.
|
| |
| virtual void | transform (const agx::AttachmentPair &ap) |
| | Transform method to update the value of this angle.
|
| |
| | 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.
|
| |
Implementation of angle for the cone limit.
The Angle is defined around the n-axis, but only the friction controller for rotation on the axis actually uses that axis. In the case of the friction along the limit, another direction is calculated, so that it is along the limit. For the ConeLimit itself, the direction is not used at all, the angle is however used to save the limits so that the FrictionController along the limit also can use it.
Definition at line 291 of file ConstraintAngle.h.