com.visioglobe.libVisioDevKit
Class VgSplineVectorFunctorDescriptor

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

public class VgSplineVectorFunctorDescriptor
extends VgFunctorDescriptor

This class describes a functor that approximates a sequence of vectors with a spline. It also has the ability to specify a "distance from spline". It is the metric distance the animated object will be from the spline along it's negative Z axis.


Field Summary
 
Fields inherited from class com.visioglobe.libVisioDevKit.VgReferenced
swigCMemOwn, swigRefPtr
 
Constructor Summary
VgSplineVectorFunctorDescriptor(long cPtr, boolean cMemoryOwn)
          Class constructor.
 
Method Summary
static VgSplineVectorFunctorDescriptorRefPtr create()
          This static method returns a new heap-allocated descriptor.
 void delete()
           
static long getCPtr(VgSplineVectorFunctorDescriptor obj)
           
 float getMDistanceFromSpline()
          The distance at which we will place the animated object from the spline.
 VgPositionVector getMPoints()
          The vector of points of the spline
 float getMSplineMetricRadius()
          The maximal metric radius of the rounded angle at spline points
 void setMDistanceFromSpline(float value)
          The distance at which we will place the animated object from the spline.
 void setMPoints(VgPositionVector value)
          The vector of points of the spline
 void setMSplineMetricRadius(float value)
          The maximal metric radius of the rounded angle at spline points
 
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

VgSplineVectorFunctorDescriptor

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

Method Detail

getCPtr

public static long getCPtr(VgSplineVectorFunctorDescriptor obj)

delete

public void delete()
Overrides:
delete in class VgFunctorDescriptor

create

public static VgSplineVectorFunctorDescriptorRefPtr 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.


setMPoints

public void setMPoints(VgPositionVector value)
The vector of points of the spline


getMPoints

public VgPositionVector getMPoints()
The vector of points of the spline


setMSplineMetricRadius

public void setMSplineMetricRadius(float value)
The maximal metric radius of the rounded angle at spline points


getMSplineMetricRadius

public float getMSplineMetricRadius()
The maximal metric radius of the rounded angle at spline points


setMDistanceFromSpline

public void setMDistanceFromSpline(float value)
The distance at which we will place the animated object from the spline.

Remark:
this parameter is ignored if no orientation spline functor is used.

getMDistanceFromSpline

public float getMDistanceFromSpline()
The distance at which we will place the animated object from the spline.

Remark:
this parameter is ignored if no orientation spline functor is used.

VisioDevKit 2.0, Visioglobe® 2013