com.visioglobe.libVisioDevKit
Class VgFunctorDescriptor

java.lang.Object
  extended by com.visioglobe.libVisioDevKit.VgReferenced
      extended by com.visioglobe.libVisioDevKit.VgFunctorDescriptor
Direct Known Subclasses:
VgAxialRotationQuaternionFunctorDescriptor, VgDiscreteQuaternionFunctorDescriptor, VgDiscreteVectorFunctorDescriptor, VgQuaternionInterpolationFunctorDescriptor, VgSinusoidalVectorOffsetFunctorDescriptor, VgSplineOrientationQuaternionFunctorDescriptor, VgSplineVectorFunctorDescriptor, VgVectorInterpolationFunctorDescriptor

public class VgFunctorDescriptor
extends VgReferenced

This is the super class for all functor descriptor classes in the SDK. It simply contains a string that identifies the functor type. This class can not be used directly, only the concrete functor descriptor subclasses can. A functor descriptor class is used to describe an animation which can be applied to a VgEngine::VgSpatial object.


Field Summary
 
Fields inherited from class com.visioglobe.libVisioDevKit.VgReferenced
swigCMemOwn, swigRefPtr
 
Constructor Summary
VgFunctorDescriptor(long cPtr, boolean cMemoryOwn)
          This class constructor is protected to prevent instantiation.
 
Method Summary
 void delete()
           
protected  void finalize()
           
static long getCPtr(VgFunctorDescriptor obj)
           
 float getMEndTime()
          The functor's end time (relative to the animation's start time).
 float getMStartTime()
          The functor start time (relative to the animation's start time).
 void setMEndTime(float value)
          The functor's end time (relative to the animation's start time).
 void setMStartTime(float value)
          The functor start time (relative to the animation's start time).
 
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

VgFunctorDescriptor

public VgFunctorDescriptor(long cPtr,
                           boolean cMemoryOwn)
This class constructor is protected to prevent instantiation. This class can only be instantiated throught it's concrete subclasses.

Method Detail

getCPtr

public static long getCPtr(VgFunctorDescriptor obj)

finalize

protected void finalize()
Overrides:
finalize in class VgReferenced

delete

public void delete()
Overrides:
delete in class VgReferenced

setMStartTime

public void setMStartTime(float value)
The functor start time (relative to the animation's start time). Default value is zero.


getMStartTime

public float getMStartTime()
The functor start time (relative to the animation's start time). Default value is zero.


setMEndTime

public void setMEndTime(float value)
The functor's end time (relative to the animation's start time). If this member is negative when the animation is instantiated, it means animation's end. Default value is -1.


getMEndTime

public float getMEndTime()
The functor's end time (relative to the animation's start time). If this member is negative when the animation is instantiated, it means animation's end. Default value is -1.


VisioDevKit 2.0, Visioglobe® 2013