com.visioglobe.libVisioDevKit
Class VgDiscreteVectorFunctorDescriptor

java.lang.Object
  extended by com.visioglobe.libVisioDevKit.VgReferenced
      extended by com.visioglobe.libVisioDevKit.VgFunctorDescriptor
          extended by com.visioglobe.libVisioDevKit.VgDiscreteVectorFunctorDescriptor

public class VgDiscreteVectorFunctorDescriptor
extends VgFunctorDescriptor

This class describes a functor for positions using discrete samples. The resulting functor will interpolate the positions using linear interpolation. The @link VgDiscreteVectorFunctorDescriptor::mInitialTimestamp mInitialTimestamp @endlink and @link VgDiscreteVectorFunctorDescriptor::mFinalTimestamp mFinalTimestamp @endlink members will be mapped with the animation's duration (meaning that initial timestamp correspond to animation start, and final timestamp will be mapped to animation end) The descriptor must contain at leats one orientation value.


Field Summary
 
Fields inherited from class com.visioglobe.libVisioDevKit.VgReferenced
swigCMemOwn, swigRefPtr
 
Constructor Summary
VgDiscreteVectorFunctorDescriptor(long cPtr, boolean cMemoryOwn)
          Class constructor.
 
Method Summary
static VgDiscreteVectorFunctorDescriptorRefPtr create()
          This static method returns a new heap-allocated descriptor.
 void delete()
           
static long getCPtr(VgDiscreteVectorFunctorDescriptor obj)
           
 double getMFinalTimestamp()
          The final timestamp of the animation in seconds
 double getMInitialTimestamp()
          The initial timestamp of the animation in seconds
 VgLocationValuePairVector getMLocationValues()
          The vector of points paired with the corresponding timestamp in seconds .
 void setMFinalTimestamp(double value)
          The final timestamp of the animation in seconds
 void setMInitialTimestamp(double value)
          The initial timestamp of the animation in seconds
 void setMLocationValues(VgLocationValuePairVector value)
          The vector of points paired with the corresponding timestamp in seconds .
 
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

VgDiscreteVectorFunctorDescriptor

public VgDiscreteVectorFunctorDescriptor(long cPtr,
                                         boolean cMemoryOwn)
Class constructor. This can't be called publicly, instances must be obtained through the VgDiscreteVectorFunctorDescriptor::create method.

Method Detail

getCPtr

public static long getCPtr(VgDiscreteVectorFunctorDescriptor obj)

delete

public void delete()
Overrides:
delete in class VgFunctorDescriptor

create

public static VgDiscreteVectorFunctorDescriptorRefPtr create()
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.


setMLocationValues

public void setMLocationValues(VgLocationValuePairVector value)
The vector of points paired with the corresponding timestamp in seconds . The timestamps are not necessary greater than


getMLocationValues

public VgLocationValuePairVector getMLocationValues()
The vector of points paired with the corresponding timestamp in seconds . The timestamps are not necessary greater than


setMInitialTimestamp

public void setMInitialTimestamp(double value)
The initial timestamp of the animation in seconds


getMInitialTimestamp

public double getMInitialTimestamp()
The initial timestamp of the animation in seconds


setMFinalTimestamp

public void setMFinalTimestamp(double value)
The final timestamp of the animation in seconds


getMFinalTimestamp

public double getMFinalTimestamp()
The final timestamp of the animation in seconds


VisioDevKit 2.0, Visioglobe® 2013