|
AGX Dynamics
2.37.3.2
|
Oriented friction box base implementation containing a frame of reference and the primary direction given in that frame. More...
#include <OrientedFrictionModels.h>
Inheritance diagram for agx::OrientedFrictionModelImpl< T >:Public Types | |
| using | Model = T |
Public Member Functions | |
| OrientedFrictionModelImpl (const agx::Frame *refFrame, const agx::Vec3 &primaryDirection, agx::FrictionModel::SolveType solveType) | |
| Construct given frame of reference and primary friction direction. More... | |
| 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. More... | |
| const agx::Vec3 & | getPrimaryDirection () const |
| const agx::Frame * | getReferenceFrame () const |
| void | setPrimaryDirection (const agx::Vec3 &primaryDirection) |
| Assign primary friction direction given in reference frame. More... | |
| void | setReferenceFrame (const agx::Frame *refFrame) |
| Assign frame of reference. More... | |
Protected Member Functions | |
| virtual | ~OrientedFrictionModelImpl () |
Oriented friction box base implementation containing a frame of reference and the primary direction given in that frame.
Definition at line 30 of file OrientedFrictionModels.h.
| using agx::OrientedFrictionModelImpl< T >::Model = T |
Definition at line 33 of file OrientedFrictionModels.h.
| agx::OrientedFrictionModelImpl< T >::OrientedFrictionModelImpl | ( | const agx::Frame * | refFrame, |
| const agx::Vec3 & | primaryDirection, | ||
| agx::FrictionModel::SolveType | solveType | ||
| ) |
Construct given frame of reference and primary friction direction.
| refFrame | - frame of reference |
| primaryDirection | - primary friction direction given in the reference frame |
| solveType | - friction model solve type |
Definition at line 265 of file OrientedFrictionModels.h.
|
protectedvirtual |
Definition at line 273 of file OrientedFrictionModels.h.
|
overridevirtual |
Calculates primary and secondary friction directions in world coordinates given contact point.
Definition at line 302 of file OrientedFrictionModels.h.
| const agx::Vec3 & agx::OrientedFrictionModelImpl< T >::getPrimaryDirection | ( | ) | const |
Definition at line 290 of file OrientedFrictionModels.h.
| const agx::Frame * agx::OrientedFrictionModelImpl< T >::getReferenceFrame | ( | ) | const |
Definition at line 278 of file OrientedFrictionModels.h.
| void agx::OrientedFrictionModelImpl< T >::setPrimaryDirection | ( | const agx::Vec3 & | primaryDirection | ) |
Assign primary friction direction given in reference frame.
| primaryDirection | - primary friction direction |
Definition at line 296 of file OrientedFrictionModels.h.
| void agx::OrientedFrictionModelImpl< T >::setReferenceFrame | ( | const agx::Frame * | refFrame | ) |
Assign frame of reference.
| refFrame | - frame of reference |
Definition at line 284 of file OrientedFrictionModels.h.