Chrono::Engine C++ API
Public Member Functions | Protected Attributes
chrono::ChLinkTrajectory Class Reference

#include <ChLinkTrajectory.h>

Inheritance diagram for chrono::ChLinkTrajectory:
Inheritance graph
[legend]
Collaboration diagram for chrono::ChLinkTrajectory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void Copy (ChLinkTrajectory *source)
virtual ChLinknew_Duplicate ()
ChFunctionGet_space_fx ()
void Set_space_fx (ChFunction *m_funct)
geometry::ChLineGet_trajectory_line ()
void Set_trajectory_line (geometry::ChLine *mline)
virtual void UpdateTime (double mytime)
virtual void StreamIN (ChStreamInBinary &mstream)
virtual void StreamOUT (ChStreamOutBinary &mstream)

Protected Attributes

ChFunctionspace_fx
geometry::ChLinetrajectory_line

Detailed Description

ChLinkTrajectory class. This class implements the 'point on an imposed trajectory' constraint. It can be used also to simulate the imposed motion of objects in space (for motion capture, for example).


Member Function Documentation

ChFunction* chrono::ChLinkTrajectory::Get_space_fx ( )

Gets the address of the function s=s(t) telling how the curvilinear parameter of the trajectory changes in time.

void chrono::ChLinkTrajectory::Set_space_fx ( ChFunction m_funct)

Sets the function s=s(t) telling how the curvilinear parameter of the trajectory changes in time.

void chrono::ChLinkTrajectory::StreamIN ( ChStreamInBinary mstream) [virtual]

Method to allow deserializing a persistent binary archive (ex: a file) into transient data.

Reimplemented from chrono::ChLinkLock.

void chrono::ChLinkTrajectory::StreamOUT ( ChStreamOutBinary mstream) [virtual]

Method to allow serializing transient data into a persistent binary archive (ex: a file).

Reimplemented from chrono::ChLinkLock.

void chrono::ChLinkTrajectory::UpdateTime ( double  time) [virtual]

UPDATING PROCEDURES

Reimplemented from chrono::ChLinkLock.


Member Data Documentation

Function s=s(t) telling how the curvilinear parameter of the trajectory is visited in time.