Class 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
    • 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.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class SoField
      • 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.