Transition Class Reference

#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/Model/Transition.h>

Public Member Functions

UserWaypointPtr getEnd ()
 Returns the end UserWaypoint of the transition. More...
 
InterpolationType getInterpolationType () const
 Returns the interpolation type of the transition. More...
 
UserWaypointPtr getStart ()
 Returns the start UserWaypoint of the transition. More...
 
double getTimeOptimalDuration () const
 Returns the time optimal duration calculated by TrajectoryCalculation. More...
 
TrajectoryPtr getTrajectory ()
 Returns the armarx::Trajectory of the transition. More...
 
double getUserDuration () const
 Returns the user duration of the transition. More...
 
void setEnd (const UserWaypointPtr &value)
 set the end userwaypoint of the transition More...
 
void setInterpolationType (const InterpolationType &value)
 Set the intpolation type of the transition. More...
 
void setStart (const UserWaypointPtr &value)
 set the start userwaypoint of the transition More...
 
void setTimeOptimalDuration (double value)
 set the time optimal duration and set the userDuration if its less than time optimal duration More...
 
void setTrajectory (const TrajectoryPtr &value)
 set the time optimal trajectory of the transition More...
 
void setUserDuration (double value)
 Set the user duration of the transition and tests if it is greater than the time optimal duration. More...
 
 Transition (const Transition &source, const UserWaypointPtr newStart, const UserWaypointPtr newEnd)
 Deep copy constructor of the class Transition. More...
 
 Transition (UserWaypointPtr &newStart, UserWaypointPtr &newEnd)
 Transition. More...
 

Detailed Description

Definition at line 36 of file Transition.h.

Constructor & Destructor Documentation

◆ Transition() [1/2]

Transition ( UserWaypointPtr newStart,
UserWaypointPtr newEnd 
)

Transition.

Parameters
newStart
newEnd

Definition at line 107 of file Transition.cpp.

◆ Transition() [2/2]

Transition ( const Transition source,
const UserWaypointPtr  newStart,
const UserWaypointPtr  newEnd 
)

Deep copy constructor of the class Transition.

Parameters
sourceto copy

Definition at line 130 of file Transition.cpp.

Member Function Documentation

◆ getEnd()

UserWaypointPtr getEnd ( )

Returns the end UserWaypoint of the transition.

Returns
end user waypoint

Definition at line 90 of file Transition.cpp.

+ Here is the caller graph for this function:

◆ getInterpolationType()

InterpolationType getInterpolationType ( ) const

Returns the interpolation type of the transition.

See also
InterpolationType
Returns

Definition at line 53 of file Transition.cpp.

+ Here is the caller graph for this function:

◆ getStart()

UserWaypointPtr getStart ( )

Returns the start UserWaypoint of the transition.

Returns
start user waypoint

Definition at line 73 of file Transition.cpp.

+ Here is the caller graph for this function:

◆ getTimeOptimalDuration()

double getTimeOptimalDuration ( ) const

Returns the time optimal duration calculated by TrajectoryCalculation.

Returns
time optimal duration

Definition at line 30 of file Transition.cpp.

+ Here is the caller graph for this function:

◆ getTrajectory()

TrajectoryPtr getTrajectory ( )

Returns the armarx::Trajectory of the transition.

Returns
trajectory

Definition at line 63 of file Transition.cpp.

◆ getUserDuration()

double getUserDuration ( ) const

Returns the user duration of the transition.

Returns
user duration

Definition at line 5 of file Transition.cpp.

+ Here is the caller graph for this function:

◆ setEnd()

void setEnd ( const UserWaypointPtr value)

set the end userwaypoint of the transition

Parameters
valueend

Definition at line 95 of file Transition.cpp.

+ Here is the call graph for this function:

◆ setInterpolationType()

void setInterpolationType ( const InterpolationType value)

Set the intpolation type of the transition.

Parameters
vlaueinterpolation type

Definition at line 58 of file Transition.cpp.

+ Here is the call graph for this function:

◆ setStart()

void setStart ( const UserWaypointPtr value)

set the start userwaypoint of the transition

Parameters
valuestart

Definition at line 78 of file Transition.cpp.

+ Here is the call graph for this function:

◆ setTimeOptimalDuration()

void setTimeOptimalDuration ( double  value)

set the time optimal duration and set the userDuration if its less than time optimal duration

Parameters
valuetime

Definition at line 35 of file Transition.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setTrajectory()

void setTrajectory ( const TrajectoryPtr value)

set the time optimal trajectory of the transition

Parameters
valuetrajectory

Definition at line 68 of file Transition.cpp.

+ Here is the call graph for this function:

◆ setUserDuration()

void setUserDuration ( double  value)

Set the user duration of the transition and tests if it is greater than the time optimal duration.

Updates the user timestamps of the start and end UserWaypoint.

Parameters
value

Definition at line 10 of file Transition.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: