Uses of Class
com.openinventor.inventor.SbVec4f
Packages that use SbVec4f
Package
Description
Open Inventor is an object-oriented and OpenGL-based API for real-time 3D visualization.
The element classes are used internally for storing information in Open Inventor's traversal state list.
-
Uses of SbVec4f in com.openinventor.inventor
Subclasses of SbVec4f in com.openinventor.inventorMethods in com.openinventor.inventor that return SbVec4fModifier and TypeMethodDescriptionSoPickedPoint.getObjectTextureCoords()
Calls getObjectTextureCoords((com.openinventor.inventor.nodes.SoNode)null).SoPickedPoint.getObjectTextureCoords
(SoNode node) Returns the texture coordinates in the object space corresponding to the given node in the path.SoPickedPoint.getTextureCoords()
Returns the texture coordinates in image space.SoPrimitiveVertex.getTextureCoords()
Returns the texture coordinates in object space.Component-wise binary vector subtraction operator.SbMatrix.multMatrixVec4
(SbVec3f src) Posts-multiplies matrix by the given column vector, giving vector result in homogeneous coordinates.SbMatrix.multVec4Matrix
(SbVec3f src) Pre-multiplies matrix by the given row vector, giving vector result in homogeneous coordinates.SbVec4f.over
(float d) Component-wise binary scalar division operator.Component-wise binary vector addition operator.SbVec4f.setValue
(float[] components) SbVec4f.setValue
(float[] components, int startIndex) SbVec4f.setValue
(float c0, float c1, float c2, float c3) Sets value of vector from a double precision vector.Multiply matrix by given vector.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 SbVec4fModifier and TypeMethodDescriptionvoid
Component-wise vector addition operator.float
Returns dot (inner) product of vector and another vector.boolean
Equality comparison within given tolerance - the square of the length of the maximum distance between the two vectors.Component-wise binary vector subtraction operator.Component-wise binary vector addition operator.void
SoPickedPoint.setObjectTextureCoords
(SbVec4f texCoords) Sets value of vector from a single precision vector.void
void
Component-wise vector subtraction operator.Multiply matrix by given vector.Constructors in com.openinventor.inventor with parameters of type SbVec4fModifierConstructorDescriptionSbColorRGBA
(SbVec4f vec4f) Constructor that takes an RGBA vector value. -
Uses of SbVec4f in com.openinventor.inventor.actions
Methods in com.openinventor.inventor.actions that return SbVec4fModifier and TypeMethodDescriptionSoCallbackAction.getCoordinate4
(int index) Returns the current coordinates from the state.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 SbVec4fModifier and TypeMethodDescriptionstatic SbVec4f
Returns the current portion from the state.static SbVec4f
Returns the current portion of the view volume from the state.Calls get(point, normal, (int)0).Given point and normal, returns texture coordinate.Calls get(point, normal, (int)0).Given point and normal, returns texture coordinate.SoCoordinateElement.get4
(int index) Returns the indexed coordinate from an element as a 4-vector, converting if necessary.SoTextureCoordinate3Element.get4
(int index) Calls get4(index, (int)0).SoTextureCoordinate3Element.get4
(int index, int unit) SoTextureCoordinateElement.get4
(int index) Calls get4(index, (int)0).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 SbVec4fModifier and TypeMethodDescriptionstatic void
Sets the portion of the viewport.static void
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
Sets the current coordinates in the state as 4-vectors.static void
Calls set4(state, node, coords, false).static void
static void
Calls set4(state, node, coords, false).static void
-
Uses of SbVec4f in com.openinventor.inventor.fields
Methods in com.openinventor.inventor.fields that return SbVec4fModifier and TypeMethodDescriptionSoSFVec4f.getValue()
Returns this field's value.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 SbVec4fModifier and TypeMethodDescriptionint
Calls find(targetValue, false).int
Finds the given targetValue in the array and returns the index of that value.void
Sets one of N RGBA colors fromSbVec4f
.void
Sets one value from single precision vector.void
Sets the index'th value in the array to newValue.void
Sets one value from single precision vector.void
Sets one value from single precision vector.void
Sets one value from single precision vector.void
Sets one value from single precision vector.void
Sets one value from single precision vector.void
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
Sets to one value from single precision vector.void
Sets the first value in the array to newValue, and deletes.void
Sets to one value from single precision vector.void
Sets to one value from single precision vector.void
Sets to one value from single precision vector.void
Sets to one value from single precision vector.void
Sets to one value from single precision vector.void
Convenience method for setting the value.void
Sets this field to newValue.void
Convenience method that allows you to specify a field value using a single precision variable.void
Deprecated.void
Sets values from array of single precision vectors.void
Sets num values starting at index start to the values.void
Deprecated.As of Open Inventor 9.3.1, useSoMFVec4i32.setValues(int, com.openinventor.inventor.SbVec4f[])
instead.void
Sets values from array of single precision vectors.void
Deprecated.As of Open Inventor 9.3.1, useSoMFVec4s.setValues(int, com.openinventor.inventor.SbVec4f[])
instead.void
Sets values from array of single precision vectors.void
Deprecated.As of Open Inventor 9.3.1, useSoMFVec4ub.setValues(int, com.openinventor.inventor.SbVec4f[])
instead.void
Sets values from array of single precision vectors.void
Deprecated.As of Open Inventor 9.3.1, useSoMFVec4ui32.setValues(int, com.openinventor.inventor.SbVec4f[])
instead.void
Sets values from array of single precision vectors.void
Deprecated.As of Open Inventor 9.3.1, useSoMFVec4us.setValues(int, com.openinventor.inventor.SbVec4f[])
instead.void
Sets values from array of single precision vectors.Constructors in com.openinventor.inventor.fields with parameters of type SbVec4fModifierConstructorDescriptionSoSFVec4f
(SoFieldContainer fieldContainer, String fieldName, SoField.FieldTypes fieldType, SbVec4f defaultValue) Default constructor.
SoMFVec4b.setValues(int, com.openinventor.inventor.SbVec4f[])
instead.