Uses of Class
com.openinventor.inventor.SbVec4f
-
Packages that use SbVec4f Package Description com.openinventor.inventor Open Inventor is an object-oriented and OpenGL-based API for real-time 3D visualization.com.openinventor.inventor.actions com.openinventor.inventor.elements The element classes are used internally for storing information in Open Inventor's traversal state list.com.openinventor.inventor.fields -
-
Uses of SbVec4f in com.openinventor.inventor
Subclasses of SbVec4f in com.openinventor.inventor Modifier and Type Class Description classSbColorRGBAColorRGBA vector class.Methods in com.openinventor.inventor that return SbVec4f Modifier and Type Method Description SbVec4fSoPickedPoint. getObjectTextureCoords()Calls getObjectTextureCoords((com.openinventor.inventor.nodes.SoNode)null).SbVec4fSoPickedPoint. getObjectTextureCoords(SoNode node)Returns the texture coordinates in the object space corresponding to the given node in the path.SbVec4fSoPickedPoint. getTextureCoords()Returns the texture coordinates in image space.SbVec4fSoPrimitiveVertex. getTextureCoords()Returns the texture coordinates in object space.SbVec4fSbVec4f. minus(SbVec4f v2)Component-wise binary vector subtraction operator.SbVec4fSbMatrix. multMatrixVec4(SbVec3f src)Posts-multiplies matrix by the given column vector, giving vector result in homogeneous coordinates.SbVec4fSbMatrix. multVec4Matrix(SbVec3f src)Pre-multiplies matrix by the given row vector, giving vector result in homogeneous coordinates.SbVec4fSbVec4f. over(float d)Component-wise binary scalar division operator.SbVec4fSbVec4f. plus(SbVec4f v2)Component-wise binary vector addition operator.SbVec4fSbVec4f. setValue(float[] components)SbVec4fSbVec4f. setValue(float[] components, int startIndex)SbVec4fSbVec4f. setValue(float c0, float c1, float c2, float c3)SbVec4fSbVec4f. setValue(SbVec4d vec4d)Sets value of vector from a double precision vector.SbVec4fSbMatrix. times(SbVec4f v)Multiply matrix by given vector.SbVec4fSbVec4f. times(float d)Component-wise binary scalar multiplication operator.static SbVec4f[]SbVec4f. toArray(long nativeArray, long length)Methods in com.openinventor.inventor with parameters of type SbVec4f Modifier and Type Method Description voidSbVec4f. add(SbVec4f u)Component-wise vector addition operator.floatSbVec4f. dot(SbVec4f v)Returns dot (inner) product of vector and another vector.booleanSbVec4f. equals(SbVec4f v, float tolerance)Equality comparison within given tolerance - the square of the length of the maximum distance between the two vectors.SbVec4fSbVec4f. minus(SbVec4f v2)Component-wise binary vector subtraction operator.SbVec4fSbVec4f. plus(SbVec4f v2)Component-wise binary vector addition operator.voidSoPickedPoint. setObjectTextureCoords(SbVec4f texCoords)SbVec4dSbVec4d. setValue(SbVec4f vec4f)Sets value of vector from a single precision vector.voidSbVec4f. setValue(SbVec4f copyFrom)voidSbVec4f. substract(SbVec4f u)Component-wise vector subtraction operator.SbVec4fSbMatrix. times(SbVec4f v)Multiply matrix by given vector.Constructors in com.openinventor.inventor with parameters of type SbVec4f Constructor Description SbColorRGBA(SbVec4f vec4f)Constructor that takes an RGBA vector value.SbVec4f(SbVec4f copyFrom) -
Uses of SbVec4f in com.openinventor.inventor.actions
Methods in com.openinventor.inventor.actions that return SbVec4f Modifier and Type Method Description SbVec4fSoCallbackAction. getCoordinate4(int index)Returns the current coordinates from the state.SbVec4fSoCallbackAction. getTextureCoordinate4(int index)Returns texture information from the state. -
Uses of SbVec4f in com.openinventor.inventor.elements
Methods in com.openinventor.inventor.elements that return SbVec4f Modifier and Type Method Description static SbVec4fSoModifyLogicalViewportElement. get(SoState state)Returns the current portion from the state.static SbVec4fSoModifyViewVolumeElement. get(SoState state)Returns the current portion of the view volume from the state.SbVec4fSoTextureCoordinate3Element. get(SbVec3f point, SbVec3f normal)Calls get(point, normal, (int)0).SbVec4fSoTextureCoordinate3Element. get(SbVec3f point, SbVec3f normal, int unit)Given point and normal, returns texture coordinate.SbVec4fSoTextureCoordinateElement. get(SbVec3f point, SbVec3f normal)Calls get(point, normal, (int)0).SbVec4fSoTextureCoordinateElement. get(SbVec3f point, SbVec3f normal, int unit)Given point and normal, returns texture coordinate.SbVec4fSoCoordinateElement. get4(int index)Returns the indexed coordinate from an element as a 4-vector, converting if necessary.SbVec4fSoTextureCoordinate3Element. get4(int index)Calls get4(index, (int)0).SbVec4fSoTextureCoordinate3Element. get4(int index, int unit)SbVec4fSoTextureCoordinateElement. get4(int index)Calls get4(index, (int)0).SbVec4fSoTextureCoordinateElement. get4(int index, int unit)static SbVec4fSoModifyLogicalViewportElement. getDefault()Returns the default viewport region.static SbVec4fSoModifyViewVolumeElement. getDefault()Returns the default screen portion.static SbVec4fSoCoordinateElement. getDefault4()Returns the default 4-D coordinate.Methods in com.openinventor.inventor.elements with parameters of type SbVec4f Modifier and Type Method Description static voidSoModifyLogicalViewportElement. set(SoState state, SbVec4f portion)Sets the portion of the viewport.static voidSoModifyViewVolumeElement. set(SoState state, SbVec4f portion)Sets the current portion in the state to the given portion (left, bottom, right, top).static voidSoTextureCombinerElement. set(SoState state, SoNode node, int _combineRGB, int _combineAlpha, int _source0RGB, int _source1RGB, int _source2RGB, int _source0Alpha, int _source1Alpha, int _source2Alpha, int _operand0RGB, int _operand1RGB, int _operand2RGB, int _operand0Alpha, int _operand1Alpha, int _operand2Alpha, float _scaleRGB, float _scaleAlpha, SbVec4f constantColor)Sets the current texture combiner parameters in the state.static voidSoCoordinateElement. set4(SoState state, SoNode node, SbVec4f[] coords)Sets the current coordinates in the state as 4-vectors.static voidSoTextureCoordinate3Element. set4(SoState state, SoNode node, SbVec4f[] coords)Calls set4(state, node, coords, false).static voidSoTextureCoordinate3Element. set4(SoState state, SoNode node, SbVec4f[] coords, boolean frcSend)static voidSoTextureCoordinateElement. set4(SoState state, SoNode node, SbVec4f[] coords)Calls set4(state, node, coords, false).static voidSoTextureCoordinateElement. set4(SoState state, SoNode node, SbVec4f[] coords, boolean frcSend) -
Uses of SbVec4f in com.openinventor.inventor.fields
Methods in com.openinventor.inventor.fields that return SbVec4f Modifier and Type Method Description SbVec4fSoSFVec4f. getValue()Returns this field's value.SbVec4fSoMFVec4f. getValueAt(int i)SbVec4f[]SoMFVec4f. getValues(int start)Returns a pointer into the array of values in the field, starting at index start.Methods in com.openinventor.inventor.fields with parameters of type SbVec4f Modifier and Type Method Description intSoMFVec4f. find(SbVec4f targetValue)Calls find(targetValue, false).intSoMFVec4f. find(SbVec4f targetValue, boolean addIfNotFound)Finds the given targetValue in the array and returns the index of that value.voidSoMFColorRGBA. set1Value(int index, SbVec4f vec)Sets one of N RGBA colors fromSbVec4f.voidSoMFVec4b. set1Value(int index, SbVec4f vec4f)Sets one value from single precision vector.voidSoMFVec4f. set1Value(int index, SbVec4f newValue)Sets the index'th value in the array to newValue.voidSoMFVec4i32. set1Value(int index, SbVec4f vec4f)Sets one value from single precision vector.voidSoMFVec4s. set1Value(int index, SbVec4f vec4f)Sets one value from single precision vector.voidSoMFVec4ub. set1Value(int index, SbVec4f vec4f)Sets one value from single precision vector.voidSoMFVec4ui32. set1Value(int index, SbVec4f vec4f)Sets one value from single precision vector.voidSoMFVec4us. set1Value(int index, SbVec4f vec4f)Sets one value from single precision vector.voidSoMFColorRGBA. setValue(SbVec4f vec)Sets the field to contain one and only one value, the given color (expressed as RGBA floating point values in the range 0.0 to 1.0), and deletes the second and subsequent values.voidSoMFVec4b. setValue(SbVec4f vec4f)Sets to one value from single precision vector.voidSoMFVec4f. setValue(SbVec4f newValue)Sets the first value in the array to newValue, and deletes.voidSoMFVec4i32. setValue(SbVec4f vec4f)Sets to one value from single precision vector.voidSoMFVec4s. setValue(SbVec4f vec4f)Sets to one value from single precision vector.voidSoMFVec4ub. setValue(SbVec4f vec4f)Sets to one value from single precision vector.voidSoMFVec4ui32. setValue(SbVec4f vec4f)Sets to one value from single precision vector.voidSoMFVec4us. setValue(SbVec4f vec4f)Sets to one value from single precision vector.voidSoSFColorRGBA. setValue(SbVec4f vec)Convenience method for setting the value.voidSoSFVec4f. setValue(SbVec4f newValue)Sets this field to newValue.voidSoSFVec4i32. setValue(SbVec4f vec4f)Convenience method that allows you to specify a field value using a single precision variable.voidSoMFVec4b. setValues(int start, int num, SbVec4f[] vec4f)Deprecated.As of Open Inventor 9.3.1, useSoMFVec4b.setValues(int, com.openinventor.inventor.SbVec4f[])instead.voidSoMFVec4b. setValues(int start, SbVec4f[] vec4f)Sets values from array of single precision vectors.voidSoMFVec4f. setValues(int start, SbVec4f[] newValues)Sets num values starting at index start to the values.voidSoMFVec4i32. setValues(int start, int num, SbVec4f[] vec4f)Deprecated.As of Open Inventor 9.3.1, useSoMFVec4i32.setValues(int, com.openinventor.inventor.SbVec4f[])instead.voidSoMFVec4i32. setValues(int start, SbVec4f[] vec4f)Sets values from array of single precision vectors.voidSoMFVec4s. setValues(int start, int num, SbVec4f[] vec4f)Deprecated.As of Open Inventor 9.3.1, useSoMFVec4s.setValues(int, com.openinventor.inventor.SbVec4f[])instead.voidSoMFVec4s. setValues(int start, SbVec4f[] vec4f)Sets values from array of single precision vectors.voidSoMFVec4ub. setValues(int start, int num, SbVec4f[] vec4f)Deprecated.As of Open Inventor 9.3.1, useSoMFVec4ub.setValues(int, com.openinventor.inventor.SbVec4f[])instead.voidSoMFVec4ub. setValues(int start, SbVec4f[] vec4f)Sets values from array of single precision vectors.voidSoMFVec4ui32. setValues(int start, int num, SbVec4f[] vec4f)Deprecated.As of Open Inventor 9.3.1, useSoMFVec4ui32.setValues(int, com.openinventor.inventor.SbVec4f[])instead.voidSoMFVec4ui32. setValues(int start, SbVec4f[] vec4f)Sets values from array of single precision vectors.voidSoMFVec4us. setValues(int start, int num, SbVec4f[] vec4f)Deprecated.As of Open Inventor 9.3.1, useSoMFVec4us.setValues(int, com.openinventor.inventor.SbVec4f[])instead.voidSoMFVec4us. setValues(int start, SbVec4f[] vec4f)Sets values from array of single precision vectors.Constructors in com.openinventor.inventor.fields with parameters of type SbVec4f Constructor Description SoSFVec4f(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SbVec4f defaultValue)Default constructor.
-