#include <WireContactSolver.h>
|
| | WireParticle (Vec3 position, Vec3 edgeStart, Vec3 edgeEnd, Real mass, Real velocity=Real(0), Real normalForce=0, Real frictionCoeff=0) |
| |
| void | addToTotalForce (Real constraintForce) |
| |
| void | applyVelocityDamping () |
| |
| Vec3 | getEdge () |
| |
| Real | getExternalForce () const |
| |
| Real | getFrictionCoefficient () |
| |
| Real | getInvMass () |
| |
| Real | getMass () |
| |
| Real | getNormalForce () const |
| |
| Vec3 | getPosition () const |
| |
| Real | getTotalForce () |
| |
| Real | getVelocity () const |
| |
| void | integrateExternalForce (Real timestep) |
| |
| void | resetTotalForce () |
| |
| void | setEdge (Vec3 edge) |
| |
| void | setExternalForce (Vec3 externalForce) |
| |
| void | setFrictionCoefficient (Real frictionCoeff) |
| |
| void | setNormalForce (Real normalForce) |
| |
| void | setPosition (Vec3 pos) |
| |
| void | setVelocity (Real velocity) |
| |
| void | updatePosition (Real timestep, Real maxVelocity=agx::Infinity) |
| |
| | 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.
|
| |
Definition at line 29 of file WireContactSolver.h.
◆ WireParticle()
| agx::WireParticle::WireParticle |
( |
Vec3 |
position, |
|
|
Vec3 |
edgeStart, |
|
|
Vec3 |
edgeEnd, |
|
|
Real |
mass, |
|
|
Real |
velocity = Real(0), |
|
|
Real |
normalForce = 0, |
|
|
Real |
frictionCoeff = 0 |
|
) |
| |
|
inline |
◆ ~WireParticle()
| virtual agx::WireParticle::~WireParticle |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ addToTotalForce()
| void agx::WireParticle::addToTotalForce |
( |
Real |
constraintForce | ) |
|
|
inline |
◆ applyVelocityDamping()
| void agx::WireParticle::applyVelocityDamping |
( |
| ) |
|
◆ getEdge()
| Vec3 agx::WireParticle::getEdge |
( |
| ) |
|
|
inline |
◆ getExternalForce()
| Real agx::WireParticle::getExternalForce |
( |
| ) |
const |
|
inline |
◆ getFrictionCoefficient()
| Real agx::WireParticle::getFrictionCoefficient |
( |
| ) |
|
|
inline |
◆ getInvMass()
| Real agx::WireParticle::getInvMass |
( |
| ) |
|
|
inline |
◆ getMass()
| Real agx::WireParticle::getMass |
( |
| ) |
|
|
inline |
◆ getNormalForce()
| Real agx::WireParticle::getNormalForce |
( |
| ) |
const |
|
inline |
◆ getPosition()
| Vec3 agx::WireParticle::getPosition |
( |
| ) |
const |
|
inline |
◆ getTotalForce()
| Real agx::WireParticle::getTotalForce |
( |
| ) |
|
|
inline |
◆ getVelocity()
| Real agx::WireParticle::getVelocity |
( |
| ) |
const |
|
inline |
◆ integrateExternalForce()
| void agx::WireParticle::integrateExternalForce |
( |
Real |
timestep | ) |
|
|
inline |
◆ resetTotalForce()
| void agx::WireParticle::resetTotalForce |
( |
| ) |
|
|
inline |
◆ setEdge()
| void agx::WireParticle::setEdge |
( |
Vec3 |
edge | ) |
|
|
inline |
◆ setExternalForce()
| void agx::WireParticle::setExternalForce |
( |
Vec3 |
externalForce | ) |
|
|
inline |
◆ setFrictionCoefficient()
| void agx::WireParticle::setFrictionCoefficient |
( |
Real |
frictionCoeff | ) |
|
|
inline |
◆ setNormalForce()
| void agx::WireParticle::setNormalForce |
( |
Real |
normalForce | ) |
|
|
inline |
◆ setPosition()
| void agx::WireParticle::setPosition |
( |
Vec3 |
pos | ) |
|
|
inline |
◆ setVelocity()
| void agx::WireParticle::setVelocity |
( |
Real |
velocity | ) |
|
|
inline |
◆ updatePosition()
The documentation for this class was generated from the following file: