vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
TimeLineSpline.h
Go to the documentation of this file.
1
#pragma once
2
#include "Spline.h"
3
4
5
#define TIMELINE__ZERO_TIME 0.0
6
#define TIMELINE__FULLY_VISIBLE -1.0
7
16
class
TimeLineSpline
:
public
SplineDecorator
17
{
18
19
public
:
20
TimeLineSpline
(DoubleArrayPtr timeStamps, SplinePtr decoratedSpline);
21
23
META_DAObjectDecorator
(_decoratedSpline,
TimeLineSpline
,
"Time line Spline"
)
24
25
virtual
Vec3ArrayPtr
getPoints();
26
27
void
setTime
(
double
time);
28
29
30
31
protected
:
32
33
// time (in seconds) of spline
34
double
_time
;
35
36
// pointer to array with timestamps
37
DoubleArrayPtr
_timeStamps
;
38
};
39
40
typedef
osg::ref_ptr<TimeLineSpline>
TimeLineSplinePtr
;
41
include
vreckoAP
DynamicArt
TimeLineSpline.h
Generated on Tue Feb 19 2013 10:23:43 for vrecko by
1.8.3.1