iicm.vrml.pw
Class MFFloat
java.lang.Object
|
+--iicm.vrml.pw.Field
|
+--iicm.vrml.pw.MultiField
|
+--iicm.vrml.pw.MFFloat
- public class MFFloat
- extends MultiField
MFFloat - Field that holds an array of floats
Fields inherited from class iicm.vrml.pw.Field |
changed,
class_,
F_EVENTIN,
F_EVENTOUT,
F_EXPOSEDFIELD,
F_FIELD,
readerror,
STR_EVENTIN,
STR_EVENTOUT,
STR_EXPOSEDFIELD,
STR_FIELD |
Method Summary |
java.lang.String |
fieldName()
the field's type name |
float[] |
getValueArray()
get internal float[] data.
note: proper array length is ensured (may involve copying). |
float[] |
getValueCopy()
|
int |
getValueCount()
|
float[] |
getValueData()
get internal float[] data.
note: array length may be longer than no. of values hold by the
Field, which can be obtained with getValueCount (). |
void |
setValue(float[] vals)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
fieldName
public java.lang.String fieldName()
- Description copied from class: Field
- the field's type name
- Overrides:
- fieldName in class Field
getValueData
public final float[] getValueData()
- get internal float[] data.
note: array length may be longer than no. of values hold by the
Field, which can be obtained with getValueCount ().
- See Also:
getValueArray
getValueCount
public final int getValueCount()
- Overrides:
- getValueCount in class MultiField
- Tags copied from class: MultiField
- Returns:
- number of field values
getValueArray
public final float[] getValueArray()
- get internal float[] data.
note: proper array length is ensured (may involve copying).
getValueCopy
public final float[] getValueCopy()
setValue
public final void setValue(float[] vals)