vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TimeLineSpline Class Reference

#include <TimeLineSpline.h>

Inheritance diagram for TimeLineSpline:

Public Member Functions

 TimeLineSpline (DoubleArrayPtr timeStamps, SplinePtr decoratedSpline)
 
 META_DAObjectDecorator (_decoratedSpline, TimeLineSpline,"Time line Spline") virtual Vec3ArrayPtr getPoints()
 
void setTime (double time)
 

Protected Attributes

double _time
 
DoubleArrayPtr _timeStamps
 

Detailed Description

Returns only part of decorated spline, based on set time - samples with timestamp bigger than threshold are discarded.

TODO

Warning
ONLY SAMPLED SPLINE should be used as decorated spline, otherwise, it will not work
also, minSample distance of sampled spline have to be set to 0.0 if time-line should work properly

Constructor & Destructor Documentation

TimeLineSpline::TimeLineSpline ( DoubleArrayPtr  timeStamps,
SplinePtr  decoratedSpline 
)

Member Function Documentation

TimeLineSpline::META_DAObjectDecorator ( _decoratedSpline  ,
TimeLineSpline  ,
"Time line Spline"   
)

Inherited methods

void TimeLineSpline::setTime ( double  time)

Member Data Documentation

double TimeLineSpline::_time
protected
DoubleArrayPtr TimeLineSpline::_timeStamps
protected

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