MULTIBODY SIMULATION SOFTWARE - API documentation

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.

geometry::ChLine* chrono::ChLinkTrajectory::Get_trajectory_line (  ) 

Get the address of the trajectory line.

void chrono::ChLinkTrajectory::Set_trajectory_line ( geometry::ChLine mline  ) 

Sets the trajectory line (take ownership - does not copy line).

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

UPDATING PROCEDURES

Reimplemented from chrono::ChLinkLock.

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.


Member Data Documentation

ChFunction* chrono::ChLinkTrajectory::space_fx [protected]

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

geometry::ChLine* chrono::ChLinkTrajectory::trajectory_line [protected]

The line for the trajectory.


CHRONO::ENGINE
C++ library for multibody simulation, (C) Alessandro Tasora
This API documentation has been generated on 17 Jul 2009 by Doxygen