Constraint implementation that constrains the velocity of the rotational dimensions of a number bodies.
More...
|
| | GearConstraintImplementation () |
| |
| const char * | getClassName () const override |
| |
| agxStream::StorageAgent * | getStorageAgent () const override |
| |
| virtual void | restore (agxStream::InputArchive &in) override |
| |
| virtual void | store (agxStream::OutputArchive &out) const override |
| |
Public Member Functions inherited from agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation |
| | PhysicalDimensionMultiBodyConstraintImplementation () |
| | Constructor. More...
|
| |
| | ~PhysicalDimensionMultiBodyConstraintImplementation () |
| |
| void | add (PhysicalDimension *dimension) |
| | Add a physical dimension to the constraint. More...
|
| |
| agx::Real | getCompliance () const |
| |
| agx::Real | getCurrentForce () const |
| |
| ElementaryPhysicalDimensionConstraint * | getElementaryConstraint () const |
| |
| virtual void | postSystemCallback (agx::DynamicsSystem *system) override |
| | Prepare system after solve. More...
|
| |
| virtual void | prepareDimensions () |
| |
| virtual void | preSystemCallback (agx::DynamicsSystem *system) override |
| | Prepare system before solve. More...
|
| |
| virtual void | restoreLightData (agxStream::StorageStream &str) override |
| |
| void | setCompliance (agx::Real compliance) |
| | Set the compliance of the constraint. More...
|
| |
| void | setConnector (agxPowerLine::Connector *connector) |
| |
| virtual void | storeLightData (agxStream::StorageStream &str) const override |
| |
| virtual size_t | updateJacobian (agx::Jacobian6DOFElement *jacobians) override |
| | Update the jacobians of the included dimensions. More...
|
| |
| virtual bool | updateValid () override |
| | Test if the constraint is still valid. More...
|
| |
| | ConstraintImplementation () |
| | Default constructor. More...
|
| |
| virtual | ~ConstraintImplementation () |
| | Destructor. More...
|
| |
| virtual bool | addElementaryConstraint (const agx::String &name, agx::ElementaryConstraint *elementaryConstraint) |
| | Add elementary constraint (like Spherical, Dot1, Dot2 etc) given name. More...
|
| |
| virtual void | addNlCallbacks (agx::SparseRangeReal &sparseRangeReal, const NlmcpCallbackSolverData &solverData) const |
| | Interface for non-linear callback from solver. More...
|
| |
| virtual void | addNotification () |
| | Callback when this constraint is added to Simulation. More...
|
| |
| virtual bool | addSecondaryConstraint (const agx::String &name, agx::ElementaryConstraint *secondaryConstraint) |
| | Add secondary constraint (like motor, range and/or lock etc) given name. More...
|
| |
| agx::UInt | calculateNumActiveRows () const |
| | Calculates the current number of active rows, including both elementary and secondary constraints. More...
|
| |
| agx::Real | calculateViolationVectorAverageSize () |
| | Gets the average size of the elements in getViolation() by calculating the magnitude and dividing by the number of elements. More...
|
| |
| template<typename T > |
| T * | findSecondaryConstraintGivenType (const agx::UInt count=0) const |
| |
| bool | getActive () const |
| |
| virtual agx::Real | getAngle (agx::UInt=0) const |
| | If the constraint supports angle calculations and 'dof' is in range, this method returns the angle of the given degree of freedom. More...
|
| |
| virtual agx::AttachmentPair * | getAttachmentPair () const |
| |
| agx::UInt | getBlockRowIndex () const |
| |
| const BlockStructure & | getBlockStructure () const |
| |
| virtual void | getBounds (agx::RangeReal *bounds, agx::Real dt) const |
| | Calculates and pushes the bounds into a sparse range data structure. More...
|
| |
| virtual int | getConstraintVelocity (agx::Real *v, int row) |
| | Calculates and pushes the constraint velocities into array given current row. More...
|
| |
| virtual agx::Real | getCurrentSpeed (agx::UInt=0) const |
| | If this method is implemented, a call to this method will return the current speed of the angle. More...
|
| |
| virtual agx::ElementaryConstraint * | getElementaryConstraint (const agx::String &name) const |
| |
| virtual agx::ElementaryConstraint * | getElementaryConstraint (const agx::UInt index) const |
| |
| agx::ElementaryConstraint::RefContainer & | getElementaryConstraints () |
| |
| const agx::ElementaryConstraint::RefContainer & | getElementaryConstraints () const |
| |
| virtual bool | getEnable () const |
| |
| virtual agx::Bool | getEnableComputeForces () const |
| |
| bool | getEnableLinearization () const |
| |
| virtual void | getEpsilon (agx::Real *epsilon, agx::Real h) |
| | Writes regularization parameters for all active rows into epsilon. More...
|
| |
| agx::FrictionController * | getFrictionController (agx::UInt number=0) const |
| |
| agx::UInt | getJacobianRowUsage () const |
| |
| virtual agx::Bool | getLastForce (agx::UInt bodyIndex, agx::Vec3 &retForce, agx::Vec3 &retTorque, agx::Bool giveForceAtCm=false) const |
| | If 'compute forces' is enabled, returns the last force and torque applied by this constraint on the body with bodyIndex. More...
|
| |
| virtual agx::Bool | getLastForce (const agx::RigidBody *rb, agx::Vec3 &retForce, agx::Vec3 &retTorque, agx::Bool giveForceAtCm=false) const |
| | If 'compute forces' is enabled, returns the last force and torque applied by this constraint on the body rb. More...
|
| |
| virtual agx::Bool | getLastLocalForce (agx::UInt bodyIndex, agx::Vec3 &retForce, agx::Vec3 &retTorque, agx::Bool giveForceAtCm=false) const |
| | If 'compute forces' is enabled, returns the last force and torque applied by this constraint on the body with bodyIndex. More...
|
| |
| virtual agx::Bool | getLastLocalForce (const agx::RigidBody *rb, agx::Vec3 &retForce, agx::Vec3 &retTorque, agx::Bool giveForceAtCm=false) const |
| | If 'compute forces' is enabled, returns the last force and torque applied by this constraint on the body rb. More...
|
| |
| agx::Lock1D * | getLock1D (agx::UInt number=0) const |
| |
| agx::Motor1D * | getMotor1D (agx::UInt number=0) const |
| |
| virtual void | getParameters (agx::Real *violation, agx::Real *epsilon, agx::Real *damping, bool *holonomic, agx::Real *velocity, agx::RangeReal *bounds, int8_t *indexSetState, agx::Real h, agx::Real minPerturbation=agx::Real(1E-10)) |
| | Writes solver parameters such as damping and holonomic. More...
|
| |
| agx::Range1D * | getRange1D (agx::UInt number=0) const |
| |
| virtual agx::ElementaryConstraint * | getSecondaryConstraint (const agx::String &name) const |
| |
| virtual agx::ElementaryConstraint * | getSecondaryConstraint (const agx::UInt index) const |
| |
| agx::ElementaryConstraint::RefContainer & | getSecondaryConstraints () |
| |
| const agx::ElementaryConstraint::RefContainer & | getSecondaryConstraints () const |
| |
| bool | getSolveBoth () const |
| |
| bool | getSolveIterative () const |
| |
| SolverBodyView | getSolverView () const |
| | Bodies as viewed from the solver. More...
|
| |
| Constraint::SolveType | getSolveType () const |
| |
| ConstraintImplPtrVector & | getSubConstraints () |
| |
| const ConstraintImplPtrVector & | getSubConstraints () const |
| |
| int | getTag () const |
| |
| BodyView | getUserView () const |
| | Bodies as viewed from the user. More...
|
| |
| virtual int | getViolation (agx::Real *g, int row) |
| | Calculates and pushes the constraint values into array given current row. More...
|
| |
| void | incrementConstraintCount (RigidBody *rb) const |
| | Increment the number of constraints connection to rb. More...
|
| |
| bool | isImpacting () const |
| |
| bool | isValid () const |
| |
| void | onDirectComplianceMatrix (Real *data, unsigned int ld) const |
| | Internal callback from the direct solver with perturbation matrix data. More...
|
| |
| virtual void | postSolveCallback (const agx::Jacobian6DOFElement *jacobians, const agx::Real *solution, agx::Real dt) |
| | Peak at the solution after the solver is done. More...
|
| |
| void | postSolveIndexSetCallback (const int8_t *state) |
| | Callback after the solver is done about the state of each equation in the constraint. More...
|
| |
| virtual void | prepare () |
| | Prepares this constraint. More...
|
| |
| virtual bool | rebind () |
| | The general version of rebind takes the first attachment frame and moves the other attachment frame so they have the exact same world transform. More...
|
| |
| virtual bool | removeElementaryConstraint (agx::ElementaryConstraint *elementaryConstraint) |
| | Remove elementary constraint. More...
|
| |
| virtual bool | removeElementaryConstraint (const agx::String &name) |
| | Remove elementary constraint. More...
|
| |
| virtual void | removeNotification () |
| | Callback when this constraint is removed from Simulation. More...
|
| |
| virtual bool | removeSecondaryConstraint (agx::ElementaryConstraint *secondaryConstraint) |
| | Remove secondary constraint. More...
|
| |
| virtual bool | removeSecondaryConstraint (const agx::String &name) |
| | Remove secondary constraint. More...
|
| |
| void | reset () |
| | Reset the solution vectors of the primary and secondary elementary constraints in the implementation. More...
|
| |
| void | setBlockRowIndex (agx::UInt blockRowIndex) |
| | Sets the global start index for this constraint in the global, non-permuted matrix. More...
|
| |
| virtual void | setEnable (bool enable) |
| | Sets the enable flag. More...
|
| |
| virtual void | setEnableComputeForces (agx::Bool enable) |
| | Enable (or disable) computation of the forces applied to the dynamic bodies in this constraint. More...
|
| |
| void | setEnableLinearization (bool enable) |
| | Control whether or not linearization should be performed on the ElementaryConstraints that require it, such as QuatLock. More...
|
| |
| void | setSolveType (Constraint::SolveType type) |
| | Set solve type, either DIRECT, ITERATIVE or DIRECT_AND_ITERATIVE. More...
|
| |
| void | sort () |
| | This method will sort this constraint by global indexing of the bodies. More...
|
| |
| virtual CALLABLE_IGNORE void | updateComplianceMatrix (LSquareComplianceMatrix matrix) const |
| | Callback with read/write access to the compliance matrix of this constraint in the direct solver. More...
|
| |
| virtual agx::Attachment * | userAPIgetAttachment (agx::UInt) const |
| |
| virtual agx::Attachment * | userAPIgetAttachment (const agx::RigidBody *) const |
| |
| agx::Real | userAPIgetCompliance (agx::UInt dof) const |
| |
| agx::Real | userAPIgetCurrentForce (agx::UInt dof) const |
| | Consider using getLastForce instead. More...
|
| |
| agx::Real | userAPIgetDamping (agx::UInt dof) const |
| |
| agx::RangeReal | userAPIgetForceRange (agx::UInt dof) const |
| | Get the force range for DOF dof. More...
|
| |
| agx::RegularizationParameters * | userAPIgetRegularizationParameters (agx::UInt i) |
| | Get the regularization parameter i, i.e., the regularization parameter for equation i which is constraint dependent. More...
|
| |
| const agx::RegularizationParameters * | userAPIgetRegularizationParameters (agx::UInt i) const |
| |
| void | userAPIsetCompliance (agx::Real compliance, int dof) |
| | Set the compliance for constraint row i of this constraint. More...
|
| |
| void | userAPIsetDamping (agx::Real damping, int dof) |
| | Set the damping for constraint row i of this constraint. More...
|
| |
| void | userAPIsetForceRange (agx::RangeReal forceRange, agx::Int dof) |
| | Assign force range, of an elementary constraint, for a given DOF. More...
|
| |
| virtual | ~Serializable () |
| | Destructor for normal C++ use but hidden from SWIG bindings. More...
|
| |
| bool | getEnableSerialization () const |
| |
| bool | getEnableUuidGeneration () |
| |
| agx::UInt32 | getIndex () const |
| | This index is given at creation of this object. More...
|
| |
| 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...
|
| |
Constraint implementation that constrains the velocity of the rotational dimensions of a number bodies.
Definition at line 253 of file PowerLineConstraints.h.