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

VgEngine::VgQuaternionInterpolationFunctorDescriptor Class Reference

This class implements descriptors for orientation interpolation functors. More...

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

List of all members.

Static Public Member Functions

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

Public Attributes

VgOrientation mStartOrientation
 This is the starting orientation.
VgOrientation mEndOrientation
 This is the target orientation.
int mExtraSpins
 Number of additional full cycles.
bool mCubic
 This boolean value tells whether a cubic function should be used to add acceleration and deceleration (true) or pure linear with constant velocity (false).

Protected Member Functions

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

Friends

class VgObjectBridge

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 (  ) [protected, virtual]

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]

Reimplemented from VgEngine::VgFunctorDescriptor.


Member Data Documentation

This boolean value tells whether a cubic function should be used to add acceleration and deceleration (true) or pure linear with constant velocity (false).

This is the target orientation.

Number of additional full cycles.

This is the starting orientation.


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