|
||||||||
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.VgAxialRotationQuaternionFunctorDescriptor
public class VgAxialRotationQuaternionFunctorDescriptor
This class implements descriptors for axial rotation functors. It will simply interpolate between two angle values and apply rotation of the given angle along the axis. It is possible to set the functor to use a cubic function to have acceleration at start and deceleration at end. There is a possibility of setting a fixed pre-orientation value that will be applied prior to the interpolation's value.
Field Summary |
---|
Fields inherited from class com.visioglobe.libVisioDevKit.VgReferenced |
---|
swigCMemOwn, swigRefPtr |
Constructor Summary | |
---|---|
VgAxialRotationQuaternionFunctorDescriptor(long cPtr,
boolean cMemoryOwn)
Class constructor. |
Method Summary | |
---|---|
static VgAxialRotationQuaternionFunctorDescriptorRefPtr |
create()
This static method returns a new heap-allocated descriptor. |
void |
delete()
|
static long |
getCPtr(VgAxialRotationQuaternionFunctorDescriptor obj)
|
float[] |
getMAxis()
The rotation axis. |
boolean |
getMCubic()
This boolean value tells whether a cubic function should be used to add acceleration and deceleration (true) or pure linear with constant velocity (false). |
float |
getMEndAngle()
This is the target rotation angle (in degrees). |
VgOrientation |
getMPreOrientation()
The pre-orientation value. |
float |
getMStartAngle()
This is the starting rotation angle (in degrees). |
void |
setMAxis(float[] value)
The rotation axis. |
void |
setMCubic(boolean value)
This boolean value tells whether a cubic function should be used to add acceleration and deceleration (true) or pure linear with constant velocity (false). |
void |
setMEndAngle(float value)
This is the target rotation angle (in degrees). |
void |
setMPreOrientation(VgOrientation value)
The pre-orientation value. |
void |
setMStartAngle(float value)
This is the starting rotation angle (in degrees). |
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 VgAxialRotationQuaternionFunctorDescriptor(long cPtr, boolean cMemoryOwn)
Method Detail |
---|
public static long getCPtr(VgAxialRotationQuaternionFunctorDescriptor obj)
public void delete()
delete
in class VgFunctorDescriptor
public static VgAxialRotationQuaternionFunctorDescriptorRefPtr create()
public void setMPreOrientation(VgOrientation value)
public VgOrientation getMPreOrientation()
public void setMAxis(float[] value)
public float[] getMAxis()
public void setMStartAngle(float value)
public float getMStartAngle()
public void setMEndAngle(float value)
public float getMEndAngle()
public void setMCubic(boolean value)
public boolean getMCubic()
|
VisioDevKit 2.0, Visioglobe® 2013 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |