|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.visioglobe.libVisioDevKit.VgReferenced
com.visioglobe.libVisioDevKit.VgFunctorDescriptor
com.visioglobe.libVisioDevKit.VgSinusoidalVectorOffsetFunctorDescriptor
public class VgSinusoidalVectorOffsetFunctorDescriptor
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.
Field Summary |
---|
Fields inherited from class com.visioglobe.libVisioDevKit.VgReferenced |
---|
swigCMemOwn, swigRefPtr |
Constructor Summary | |
---|---|
VgSinusoidalVectorOffsetFunctorDescriptor(long cPtr,
boolean cMemoryOwn)
Class constructor. |
Method Summary | |
---|---|
static VgSinusoidalVectorOffsetFunctorDescriptorRefPtr |
create()
This static method returns a new heap-allocated descriptor. |
void |
delete()
|
static long |
getCPtr(VgSinusoidalVectorOffsetFunctorDescriptor obj)
|
float[] |
getMBaseVector()
The base vector. |
double |
getMEndPhase()
The sine function end phase (in radians). |
double |
getMStartPhase()
The sine function start phase (in radians). |
float[] |
getMVector()
The vector along which we will animate (in local metric frame). |
void |
setMBaseVector(float[] value)
The base vector. |
void |
setMEndPhase(double value)
The sine function end phase (in radians). |
void |
setMStartPhase(double value)
The sine function start phase (in radians). |
void |
setMVector(float[] value)
The vector along which we will animate (in local metric frame). |
Methods inherited from class com.visioglobe.libVisioDevKit.VgFunctorDescriptor |
---|
finalize, getCPtr, getMEndTime, getMStartTime, setMEndTime, setMStartTime |
Methods inherited from class com.visioglobe.libVisioDevKit.VgReferenced |
---|
getCPtr, getNbReferences, ref, unref |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VgSinusoidalVectorOffsetFunctorDescriptor(long cPtr, boolean cMemoryOwn)
Method Detail |
---|
public static long getCPtr(VgSinusoidalVectorOffsetFunctorDescriptor obj)
public void delete()
delete
in class VgFunctorDescriptor
public static VgSinusoidalVectorOffsetFunctorDescriptorRefPtr create()
public void setMBaseVector(float[] value)
public float[] getMBaseVector()
public void setMVector(float[] value)
public float[] getMVector()
public void setMStartPhase(double value)
public double getMStartPhase()
public void setMEndPhase(double value)
public double getMEndPhase()
|
VisioDevKit 2.0, Visioglobe® 2013 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |