Uses of Class
com.openinventor.inventor.SbColor
Packages that use SbColor
Package
Description
Resolution-independent vector/polygon hardcopy.
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.
Provides some nodes and helper classes specifically created to facilitate
implementation of medical applications.
Provides state elements.
-
Uses of SbColor in com.openinventor.hardcopy
Methods in com.openinventor.hardcopy that return SbColorModifier and TypeMethodDescriptionSoVectorizeAction.getBackgroundColor()Returns the color of the background.Methods in com.openinventor.hardcopy with parameters of type SbColorModifier and TypeMethodDescriptionvoidSoVectorizeAction.setBackgroundColor(boolean bg, SbColor color) Sets the color of the background.voidSets the color and the width of the border of the clipping limits.voidSoVectorizeAction.setPenDescription(SbColor[] colors) Calls setPenDescription(colors, (float[])null, SoVectorizeAction.DimensionUnits.valueOf( SoVectorizeAction.DimensionUnits.MM.getValue() )).voidSoVectorizeAction.setPenDescription(SbColor[] colors, float[] widths) Calls setPenDescription(colors, widths, SoVectorizeAction.DimensionUnits.valueOf( SoVectorizeAction.DimensionUnits.MM.getValue() )).voidSoVectorizeAction.setPenDescription(SbColor[] colors, float[] widths, SoVectorizeAction.DimensionUnits u) Sets the description of the color and the width of each pen. -
Uses of SbColor in com.openinventor.inventor
Methods in com.openinventor.inventor that return SbColorModifier and TypeMethodDescriptionSoSceneManager.getBackgroundColor()SbColor.setHSVValue(float[] hsv) Sets value of color vector from array of 3 HSV components.SbColor.setHSVValue(float h, float s, float v) Sets value of color vector from 3 HSV (Hue, Saturation, and Value) components.SbColor.setPackedValue(int orderedRGBA, float transparency) Sets value of color vector from an RGBA packed color value.SbColor.setPackedValue(long rgba, float[] transparency) RGBA Packed integer color routines.SbColor.setValue(float[] components) SbColor.setValue(float[] components, int startIndex) static SbColor[]SbColor.toArray(long nativeArray, long length) Methods in com.openinventor.inventor with parameters of type SbColorModifier and TypeMethodDescriptionvoidSoSceneManager.setBackgroundColor(SbColor c) Defines the window background color when in RGB mode.voidConstructors in com.openinventor.inventor with parameters of type SbColor -
Uses of SbColor in com.openinventor.inventor.actions
Fields in com.openinventor.inventor.actions declared as SbColorModifier and TypeFieldDescriptionSoCallbackAction.Material.ambientSoCallbackAction.Material.diffuseSoCallbackAction.Material.emissionSoCallbackAction.Material.specularMethods in com.openinventor.inventor.actions that return SbColorModifier and TypeMethodDescriptionSoBoxHighlightRenderAction.getColor()Gets the color of the highlight.SoColorHighlightRenderAction.getColor()Gets the color of the highlight.SoLineHighlightRenderAction.getColor()Gets the color of the highlight.SoHaloHighlightRenderAction.getHaloColor()SeesetHaloColor()SoToHTMLAction.getImageBackgroundColor()Returns the image background color.SoCallbackAction.getTextureBlendColor()Returns texture information from the state.Methods in com.openinventor.inventor.actions with parameters of type SbColorModifier and TypeMethodDescriptionvoidSets the color of the highlight.voidSets the color of the highlight.voidSets the color of the highlight.voidSoHaloHighlightRenderAction.setHaloColor(SbColor color) Defines the color of the highlight.voidSoToHTMLAction.setImageBackgroundColor(SbColor c) Sets the image background color. -
Uses of SbColor in com.openinventor.inventor.elements
Fields in com.openinventor.inventor.elements declared as SbColorModifier and TypeFieldDescriptionfinal SbColorSoEnvironmentElement.EnvironmentParameters.ambientColorfinal SbColorSoEnvironmentElement.EnvironmentParameters.fogColorMethods in com.openinventor.inventor.elements that return SbColorModifier and TypeMethodDescriptionstatic SbColorSoLazyElement.getAmbient(SoState name_14072) Deprecated.static SbColorSoMaterialElement.getAmbient(SoState state) Deprecated.As of Open Inventor 2025.1.static SbColorSoMaterialElement.getAmbient(SoState state, SoMaterialElement.Faces face) static SbColorSoEnvironmentElement.getAmbientColor(SoState state) Gets the ambient color.static SbColorSoLazyElement.getDefaultAmbient()Deprecated.Specify Open Inventor defaults for colors, etc.static SbColorSoMaterialElement.getDefaultAmbient()Specify Open Inventor defaults for colors, etc.static SbColorSoLazyElement.getDefaultDiffuse()Deprecated.Specify Open Inventor defaults for colors, etc.static SbColorSoMaterialElement.getDefaultDiffuse()Specify Open Inventor defaults for colors, etc.static SbColorSoLazyElement.getDefaultEmissive()Deprecated.Specify Open Inventor defaults for colors, etc.static SbColorSoMaterialElement.getDefaultEmissive()Specify Open Inventor defaults for colors, etc.static SbColorSoLazyElement.getDefaultSpecular()Deprecated.Specify Open Inventor defaults for colors, etc.static SbColorSoMaterialElement.getDefaultSpecular()Specify Open Inventor defaults for colors, etc.static SbColorSoLazyElement.getDiffuse(SoState state, int index) Deprecated.get() methods get value from Inventor state.static SbColorSoMaterialElement.getDiffuse(SoState state, int index) Deprecated.As of Open Inventor 2025.1.static SbColorSoMaterialElement.getDiffuse(SoState state, SoMaterialElement.Faces face, int index) get() methods get value from Inventor state.static SbColorSoLazyElement.getEmissive(SoState name_14073) Deprecated.static SbColorSoMaterialElement.getEmissive(SoState state) Deprecated.As of Open Inventor 2025.1.static SbColorSoMaterialElement.getEmissive(SoState state, SoMaterialElement.Faces face) static SbColorSoLazyElement.getSpecular(SoState name_14074) Deprecated.static SbColorSoMaterialElement.getSpecular(SoState state) Deprecated.As of Open Inventor 2025.1.static SbColorSoMaterialElement.getSpecular(SoState state, SoMaterialElement.Faces face) Methods in com.openinventor.inventor.elements with parameters of type SbColorModifier and TypeMethodDescriptionstatic voidSoNurbsPropertyElement.set(SoState state, SoNode node, SoNurbsPropertyElement.DrawStyles drawStyleMask, int numSamplePoints, SbColor color, short isoParamCurvesPattern, SoNurbsProperty.TessellationTypes tessType, float tessDistance, float tessAngle) Sets the current NURBS properties attributes in the state.static voidSoLazyElement.setAmbient(SoState state, SoNode node, SbColor color) Deprecated.static voidSoMaterialElement.setAmbient(SoState state, SoMaterialElement.Faces face, SoNode node, SbColor color) static voidSoMaterialElement.setAmbient(SoState state, SoNode node, SbColor color) Deprecated.As of Open Inventor 2025.1.static voidSoLazyElement.setDiffuse(SoState state, SoNode node, SbColor[] colors, SoColorPacker cPacker) Deprecated.Static set method.static voidSoMaterialElement.setDiffuse(SoState state, SoMaterialElement.Faces face, SoNode node, SbColor[] colors) Static set method.static voidSoMaterialElement.setDiffuse(SoState state, SoNode node, SbColor[] colors) Deprecated.As of Open Inventor 2025.1.static voidSoLazyElement.setEmissive(SoState state, SoNode node, SbColor color) Deprecated.static voidSoMaterialElement.setEmissive(SoState state, SoMaterialElement.Faces face, SoNode node, SbColor color) static voidSoMaterialElement.setEmissive(SoState state, SoNode node, SbColor color) Deprecated.As of Open Inventor 2025.1.static voidSoLazyElement.setSpecular(SoState state, SoNode node, SbColor color) Deprecated.static voidSoMaterialElement.setSpecular(SoState state, SoMaterialElement.Faces face, SoNode node, SbColor color) static voidSoMaterialElement.setSpecular(SoState state, SoNode node, SbColor color) Deprecated.As of Open Inventor 2025.1. -
Uses of SbColor in com.openinventor.inventor.fields
Methods in com.openinventor.inventor.fields that return SbColorModifier and TypeMethodDescriptionSoSFColor.getValue()Returns this field's value.SoMFColor.getValueAt(int i) SbColor[]SoMFColor.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 SbColorModifier and TypeMethodDescriptionintCalls find(targetValue, false).intFinds the given targetValue in the array and returns the index of that value.voidSets the index'th value in the array to newValue.voidSets the first value in the array to newValue, and deletes.voidSets this field to newValue.voidSets num values starting at index start to the values.Constructors in com.openinventor.inventor.fields with parameters of type SbColorModifierConstructorDescriptionSoSFColor(SoFieldContainer fieldContainer, String fieldName, SoField.FieldTypes fieldType, SbColor defaultValue) Default constructor. -
Uses of SbColor in com.openinventor.inventor.mpeg
Methods in com.openinventor.inventor.mpeg that return SbColorModifier and TypeMethodDescriptionSoMPEGRenderer.getBackgroundColor()Gets the background color for rendering each frame.Methods in com.openinventor.inventor.mpeg with parameters of type SbColorModifier and TypeMethodDescriptionvoidSoMPEGRenderer.setBackgroundColor(SbColor c) Sets the background color for rendering each frame. -
Uses of SbColor in com.openinventor.inventor.nodes
Methods in com.openinventor.inventor.nodes that return SbColorModifier and TypeMethodDescriptionstatic SbColorSoWWWInline.getBoundingBoxColor()Queries the color of bounding boxes displayed.SoExtSelection.getLassoColor()Deprecated.As of Open Inventor 10.0.0.0.Methods in com.openinventor.inventor.nodes with parameters of type SbColorModifier and TypeMethodDescriptionstatic voidSoWWWInline.setBoundingBoxColor(SbColor c) Specifies the color of bounding boxes displayed.voidSoExtSelection.setLassoColor(SbColor c) Deprecated.As of Open Inventor 10.0.0.0. -
Uses of SbColor in com.openinventor.medical.helpers
Methods in com.openinventor.medical.helpers with parameters of type SbColorModifier and TypeMethodDescriptionstatic SoSeparatorMedicalHelper.createBoundingBox(SbBox3f bbox, SbColor color) Convenience function to draw a specified bounding box as a wireframe -
Uses of SbColor in com.openinventor.meshviz.graph
Fields in com.openinventor.meshviz.graph declared as SbColorModifier and TypeFieldDescriptionPbLinearDataMapping.RGBMapping.c1PbLinearDataMapping.RGBTransparencyMapping.c1PbLinearDataMapping.RGBMapping.c2PbLinearDataMapping.RGBTransparencyMapping.c2Methods in com.openinventor.meshviz.graph that return SbColorModifier and TypeMethodDescriptionSbColor[]PbNonLinearDataMapping2.getRGBColorsList()Gets the list of RGB colors defining the current non linear data mapping.Methods in com.openinventor.meshviz.graph with parameters of type SbColorModifier and TypeMethodDescriptionvoidPbDataMapping.setMaxThreshold(float threshold_max, SbColor cmax) Calls setMaxThreshold(threshold_max, cmax, (float)0.0).voidPbDataMapping.setMaxThreshold(float threshold_max, SbColor cmax, float transp_max) Sets a maximum threshold, associated to a RGB color and a transparency value.voidPbDataMapping.setMinThreshold(float threshold_min, SbColor cmin) Calls setMinThreshold(threshold_min, cmin, (float)0.0).voidPbDataMapping.setMinThreshold(float threshold_min, SbColor cmin, float transp_min) Sets a minimum threshold, associated to a RGB color and a transparency value.voidSets values v1,v2, the associated transparecny t1,t2, and the associated RGB colors c1, c2.voidSets values v1,v2 and the associated RGB colors c1, c2.voidPbNonLinearDataMapping2.setValues(PbNonLinearDataMapping2.Types type, float[] v, SbColor[] c) Sets non linear function for data mapping, with RGB color.voidPbNonLinearDataMapping2.setValues(PbNonLinearDataMapping2.Types type, float[] v, SbColor[] c, float[] t) Sets non linear function for data mapping, with RGB color and transparencies.Constructors in com.openinventor.meshviz.graph with parameters of type SbColorModifierConstructorDescriptionPoItemLegend(SbVec2f _start, SbVec2f _end, String[] _item, SbColor[] _boxColor) Constructor.PoPieChart2D(SbVec2f _center, float _radius, String[] sliceTexts, float[] sliceValues, SbColor[] sliceColors) Constructor.PoPieChart3D(SbVec3f _center, float _zCenter2, float _radius, String[] sliceTexts, float[] sliceValues, SbColor[] sliceColors) Constructor. -
Uses of SbColor in com.openinventor.meshvizxlm.mapping.elements
Fields in com.openinventor.meshvizxlm.mapping.elements declared as SbColorModifier and TypeFieldDescriptionMoMaterialElement.Material.colorColor used for facesMoMaterialElement.Material.lineColorColor used for linesMoMaterialElement.Material.markerColorColor used for pointsMethods in com.openinventor.meshvizxlm.mapping.elements with parameters of type SbColorModifier and TypeMethodDescriptionstatic voidMoMaterialElement.set(SoState state, SoNode node, MoMaterial.ColoringType coloring, SbColor color, MoMaterial.ColoringType lineColoring, SbColor lineColor, MoMaterial.ColoringType markerColoring, SbColor markerColor, float transparency) Sets the current colors and coloring options for the specified traversal state and node.