|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.RotationalSpline
public class RotationalSpline
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
RotationalSpline()
|
|
RotationalSpline(InstancePointer p)
This constructor is public for internal useage only! |
protected |
RotationalSpline(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
RotationalSpline(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
void |
addPoint(IQuaternion p)
Adds a control point to the end of the spline. |
void |
clear()
Clears all the points in the spline. |
void |
delete()
Deletes the corresponding C++ object. |
void |
finalize()
|
int |
getNumPoints()
Gets the number of control points in the spline. |
IQuaternion |
getPoint(int index)
Gets the detail of one of the control points of the spline. |
void |
interpolate(IQuaternion returnValue,
float t,
boolean useShortestPath)
Returns an interpolated point based on a parametric value over the whole series. |
void |
interpolate(IQuaternion returnValue,
long fromIndex,
float t,
boolean useShortestPath)
Interpolates a single segment of the spline given a parametric value. |
void |
recalcTangents()
Recalculates the tangents associated with this spline. |
void |
setAutoCalculate(boolean autoCalc)
Tells the spline whether it should automatically calculate tangents on demand as points are added. |
void |
updatePoint(int index,
IQuaternion value)
Updates a single point in the spline. |
| Methods inherited from class org.xbig.base.NativeObject |
|---|
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Constructor Detail |
|---|
public RotationalSpline(InstancePointer p)
protected RotationalSpline(InstancePointer p,
boolean remote)
public RotationalSpline(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()public RotationalSpline()
| Method Detail |
|---|
public void delete()
INativeObjectSubclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!
delete in interface INativeObjectdelete in class NativeObject#remotepublic void finalize()
finalize in class NativeObjectpublic void addPoint(IQuaternion p)
addPoint in interface IRotationalSplinepublic IQuaternion getPoint(int index)
getPoint in interface IRotationalSplinepublic int getNumPoints()
getNumPoints in interface IRotationalSplinepublic void clear()
clear in interface IRotationalSpline
public void updatePoint(int index,
IQuaternion value)
updatePoint in interface IRotationalSpline
public void interpolate(IQuaternion returnValue,
float t,
boolean useShortestPath)
interpolate in interface IRotationalSpline
public void interpolate(IQuaternion returnValue,
long fromIndex,
float t,
boolean useShortestPath)
interpolate in interface IRotationalSplinepublic void setAutoCalculate(boolean autoCalc)
setAutoCalculate in interface IRotationalSplinepublic void recalcTangents()
recalcTangents in interface IRotationalSpline
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||