VisioMove SDK (iOS)
2.1.22
|
Static Public Member Functions | |
static VgRefPtr< VgSinusoidalVectorOffsetFunctorDescriptor > | create () |
Public Attributes | |
float | mBaseVector [3] |
float | mVector [3] |
double | mStartPhase |
double | mEndPhase |
Public Attributes inherited from VgEngine::VgFunctorDescriptor | |
float | mStartTime |
float | mEndTime |
Protected Member Functions | |
VgSinusoidalVectorOffsetFunctorDescriptor () | |
virtual | ~VgSinusoidalVectorOffsetFunctorDescriptor () |
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 () |
VgReferenced & | operator= (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 |
This class implements descriptors for sinusoidal animation of vectors. The sinusoidal vector animation will apply an offset vector weighted by a sinusoidal time-dependent function. The functors described by this class can be used for all animations channels that manage vectors as values. Formula is the following : f(t) = mBaseVector + sin(mStartPhase + t/mDuration * (mEndPhase-mStartPhase)) * mOffsetVector.
|
protected |
Class constructor. This can't be called publicly, instances must be obtained through the VgSinusoidalVectorOffsetFunctorDescriptor::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.
|
friend |
float VgEngine::VgSinusoidalVectorOffsetFunctorDescriptor::mBaseVector[3] |
The base vector.
double VgEngine::VgSinusoidalVectorOffsetFunctorDescriptor::mEndPhase |
The sine function end phase (in radians).
double VgEngine::VgSinusoidalVectorOffsetFunctorDescriptor::mStartPhase |
The sine function start phase (in radians).
float VgEngine::VgSinusoidalVectorOffsetFunctorDescriptor::mVector[3] |
The vector along which we will animate (in local metric frame).