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


| Static Public Member Functions | |
| static VgRefPtr < VgVectorInterpolationFunctorDescriptor > | create () | 
| This static method returns a new heap-allocated descriptor. | |
| Public Attributes | |
| VgEngine::VgPosition | mStartPosition | 
| The starting position. | |
| VgEngine::VgPosition | mEndPosition | 
| The target position. | |
| bool | mCubic | 
| This boolean value tells whether we should use a cubic function to add acceleration and deceleration (true) or pure linear with constant velocity (false). | |
| Protected Member Functions | |
| VgVectorInterpolationFunctorDescriptor () | |
| Class constructor. | |
| virtual | ~VgVectorInterpolationFunctorDescriptor () | 
| Class destructor. | |
| Friends | |
| class | VgObjectBridge | 
This class implements descriptors for vector interpolation functors.
It will simply interpolate between the start and end vectors using linear interpolation. It is possible to set the functor to use a cubic function to have acceleration at start and deceleration at end.
| VgEngine::VgVectorInterpolationFunctorDescriptor::VgVectorInterpolationFunctorDescriptor | ( | ) |  [protected] | 
Class constructor.
This can't be called publicly, instances must be obtained through the VgVectorInterpolationFunctorDescriptor::create method.
| virtual VgEngine::VgVectorInterpolationFunctorDescriptor::~VgVectorInterpolationFunctorDescriptor | ( | ) |  [protected, virtual] | 
Class destructor.
| static VgRefPtr< VgVectorInterpolationFunctorDescriptor > VgEngine::VgVectorInterpolationFunctorDescriptor::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.
| friend class VgObjectBridge  [friend] | 
Reimplemented from VgEngine::VgFunctorDescriptor.
This boolean value tells whether we should use a cubic function to add acceleration and deceleration (true) or pure linear with constant velocity (false).
The target position.
The starting position.