Static Public Member Functions | Public Attributes | Protected Member Functions | Friends

VgEngine::VgDiscreteVectorFunctorDescriptor Class Reference

This class describes a functor for positions using discrete samples. More...

Inheritance diagram for VgEngine::VgDiscreteVectorFunctorDescriptor:
Inheritance graph
[legend]
Collaboration diagram for VgEngine::VgDiscreteVectorFunctorDescriptor:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static VgEngine::VgRefPtr
< VgEngine::VgDiscreteVectorFunctorDescriptor
create ()
 This static method returns a new heap-allocated descriptor.

Public Attributes

std::vector< std::pair
< VgEngine::VgPosition, double > > 
mLocationValues
 The vector of points paired with the corresponding timestamp in seconds .
double mInitialTimestamp
 The initial timestamp of the animation in seconds.
double mFinalTimestamp
 The final timestamp of the animation in seconds.

Protected Member Functions

 VgDiscreteVectorFunctorDescriptor ()
 Class constructor.
virtual ~VgDiscreteVectorFunctorDescriptor ()
 Class destructor.

Friends

class VgObjectBridge

Detailed Description

This class describes a functor for positions using discrete samples.

The resulting functor will interpolate the positions using linear interpolation. The mInitialTimestamp and mFinalTimestamp members will be mapped with the animation's duration (meaning that initial timestamp correspond to animation start, and final timestamp will be mapped to animation end) The descriptor must contain at leats one orientation value.

Version:
2.0.7729

Constructor & Destructor Documentation

VgEngine::VgDiscreteVectorFunctorDescriptor::VgDiscreteVectorFunctorDescriptor (  ) [protected]

Class constructor.

This can't be called publicly, instances must be obtained through the VgDiscreteVectorFunctorDescriptor::create method.

virtual VgEngine::VgDiscreteVectorFunctorDescriptor::~VgDiscreteVectorFunctorDescriptor (  ) [protected, virtual]

Class destructor.


Member Function Documentation

static VgEngine::VgRefPtr< VgEngine::VgDiscreteVectorFunctorDescriptor > VgEngine::VgDiscreteVectorFunctorDescriptor::create (  ) [static]

This static method returns a new heap-allocated descriptor.

It is the only method that should be used to instantiate new descriptors. It is a way to make sure no one will delete it, except the last VgRefPtr pointing to it.


Friends And Related Function Documentation

friend class VgObjectBridge [friend]

Reimplemented from VgEngine::VgFunctorDescriptor.


Member Data Documentation

The final timestamp of the animation in seconds.

The initial timestamp of the animation in seconds.

The vector of points paired with the corresponding timestamp in seconds .

The timestamps are not necessary greater than mInitialTimestamp or lower than mFinalTimestamp.


The documentation for this class was generated from the following file:
VisioDevKit 2.0, Visioglobe® 2013