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 TypeMethodDescriptionvoidComponent-wise vector addition operator.floatReturns dot (inner) product of vector and another vector.booleanEquality 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.voidSoPickedPoint.setObjectTextureCoords(SbVec4f texCoords) Sets value of vector from a single precision vector.voidvoidComponent-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 SbVec4fReturns the current portion from the state.static SbVec4fReturns 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 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 SbVec4fModifier and TypeMethodDescriptionstatic voidSets the portion of the viewport.static voidSets 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 voidSets the current coordinates in the state as 4-vectors.static voidCalls set4(state, node, coords, false).static voidstatic voidCalls 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 TypeMethodDescriptionintCalls find(targetValue, false).intFinds the given targetValue in the array and returns the index of that value.voidSets one of N RGBA colors fromSbVec4f.voidSets one value from single precision vector.voidSets the index'th value in the array to newValue.voidSets one value from single precision vector.voidSets one value from single precision vector.voidSets one value from single precision vector.voidSets one value from single precision vector.voidSets one value from single precision vector.voidSets 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.voidSets to one value from single precision vector.voidSets the first value in the array to newValue, and deletes.voidSets to one value from single precision vector.voidSets to one value from single precision vector.voidSets to one value from single precision vector.voidSets to one value from single precision vector.voidSets to one value from single precision vector.voidConvenience method for setting the value.voidSets this field to newValue.voidConvenience method that allows you to specify a field value using a single precision variable.voidDeprecated.voidSets values from array of single precision vectors.voidSets num values starting at index start to the values.voidDeprecated.As of Open Inventor 9.3.1, useSoMFVec4i32.setValues(int, com.openinventor.inventor.SbVec4f[])instead.voidSets values from array of single precision vectors.voidDeprecated.As of Open Inventor 9.3.1, useSoMFVec4s.setValues(int, com.openinventor.inventor.SbVec4f[])instead.voidSets values from array of single precision vectors.voidDeprecated.As of Open Inventor 9.3.1, useSoMFVec4ub.setValues(int, com.openinventor.inventor.SbVec4f[])instead.voidSets values from array of single precision vectors.voidDeprecated.As of Open Inventor 9.3.1, useSoMFVec4ui32.setValues(int, com.openinventor.inventor.SbVec4f[])instead.voidSets values from array of single precision vectors.voidDeprecated.As of Open Inventor 9.3.1, useSoMFVec4us.setValues(int, com.openinventor.inventor.SbVec4f[])instead.voidSets 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.