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 TypeMethodDescriptionvoid
SoVectorizeAction.setBackgroundColor
(boolean bg, SbColor color) Sets the color of the background.void
Sets the color and the width of the border of the clipping limits.void
SoVectorizeAction.setPenDescription
(SbColor[] colors) Calls setPenDescription(colors, (float[])null, SoVectorizeAction.DimensionUnits.valueOf( SoVectorizeAction.DimensionUnits.MM.getValue() )).void
SoVectorizeAction.setPenDescription
(SbColor[] colors, float[] widths) Calls setPenDescription(colors, widths, SoVectorizeAction.DimensionUnits.valueOf( SoVectorizeAction.DimensionUnits.MM.getValue() )).void
SoVectorizeAction.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 TypeMethodDescriptionvoid
SoSceneManager.setBackgroundColor
(SbColor c) Defines the window background color when in RGB mode.void
Constructors 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.ambient
SoCallbackAction.Material.diffuse
SoCallbackAction.Material.emission
SoCallbackAction.Material.specular
Methods 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 TypeMethodDescriptionvoid
Sets the color of the highlight.void
Sets the color of the highlight.void
Sets the color of the highlight.void
SoHaloHighlightRenderAction.setHaloColor
(SbColor color) Defines the color of the highlight.void
SoToHTMLAction.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 SbColor
SoEnvironmentElement.EnvironmentParameters.ambientColor
final SbColor
SoEnvironmentElement.EnvironmentParameters.fogColor
Methods in com.openinventor.inventor.elements that return SbColorModifier and TypeMethodDescriptionstatic SbColor
SoLazyElement.getAmbient
(SoState name_14055) Deprecated.static SbColor
SoMaterialElement.getAmbient
(SoState state) Deprecated.As of Open Inventor 2025.1.static SbColor
SoMaterialElement.getAmbient
(SoState state, SoMaterialElement.Faces face) static SbColor
SoEnvironmentElement.getAmbientColor
(SoState state) Gets the ambient color.static SbColor
SoLazyElement.getDefaultAmbient()
Deprecated.Specify Open Inventor defaults for colors, etc.static SbColor
SoMaterialElement.getDefaultAmbient()
Specify Open Inventor defaults for colors, etc.static SbColor
SoLazyElement.getDefaultDiffuse()
Deprecated.Specify Open Inventor defaults for colors, etc.static SbColor
SoMaterialElement.getDefaultDiffuse()
Specify Open Inventor defaults for colors, etc.static SbColor
SoLazyElement.getDefaultEmissive()
Deprecated.Specify Open Inventor defaults for colors, etc.static SbColor
SoMaterialElement.getDefaultEmissive()
Specify Open Inventor defaults for colors, etc.static SbColor
SoLazyElement.getDefaultSpecular()
Deprecated.Specify Open Inventor defaults for colors, etc.static SbColor
SoMaterialElement.getDefaultSpecular()
Specify Open Inventor defaults for colors, etc.static SbColor
SoLazyElement.getDiffuse
(SoState state, int index) Deprecated.get() methods get value from Inventor state.static SbColor
SoMaterialElement.getDiffuse
(SoState state, int index) Deprecated.As of Open Inventor 2025.1.static SbColor
SoMaterialElement.getDiffuse
(SoState state, SoMaterialElement.Faces face, int index) get() methods get value from Inventor state.static SbColor
SoLazyElement.getEmissive
(SoState name_14056) Deprecated.static SbColor
SoMaterialElement.getEmissive
(SoState state) Deprecated.As of Open Inventor 2025.1.static SbColor
SoMaterialElement.getEmissive
(SoState state, SoMaterialElement.Faces face) static SbColor
SoLazyElement.getSpecular
(SoState name_14057) Deprecated.static SbColor
SoMaterialElement.getSpecular
(SoState state) Deprecated.As of Open Inventor 2025.1.static SbColor
SoMaterialElement.getSpecular
(SoState state, SoMaterialElement.Faces face) Methods in com.openinventor.inventor.elements with parameters of type SbColorModifier and TypeMethodDescriptionstatic void
SoNurbsPropertyElement.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 void
SoLazyElement.setAmbient
(SoState state, SoNode node, SbColor color) Deprecated.static void
SoMaterialElement.setAmbient
(SoState state, SoMaterialElement.Faces face, SoNode node, SbColor color) static void
SoMaterialElement.setAmbient
(SoState state, SoNode node, SbColor color) Deprecated.As of Open Inventor 2025.1.static void
SoLazyElement.setDiffuse
(SoState state, SoNode node, SbColor[] colors, SoColorPacker cPacker) Deprecated.Static set method.static void
SoMaterialElement.setDiffuse
(SoState state, SoMaterialElement.Faces face, SoNode node, SbColor[] colors) Static set method.static void
SoMaterialElement.setDiffuse
(SoState state, SoNode node, SbColor[] colors) Deprecated.As of Open Inventor 2025.1.static void
SoLazyElement.setEmissive
(SoState state, SoNode node, SbColor color) Deprecated.static void
SoMaterialElement.setEmissive
(SoState state, SoMaterialElement.Faces face, SoNode node, SbColor color) static void
SoMaterialElement.setEmissive
(SoState state, SoNode node, SbColor color) Deprecated.As of Open Inventor 2025.1.static void
SoLazyElement.setSpecular
(SoState state, SoNode node, SbColor color) Deprecated.static void
SoMaterialElement.setSpecular
(SoState state, SoMaterialElement.Faces face, SoNode node, SbColor color) static void
SoMaterialElement.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 TypeMethodDescriptionint
Calls find(targetValue, false).int
Finds the given targetValue in the array and returns the index of that value.void
Sets the index'th value in the array to newValue.void
Sets the first value in the array to newValue, and deletes.void
Sets this field to newValue.void
Sets 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 TypeMethodDescriptionvoid
SoMPEGRenderer.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 SbColor
SoWWWInline.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 void
SoWWWInline.setBoundingBoxColor
(SbColor c) Specifies the color of bounding boxes displayed.void
SoExtSelection.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 SoSeparator
MedicalHelper.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.c1
PbLinearDataMapping.RGBTransparencyMapping.c1
PbLinearDataMapping.RGBMapping.c2
PbLinearDataMapping.RGBTransparencyMapping.c2
Methods 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 TypeMethodDescriptionvoid
PbDataMapping.setMaxThreshold
(float threshold_max, SbColor cmax) Calls setMaxThreshold(threshold_max, cmax, (float)0.0).void
PbDataMapping.setMaxThreshold
(float threshold_max, SbColor cmax, float transp_max) Sets a maximum threshold, associated to a RGB color and a transparency value.void
PbDataMapping.setMinThreshold
(float threshold_min, SbColor cmin) Calls setMinThreshold(threshold_min, cmin, (float)0.0).void
PbDataMapping.setMinThreshold
(float threshold_min, SbColor cmin, float transp_min) Sets a minimum threshold, associated to a RGB color and a transparency value.void
Sets values v1,v2, the associated transparecny t1,t2, and the associated RGB colors c1, c2.void
Sets values v1,v2 and the associated RGB colors c1, c2.void
PbNonLinearDataMapping2.setValues
(PbNonLinearDataMapping2.Types type, float[] v, SbColor[] c) Sets non linear function for data mapping, with RGB color.void
PbNonLinearDataMapping2.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.color
Color used for facesMoMaterialElement.Material.lineColor
Color used for linesMoMaterialElement.Material.markerColor
Color used for pointsMethods in com.openinventor.meshvizxlm.mapping.elements with parameters of type SbColorModifier and TypeMethodDescriptionstatic void
MoMaterialElement.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.