|
||||||||
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.VgQuaternionInterpolationFunctorDescriptor
public class VgQuaternionInterpolationFunctorDescriptor
This class implements descriptors for orientation interpolation functors. It will simply interpolate between the start and end orientations using spheric linear interpolation. It is possible to set the functor to use a cubic function to have acceleration at start and deceleration at end.
Field Summary |
---|
Fields inherited from class com.visioglobe.libVisioDevKit.VgReferenced |
---|
swigCMemOwn, swigRefPtr |
Constructor Summary | |
---|---|
VgQuaternionInterpolationFunctorDescriptor(long cPtr,
boolean cMemoryOwn)
Class constructor. |
Method Summary | |
---|---|
static VgQuaternionInterpolationFunctorDescriptorRefPtr |
create()
This static method returns a new heap-allocated descriptor. |
void |
delete()
|
static long |
getCPtr(VgQuaternionInterpolationFunctorDescriptor obj)
|
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). |
VgOrientation |
getMEndOrientation()
This is the target orientation |
int |
getMExtraSpins()
Number of additional full cycles |
VgOrientation |
getMStartOrientation()
This is the starting orientation. |
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 |
setMEndOrientation(VgOrientation value)
This is the target orientation |
void |
setMExtraSpins(int value)
Number of additional full cycles |
void |
setMStartOrientation(VgOrientation value)
This is the starting orientation. |
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 VgQuaternionInterpolationFunctorDescriptor(long cPtr, boolean cMemoryOwn)
Method Detail |
---|
public static long getCPtr(VgQuaternionInterpolationFunctorDescriptor obj)
public void delete()
delete
in class VgFunctorDescriptor
public static VgQuaternionInterpolationFunctorDescriptorRefPtr create()
public void setMStartOrientation(VgOrientation value)
public VgOrientation getMStartOrientation()
public void setMEndOrientation(VgOrientation value)
public VgOrientation getMEndOrientation()
public void setMExtraSpins(int value)
public int getMExtraSpins()
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 |