|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvrml.Field
vrml.field.SFRotation
public class SFRotation
Represents a VRML SFRotation field in Java.
| Constructor Summary | |
|---|---|
SFRotation()
Construct a default SFRotation field. |
|
SFRotation(float axisX,
float axisY,
float axisZ,
float angle)
Construct an SFRotation field. |
|
| Method Summary | |
|---|---|
void |
getValue(float[] rotations)
Get the X, Y, Z and angle values representing the SFRotation. |
void |
setValue(ConstSFRotation rotation)
Set the value of an SFRotation. |
void |
setValue(float[] rotations)
Set the X, Y, Z and angle values of an SFRotation. |
void |
setValue(float axisX,
float axisY,
float axisZ,
float angle)
Set the X, Y, Z and angle values of an SFRotation. |
void |
setValue(SFRotation rotation)
Set the value of an SFRotation. |
| Methods inherited from class vrml.Field |
|---|
clone, dispose, finalize, getPeer, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SFRotation()
public SFRotation(float axisX,
float axisY,
float axisZ,
float angle)
axisX - X-component of the rotationaxisY - Y-component of the rotationaxisZ - Z-component of the rotationangle - Angle of the rotation| Method Detail |
|---|
public void getValue(float[] rotations)
rotations - X, Y, Z and angle values representing the SFRotationpublic void setValue(float[] rotations)
rotations - X, Y, Z and angle values to set SFRotation with
public void setValue(float axisX,
float axisY,
float axisZ,
float angle)
axisX - X-component of the rotationaxisY - Y-component of the rotationaxisZ - Z-component of the rotationangle - Angle of the rotationpublic void setValue(ConstSFRotation rotation)
rotation - ConstSFRotation to take values frompublic void setValue(SFRotation rotation)
rotation - SFRotation to take values from
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||