VisioMove SDK (Android)
2.1.22
|
Public Member Functions | |
void | setMBaseVector (float[] value) |
float[] | getMBaseVector () |
void | setMVector (float[] value) |
float[] | getMVector () |
void | setMStartPhase (double value) |
double | getMStartPhase () |
void | setMEndPhase (double value) |
double | getMEndPhase () |
![]() | |
void | setMStartTime (float value) |
float | getMStartTime () |
void | setMEndTime (float value) |
float | getMEndTime () |
![]() | |
synchronized void | release () |
VgReferenced () | |
VgReferenced (VgReferenced pThis) | |
void | ref () |
int | unref () |
int | getNbReferences () |
Static Public Member Functions | |
static VgSinusoidalVectorOffsetFunctorDescriptorRefPtr | create () |
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.
|
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 [] VgSinusoidalVectorOffsetFunctorDescriptor.getMBaseVector | ( | ) |
double VgSinusoidalVectorOffsetFunctorDescriptor.getMEndPhase | ( | ) |
double VgSinusoidalVectorOffsetFunctorDescriptor.getMStartPhase | ( | ) |
float [] VgSinusoidalVectorOffsetFunctorDescriptor.getMVector | ( | ) |
void VgSinusoidalVectorOffsetFunctorDescriptor.setMBaseVector | ( | float[] | value | ) |
void VgSinusoidalVectorOffsetFunctorDescriptor.setMEndPhase | ( | double | value | ) |
void VgSinusoidalVectorOffsetFunctorDescriptor.setMStartPhase | ( | double | value | ) |
void VgSinusoidalVectorOffsetFunctorDescriptor.setMVector | ( | float[] | value | ) |