|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectiicm.vrml.pw.Field
iicm.vrml.pw.MultiField
iicm.vrml.pw.MFRotation
public class MFRotation
MFRotation - Field that holds an array of rotations, each represented by 4 floats (3D axis and rotation angle) Copyright (c) 1996,97 IICM
| Field Summary | |
|---|---|
private FloatArray |
values
|
| Fields inherited from class iicm.vrml.pw.Field |
|---|
changed, class_, F_EVENTIN, F_EVENTOUT, F_EXPOSEDFIELD, F_FIELD, fieldClassName, IS_KEYWORD, protoIS, protoIScontent, protoISfield, protoISname, readerror, receiver_, STR_EVENTIN, STR_EVENTOUT, STR_EXPOSEDFIELD, STR_FALSE, STR_FIELD, STR_NULL, STR_TRUE, STR_X3d_EVENTIN, STR_X3d_EVENTOUT, STR_X3d_EXPOSEDFIELD, STR_X3d_FIELD, timeOfChange_ |
| Constructor Summary | |
|---|---|
MFRotation()
|
|
MFRotation(float[] vals)
|
|
MFRotation(FloatArray vals)
|
|
| Method Summary | |
|---|---|
(package private) boolean |
clearValues()
clear current values (before reading new ones) |
(package private) void |
copyValue(Field source)
copy field's value(s) to this field (of same type, non-null) |
java.lang.String |
fieldName()
the field's type name |
float[] |
getValueCopy()
|
int |
getValueCount()
|
float[] |
getValueData()
|
(package private) Field |
newFieldInstance()
create a new instance of the prototyped field changed flags etc. will be virgin (not taken from proto field) |
(package private) void |
read1Value(VRMLparser parser)
read and return a single field value |
void |
setValue(float[] vals)
|
(package private) void |
writeValue(java.io.PrintStream os,
java.util.Hashtable writtenrefs)
write field's value(s) to an output stream |
(package private) void |
writeX3dValue(java.io.PrintStream os,
java.util.Hashtable writtenrefs)
write field's value(s) to an x3d output stream |
| Methods inherited from class iicm.vrml.pw.MultiField |
|---|
readValue |
| Methods inherited from class iicm.vrml.pw.Field |
|---|
addReceiver, disableRoutes, enableRoutes, fieldNameToX3d, getFieldClass, getFieldClassName, getIScontent, readBoolValue, readError, readFieldValue, readFloatValue, readIntValue, readISdeclaration, readISdeclaration, readStringValue, removeReceiver, routeExists, sendEvent, setEventCallback, setFieldClass, setIScontent, wasChanged, writeFieldValue, writeX3dFieldValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private FloatArray values
| Constructor Detail |
|---|
MFRotation()
MFRotation(float[] vals)
MFRotation(FloatArray vals)
| Method Detail |
|---|
public java.lang.String fieldName()
Field
fieldName in class FieldField newFieldInstance()
Field
newFieldInstance in class Fieldpublic final float[] getValueData()
public final int getValueCount()
getValueCount in class MultiFieldpublic final float[] getValueCopy()
public final void setValue(float[] vals)
void copyValue(Field source)
Field
copyValue in class Field
void read1Value(VRMLparser parser)
throws java.io.IOException
MultiField
read1Value in class MultiFieldjava.io.IOExceptionboolean clearValues()
MultiField
clearValues in class MultiField
void writeValue(java.io.PrintStream os,
java.util.Hashtable writtenrefs)
Field
writeValue in class Field
void writeX3dValue(java.io.PrintStream os,
java.util.Hashtable writtenrefs)
Field
writeX3dValue in class Field
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||