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 class
SbColorRGBA
ColorRGBA vector class.Methods in com.openinventor.inventor that return SbVec4f Modifier and Type Method Description SbVec4f
SoPickedPoint. getObjectTextureCoords()
Calls getObjectTextureCoords((com.openinventor.inventor.nodes.SoNode)null).SbVec4f
SoPickedPoint. getObjectTextureCoords(SoNode node)
Returns the texture coordinates in the object space corresponding to the given node in the path.SbVec4f
SoPickedPoint. getTextureCoords()
Returns the texture coordinates in image space.SbVec4f
SoPrimitiveVertex. getTextureCoords()
Returns the texture coordinates in object space.SbVec4f
SbVec4f. minus(SbVec4f v2)
Component-wise binary vector subtraction operator.SbVec4f
SbMatrix. multMatrixVec4(SbVec3f src)
Posts-multiplies matrix by the given column vector, giving vector result in homogeneous coordinates.SbVec4f
SbMatrix. multVec4Matrix(SbVec3f src)
Pre-multiplies matrix by the given row vector, giving vector result in homogeneous coordinates.SbVec4f
SbVec4f. over(float d)
Component-wise binary scalar division operator.SbVec4f
SbVec4f. plus(SbVec4f v2)
Component-wise binary vector addition operator.SbVec4f
SbVec4f. setValue(float[] components)
SbVec4f
SbVec4f. setValue(float[] components, int startIndex)
SbVec4f
SbVec4f. setValue(float c0, float c1, float c2, float c3)
SbVec4f
SbVec4f. setValue(SbVec4d vec4d)
Sets value of vector from a double precision vector.SbVec4f
SbMatrix. times(SbVec4f v)
Multiply matrix by given vector.SbVec4f
SbVec4f. 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 void
SbVec4f. add(SbVec4f u)
Component-wise vector addition operator.float
SbVec4f. dot(SbVec4f v)
Returns dot (inner) product of vector and another vector.boolean
SbVec4f. equals(SbVec4f v, float tolerance)
Equality comparison within given tolerance - the square of the length of the maximum distance between the two vectors.SbVec4f
SbVec4f. minus(SbVec4f v2)
Component-wise binary vector subtraction operator.SbVec4f
SbVec4f. plus(SbVec4f v2)
Component-wise binary vector addition operator.void
SoPickedPoint. setObjectTextureCoords(SbVec4f texCoords)
SbVec4d
SbVec4d. setValue(SbVec4f vec4f)
Sets value of vector from a single precision vector.void
SbVec4f. setValue(SbVec4f copyFrom)
void
SbVec4f. substract(SbVec4f u)
Component-wise vector subtraction operator.SbVec4f
SbMatrix. 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 SbVec4f
SoCallbackAction. getCoordinate4(int index)
Returns the current coordinates from the state.SbVec4f
SoCallbackAction. 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 SbVec4f
SoModifyLogicalViewportElement. get(SoState state)
Returns the current portion from the state.static SbVec4f
SoModifyViewVolumeElement. get(SoState state)
Returns the current portion of the view volume from the state.SbVec4f
SoTextureCoordinate3Element. get(SbVec3f point, SbVec3f normal)
Calls get(point, normal, (int)0).SbVec4f
SoTextureCoordinate3Element. get(SbVec3f point, SbVec3f normal, int unit)
Given point and normal, returns texture coordinate.SbVec4f
SoTextureCoordinateElement. get(SbVec3f point, SbVec3f normal)
Calls get(point, normal, (int)0).SbVec4f
SoTextureCoordinateElement. get(SbVec3f point, SbVec3f normal, int unit)
Given point and normal, returns texture coordinate.SbVec4f
SoCoordinateElement. get4(int index)
Returns the indexed coordinate from an element as a 4-vector, converting if necessary.SbVec4f
SoTextureCoordinate3Element. get4(int index)
Calls get4(index, (int)0).SbVec4f
SoTextureCoordinate3Element. get4(int index, int unit)
SbVec4f
SoTextureCoordinateElement. get4(int index)
Calls get4(index, (int)0).SbVec4f
SoTextureCoordinateElement. get4(int index, int unit)
static SbVec4f
SoModifyLogicalViewportElement. getDefault()
Returns the default viewport region.static SbVec4f
SoModifyViewVolumeElement. getDefault()
Returns the default screen portion.static SbVec4f
SoCoordinateElement. getDefault4()
Returns the default 4-D coordinate.Methods in com.openinventor.inventor.elements with parameters of type SbVec4f Modifier and Type Method Description static void
SoModifyLogicalViewportElement. set(SoState state, SbVec4f portion)
Sets the portion of the viewport.static void
SoModifyViewVolumeElement. set(SoState state, SbVec4f portion)
Sets the current portion in the state to the given portion (left, bottom, right, top).static void
SoTextureCombinerElement. 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 void
SoCoordinateElement. set4(SoState state, SoNode node, SbVec4f[] coords)
Sets the current coordinates in the state as 4-vectors.static void
SoTextureCoordinate3Element. set4(SoState state, SoNode node, SbVec4f[] coords)
Calls set4(state, node, coords, false).static void
SoTextureCoordinate3Element. set4(SoState state, SoNode node, SbVec4f[] coords, boolean frcSend)
static void
SoTextureCoordinateElement. set4(SoState state, SoNode node, SbVec4f[] coords)
Calls set4(state, node, coords, false).static void
SoTextureCoordinateElement. 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 SbVec4f
SoSFVec4f. getValue()
Returns this field's value.SbVec4f
SoMFVec4f. 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 int
SoMFVec4f. find(SbVec4f targetValue)
Calls find(targetValue, false).int
SoMFVec4f. find(SbVec4f targetValue, boolean addIfNotFound)
Finds the given targetValue in the array and returns the index of that value.void
SoMFColorRGBA. set1Value(int index, SbVec4f vec)
Sets one of N RGBA colors fromSbVec4f
.void
SoMFVec4b. set1Value(int index, SbVec4f vec4f)
Sets one value from single precision vector.void
SoMFVec4f. set1Value(int index, SbVec4f newValue)
Sets the index'th value in the array to newValue.void
SoMFVec4i32. set1Value(int index, SbVec4f vec4f)
Sets one value from single precision vector.void
SoMFVec4s. set1Value(int index, SbVec4f vec4f)
Sets one value from single precision vector.void
SoMFVec4ub. set1Value(int index, SbVec4f vec4f)
Sets one value from single precision vector.void
SoMFVec4ui32. set1Value(int index, SbVec4f vec4f)
Sets one value from single precision vector.void
SoMFVec4us. set1Value(int index, SbVec4f vec4f)
Sets one value from single precision vector.void
SoMFColorRGBA. 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.void
SoMFVec4b. setValue(SbVec4f vec4f)
Sets to one value from single precision vector.void
SoMFVec4f. setValue(SbVec4f newValue)
Sets the first value in the array to newValue, and deletes.void
SoMFVec4i32. setValue(SbVec4f vec4f)
Sets to one value from single precision vector.void
SoMFVec4s. setValue(SbVec4f vec4f)
Sets to one value from single precision vector.void
SoMFVec4ub. setValue(SbVec4f vec4f)
Sets to one value from single precision vector.void
SoMFVec4ui32. setValue(SbVec4f vec4f)
Sets to one value from single precision vector.void
SoMFVec4us. setValue(SbVec4f vec4f)
Sets to one value from single precision vector.void
SoSFColorRGBA. setValue(SbVec4f vec)
Convenience method for setting the value.void
SoSFVec4f. setValue(SbVec4f newValue)
Sets this field to newValue.void
SoSFVec4i32. setValue(SbVec4f vec4f)
Convenience method that allows you to specify a field value using a single precision variable.void
SoMFVec4b. setValues(int start, int num, SbVec4f[] vec4f)
Deprecated.As of Open Inventor 9.3.1, useSoMFVec4b.setValues(int, com.openinventor.inventor.SbVec4f[])
instead.void
SoMFVec4b. setValues(int start, SbVec4f[] vec4f)
Sets values from array of single precision vectors.void
SoMFVec4f. setValues(int start, SbVec4f[] newValues)
Sets num values starting at index start to the values.void
SoMFVec4i32. setValues(int start, int num, SbVec4f[] vec4f)
Deprecated.As of Open Inventor 9.3.1, useSoMFVec4i32.setValues(int, com.openinventor.inventor.SbVec4f[])
instead.void
SoMFVec4i32. setValues(int start, SbVec4f[] vec4f)
Sets values from array of single precision vectors.void
SoMFVec4s. setValues(int start, int num, SbVec4f[] vec4f)
Deprecated.As of Open Inventor 9.3.1, useSoMFVec4s.setValues(int, com.openinventor.inventor.SbVec4f[])
instead.void
SoMFVec4s. setValues(int start, SbVec4f[] vec4f)
Sets values from array of single precision vectors.void
SoMFVec4ub. setValues(int start, int num, SbVec4f[] vec4f)
Deprecated.As of Open Inventor 9.3.1, useSoMFVec4ub.setValues(int, com.openinventor.inventor.SbVec4f[])
instead.void
SoMFVec4ub. setValues(int start, SbVec4f[] vec4f)
Sets values from array of single precision vectors.void
SoMFVec4ui32. setValues(int start, int num, SbVec4f[] vec4f)
Deprecated.As of Open Inventor 9.3.1, useSoMFVec4ui32.setValues(int, com.openinventor.inventor.SbVec4f[])
instead.void
SoMFVec4ui32. setValues(int start, SbVec4f[] vec4f)
Sets values from array of single precision vectors.void
SoMFVec4us. setValues(int start, int num, SbVec4f[] vec4f)
Deprecated.As of Open Inventor 9.3.1, useSoMFVec4us.setValues(int, com.openinventor.inventor.SbVec4f[])
instead.void
SoMFVec4us. 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.
-