chrono::ChFunctionPositionXYZFunctions Class Reference
Description
A motion function p=f(s) where p(t) is defined with three independent ChFunction objects, each for px, py, pz component.
#include <ChFunctionPositionXYZFunctions.h>
Inheritance diagram for chrono::ChFunctionPositionXYZFunctions:

Collaboration diagram for chrono::ChFunctionPositionXYZFunctions:

Public Member Functions | |
ChFunctionPositionXYZFunctions (const ChFunctionPositionXYZFunctions &other) | |
virtual ChFunctionPositionXYZFunctions * | Clone () const override |
"Virtual" copy constructor. | |
void | SetFunctionX (std::shared_ptr< ChFunction > mx) |
Set the fx(s) function for the X component of the motion, ie. p.x = fx(s) | |
std::shared_ptr< ChFunction > | GetFunctionX () |
Get the fx(s) function for the X component of the motion, ie. p.x = fx(s) | |
void | SetFunctionY (std::shared_ptr< ChFunction > my) |
Set the fy(s) function for the Y component of the motion, ie. p.y = fy(s) | |
std::shared_ptr< ChFunction > | GetFunctionY () |
Get the fy(s) function for the Y component of the motion, ie. p.y = fy(s) | |
void | SetFunctionZ (std::shared_ptr< ChFunction > mz) |
Set the fz(s) function for the Z component of the motion, ie. p.z = fz(s) | |
std::shared_ptr< ChFunction > | GetFunctionZ () |
Get the fz(s) function for the Z component of the motion, ie. p.z = fz(s) | |
virtual ChVector3d | GetPos (double s) const override |
Return the position imposed by the function, at s. | |
virtual ChVector3d | GetLinVel (double s) const override |
Return the linear velocity imposed by the function, at s. | |
virtual ChVector3d | GetLinAcc (double s) const override |
Return the linear acceleration imposed the function, at s. | |
virtual void | ArchiveOut (ChArchiveOut &archive_out) override |
Method to allow serialization of transient data to archives. | |
virtual void | ArchiveIn (ChArchiveIn &archive_in) override |
Method to allow de-serialization of transient data from archives. | |
![]() | |
ChFunctionPosition (const ChFunctionPosition &other) | |
virtual void | Update (double t) |
Update could be implemented by children classes, ex. to launch callbacks. | |
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono/functions/ChFunctionPositionXYZFunctions.h
- /builds/uwsbel/chrono/src/chrono/functions/ChFunctionPositionXYZFunctions.cpp