VisioMove
2.1.5
|
This class describes a functor that approximates a sequence of vectors with a spline. More...
Static Public Member Functions | |
static VgRefPtr < VgSplineVectorFunctorDescriptor > | create () |
This static method returns a new heap-allocated descriptor. More... | |
Public Attributes | |
std::vector< VgPosition > | mPoints |
The vector of points of the spline. More... | |
float | mSplineMetricRadius |
The maximal metric radius of the rounded angle at spline points. More... | |
float | mDistanceFromSpline |
The distance at which we will place the animated object from the spline. More... | |
![]() | |
float | mStartTime |
The functor start time (relative to the animation's start time). More... | |
float | mEndTime |
The functor's end time (relative to the animation's start time). More... | |
Protected Member Functions | |
VgSplineVectorFunctorDescriptor () | |
Class constructor. More... | |
virtual | ~VgSplineVectorFunctorDescriptor () |
Class destructor. More... | |
![]() | |
VgFunctorDescriptor () | |
This class constructor is protected to prevent instantiation. More... | |
Additional Inherited Members | |
![]() | |
virtual | ~VgFunctorDescriptor () |
Class destructor. More... | |
![]() | |
VgReferenced () | |
Constructor. More... | |
VgReferenced (const VgReferenced &pThis) | |
Copy constructor. More... | |
virtual | ~VgReferenced () |
Destructor. More... | |
VgReferenced & | operator= (const VgReferenced &pThis) |
Assignment operator. More... | |
void | ref () const |
This method is used to add a reference to this object. More... | |
int | unref () const |
This method is used to remove a reference to this object. More... | |
int | getNbReferences () const |
Retrieves the number of references to this object. More... | |
![]() | |
Private * | mPrivate |
![]() | |
int | mNbReferences |
The number of references to this object. More... | |
This class describes a functor that approximates a sequence of vectors with a spline.
It also has the ability to specify a "distance from spline". It is the metric distance the animated object will be from the spline along it's negative Z axis.
|
protected |
Class constructor.
This can't be called publicly, instances must be obtained through the VgSplineVectorFunctorDescriptor::create method.
|
protectedvirtual |
Class destructor.
|
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.
float VgEngine::VgSplineVectorFunctorDescriptor::mDistanceFromSpline |
The distance at which we will place the animated object from the spline.
std::vector< VgPosition > VgEngine::VgSplineVectorFunctorDescriptor::mPoints |
The vector of points of the spline.
float VgEngine::VgSplineVectorFunctorDescriptor::mSplineMetricRadius |
The maximal metric radius of the rounded angle at spline points.