|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectRotationInterpolator
com.vwp.j3d.utils.behaviors.interpolators.RotationInterpolatorX
public class RotationInterpolatorX
This class bases on different interpolator classes from com.sun.j3d.utils.behaviours.interpolators and performs a rotation interpolation around the X axis
| Constructor Summary | |
|---|---|
RotationInterpolatorX(Alpha alpha,
TransformGroup target)
Constructor for a rotation interpolator object |
|
RotationInterpolatorX(Alpha alpha,
TransformGroup transformgroup,
double x,
double y,
double z)
Constructor for a rotation interpolator object |
|
RotationInterpolatorX(Alpha alpha,
TransformGroup transformgroup,
Transform3D transform3d,
double f,
double f1,
double x,
double y,
double z)
Constructor for a rotation interpolator object |
|
| Method Summary | |
|---|---|
void |
emulateFrameSwitch(int framerate)
This method lets this Interpolator work also if no frame switching occurs |
float |
getMaximumAngle()
Returns the end angle for the rotation interpolator |
float |
getMinimumAngle()
Returns the start angle for the rotation interpolator |
TransformGroup |
getTarget()
Returns the TransformGroup which is target for the actual rotation interpolator |
void |
processStimulus(java.util.Enumeration enumeration)
|
void |
setBaseRotation(double x,
double y,
double z)
Sets the initial rotation angles for the actual used transform group; one of these axises is modified by the appropriate rotation interpolator |
void |
setMaximumAngle(float f)
Sets the end angle for the rotation interpolator |
void |
setMinimumAngle(float f)
Sets the start angle for the rotation interpolator |
void |
setTarget(TransformGroup transformgroup)
Sets the TransformGroup which has to be the target for the actual rotation interpolator |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RotationInterpolatorX(Alpha alpha,
TransformGroup target)
alpha - An Alpha object which describes the rotation that has to be
performedtarget - The transform group which has to be used to perform
the rotation with
public RotationInterpolatorX(Alpha alpha,
TransformGroup transformgroup,
double x,
double y,
double z)
alpha - An Alpha object which describes the rotation that has to be
performedtransformgroup - The transform group which has to be used to perform
the rotation withx - Initial x-angle, this value will be modified during this
interpolator is activey - Initial y-angle, this angle will not be influenced or modified by
this interpolatorz - Initial z-angle, this angle will not be influenced or modified by
this interpolator
public RotationInterpolatorX(Alpha alpha,
TransformGroup transformgroup,
Transform3D transform3d,
double f,
double f1,
double x,
double y,
double z)
alpha - An Alpha object which describes the rotation that has to be
performedtransformgroup - The transform group which has to be used to perform
the rotation withf - The angle where the rotation has to start fromf1 - The end angle to what the interpolator has the object rotate tox - Initial x-angle, this value will be modified during this
interpolator is activey - Initial y-angle, this angle will not be influenced or modified by
this interpolatorz - Initial z-angle, this angle will not be influenced or modified by
this interpolator| Method Detail |
|---|
public void emulateFrameSwitch(int framerate)
framerate - the number of frames per second which have to be emulated
public void setBaseRotation(double x,
double y,
double z)
x - Initial x-angley - Initial y-anglez - Initial z-anglepublic void setMinimumAngle(float f)
f - The angle where the rotation has to start frompublic float getMinimumAngle()
public void setMaximumAngle(float f)
f - The end angle to what the interpolator has the object rotate topublic float getMaximumAngle()
public void setTarget(TransformGroup transformgroup)
transformgroup - The target TransformGrouppublic TransformGroup getTarget()
public void processStimulus(java.util.Enumeration enumeration)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||