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

Static Public Member Functions

static VgEngine::VgRefPtr< VgEngine::VgQuaternionInterpolationFunctorDescriptorcreate ()
 

Public Attributes

VgOrientation mStartOrientation
 
VgOrientation mEndOrientation
 
int mExtraSpins
 
bool mCubic
 
- Public Attributes inherited from VgEngine::VgFunctorDescriptor
float mStartTime
 
float mEndTime
 

Protected Member Functions

 VgQuaternionInterpolationFunctorDescriptor ()
 
virtual ~VgQuaternionInterpolationFunctorDescriptor ()
 
- 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 implements descriptors for orientation interpolation functors. It will simply interpolate between the start and end orientations using spheric linear interpolation. It is possible to set the functor to use a cubic function to have acceleration at start and deceleration at end.

Version
2.0.7729

Constructor & Destructor Documentation

VgEngine::VgQuaternionInterpolationFunctorDescriptor::VgQuaternionInterpolationFunctorDescriptor ( )
protected

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

virtual VgEngine::VgQuaternionInterpolationFunctorDescriptor::~VgQuaternionInterpolationFunctorDescriptor ( )
protectedvirtual

Class destructor.

Member Function Documentation

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

bool VgEngine::VgQuaternionInterpolationFunctorDescriptor::mCubic

This boolean value determines whether a cubic function is used to control the animation velocity. If true, animation will accelerate at the start and decelerate at the end. If set to false, then the animation velocity will be have a constant linear velocity.

The default value is false.

VgOrientation VgEngine::VgQuaternionInterpolationFunctorDescriptor::mEndOrientation

This is the target orientation

int VgEngine::VgQuaternionInterpolationFunctorDescriptor::mExtraSpins

Number of additional full cycles

VgOrientation VgEngine::VgQuaternionInterpolationFunctorDescriptor::mStartOrientation

This is the starting orientation.


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