|
||||||||
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.VgVectorInterpolationFunctorDescriptor
public class VgVectorInterpolationFunctorDescriptor
This class implements descriptors for vector interpolation functors. It will simply interpolate between the start and end vectors using 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 | |
---|---|
VgVectorInterpolationFunctorDescriptor(long cPtr,
boolean cMemoryOwn)
Class constructor. |
Method Summary | |
---|---|
static VgVectorInterpolationFunctorDescriptorRefPtr |
create()
This static method returns a new heap-allocated descriptor. |
void |
delete()
|
static long |
getCPtr(VgVectorInterpolationFunctorDescriptor obj)
|
boolean |
getMCubic()
This boolean value tells whether we should use a cubic function to add acceleration and deceleration (true) or pure linear with constant velocity (false). |
VgPosition |
getMEndPosition()
The target position. |
VgPosition |
getMStartPosition()
The starting position. |
void |
setMCubic(boolean value)
This boolean value tells whether we should use a cubic function to add acceleration and deceleration (true) or pure linear with constant velocity (false). |
void |
setMEndPosition(VgPosition value)
The target position. |
void |
setMStartPosition(VgPosition value)
The starting position. |
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 VgVectorInterpolationFunctorDescriptor(long cPtr, boolean cMemoryOwn)
Method Detail |
---|
public static long getCPtr(VgVectorInterpolationFunctorDescriptor obj)
public void delete()
delete
in class VgFunctorDescriptor
public static VgVectorInterpolationFunctorDescriptorRefPtr create()
public void setMStartPosition(VgPosition value)
public VgPosition getMStartPosition()
public void setMEndPosition(VgPosition value)
public VgPosition getMEndPosition()
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 |