6 import java.io.BufferedReader;
7 import java.io.PrintWriter;
8 import java.io.IOException;
18 public SFRotation(
float axisX,
float axisY,
float axisZ,
float angle) {
25 public void getValue(
float[] values) {
33 public void setValue(
float axisX,
float axisY,
float axisZ,
float angle) {
42 public void setValue(
float[] values) {
43 this.axisX = values[0];
44 this.axisY = values[1];
45 this.axisZ = values[2];
46 this.angle = values[3];
51 sfRotation.__updateRead();
52 axisX = sfRotation.axisX;
53 axisY = sfRotation.axisY;
54 axisZ = sfRotation.axisZ;
55 angle = sfRotation.angle;
60 sfRotation.__updateRead();
61 axisX = sfRotation.axisX;
62 axisY = sfRotation.axisY;
63 axisZ = sfRotation.axisZ;
64 angle = sfRotation.angle;
69 public String toString() {
71 return ""+axisX+
" "+axisY+
" "+axisZ+
" "+angle;
74 public void __fromPerl(BufferedReader in)
throws IOException {
77 axisX = Float.parseFloat(in.readLine());
78 axisY = Float.parseFloat(in.readLine());
79 axisZ = Float.parseFloat(in.readLine());
80 angle = Float.parseFloat(in.readLine());
83 public void __toPerl(PrintWriter out)
throws IOException {
84 out.print(axisX+
" "+axisY+
" "+axisZ+
" "+angle);