VisioMove SDK (iOS)  2.1.22
VgEngine::VgDiscreteQuaternionFunctorDescriptor Class Reference
Inheritance diagram for VgEngine::VgDiscreteQuaternionFunctorDescriptor:
Inheritance graph

Static Public Member Functions

static VgEngine::VgRefPtr< VgEngine::VgDiscreteQuaternionFunctorDescriptorcreate ()
 

Public Attributes

std::vector< std::pair< VgOrientation, double > > mOrientationValues
 
double mInitialTimestamp
 
double mFinalTimestamp
 
- Public Attributes inherited from VgEngine::VgFunctorDescriptor
float mStartTime
 
float mEndTime
 

Protected Member Functions

 VgDiscreteQuaternionFunctorDescriptor ()
 
virtual ~VgDiscreteQuaternionFunctorDescriptor ()
 
- Protected Member Functions inherited from VgEngine::VgFunctorDescriptor
 VgFunctorDescriptor ()
 

Friends

class VgObjectBridge
 

Additional Inherited Members

- Public Member Functions inherited from VgEngine::VgFunctorDescriptor
virtual ~VgFunctorDescriptor ()
 
- Public Member Functions inherited from VgEngine::VgReferenced
 VgReferenced ()
 
 VgReferenced (const VgReferenced &pThis)
 
virtual ~VgReferenced ()
 
VgReferencedoperator= (const VgReferenced &pThis)
 
void ref () const
 
int unref () const
 
int getNbReferences () const
 
- Protected Attributes inherited from VgEngine::VgFunctorDescriptor
Private * mPrivate
 
- Protected Attributes inherited from VgEngine::VgReferenced
int mNbReferences
 

Detailed Description

This class describes a functor for orientations using discrete samples. The resulting functor will interpolate the orientations using spheric linear quaternion 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::VgDiscreteQuaternionFunctorDescriptor::VgDiscreteQuaternionFunctorDescriptor ( )
protected

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

virtual VgEngine::VgDiscreteQuaternionFunctorDescriptor::~VgDiscreteQuaternionFunctorDescriptor ( )
protectedvirtual

Class destructor.

Member Function Documentation

static VgEngine::VgRefPtr< VgEngine::VgDiscreteQuaternionFunctorDescriptor > VgEngine::VgDiscreteQuaternionFunctorDescriptor::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

Member Data Documentation

double VgEngine::VgDiscreteQuaternionFunctorDescriptor::mFinalTimestamp

The final timestamp of the animation in seconds

double VgEngine::VgDiscreteQuaternionFunctorDescriptor::mInitialTimestamp

The initial timestamp of the animation in seconds

std::vector< std::pair<VgOrientation, double> > VgEngine::VgDiscreteQuaternionFunctorDescriptor::mOrientationValues

The vector of orientations paired with the corresponding timestamp in seconds. The timestamps are not necessarily greater than mInitialTimestamp or lower than mFinalTimestamp .


The documentation for this class was generated from the following file:
VisioMove 2.1.22, Visioglobe® 2016