Package com.openinventor.inventor.fields
Class SoSFVec3i32
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.fields.SoField
-
- com.openinventor.inventor.fields.SoSField
-
- com.openinventor.inventor.fields.SoSFVec3i32
-
public class SoSFVec3i32 extends SoSField
Field containing a three-dimensional vector. Field containing a three-dimensional vector, each component being an integer.SoSFVec3i32s are written to file as three integer values separated by whitespace.
- See Also:
SoField
,SoSField
,SoMFVec3i32
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.fields.SoField
SoField.FieldTypes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoSFVec3i32(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SbVec3i32 defaultValue)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
SbVec3i32
getValue()
Returns this field's value.void
setValue(int[] xyz)
Sets the field to the given values.void
setValue(int x, int y, int z)
Sets the field to the given values.void
setValue(SbVec3d vec3d)
Convenience method that allows you to specify a field value using a double precision variable.void
setValue(SbVec3f vec3f)
Convenience method that allows you to specify a field value using a single precision variable.void
setValue(SbVec3i32 newValue)
Sets this field to newValue.-
Methods inherited from class com.openinventor.inventor.fields.SoField
appendConnection, appendConnection, connectFrom, connectFrom, disconnect, disconnect, disconnect, enableConnection, get, getConnectedEngine, getConnectedField, getContainer, getNumConnections, getValueSize, isConnected, isConnectedFromEngine, isConnectedFromField, isConnectedFromVRMLInterp, isConnectionEnabled, isDefault, isIgnored, set, setIgnored, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Constructor Detail
-
SoSFVec3i32
public SoSFVec3i32(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SbVec3i32 defaultValue)
Default constructor.
-
-
Method Detail
-
getValue
public SbVec3i32 getValue()
Returns this field's value.
-
setValue
public void setValue(int x, int y, int z)
Sets the field to the given values.
-
setValue
public void setValue(SbVec3i32 newValue)
Sets this field to newValue.
-
setValue
public void setValue(SbVec3d vec3d)
Convenience method that allows you to specify a field value using a double precision variable. The specified value is converted to int value, then stored.
-
setValue
public void setValue(SbVec3f vec3f)
Convenience method that allows you to specify a field value using a single precision variable. The specified value is converted to int value, then stored.
-
setValue
public void setValue(int[] xyz)
Sets the field to the given values.
-
-