Uses of Class
com.openinventor.inventor.SbColor
-
Packages that use SbColor Package Description com.openinventor.hardcopy Resolution-independent vector/polygon hardcopy.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 com.openinventor.inventor.mpeg com.openinventor.inventor.nodes com.openinventor.medical.helpers Provides some nodes and helper classes specifically created to facilitate implementation of medical applications.com.openinventor.meshviz.graph com.openinventor.meshvizxlm.mapping.elements Provides state elements. -
-
Uses of SbColor in com.openinventor.hardcopy
Methods in com.openinventor.hardcopy that return SbColor Modifier and Type Method Description SbColor
SoVectorizeAction. getBackgroundColor()
Returns the color of the background.Methods in com.openinventor.hardcopy with parameters of type SbColor Modifier and Type Method Description void
SoVectorizeAction. setBackgroundColor(boolean bg, SbColor color)
Sets the color of the background.void
SoVectorizeAction. setBorder(float width, SbColor color)
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 SbColor Modifier and Type Method Description SbColor
SoSceneManager. getBackgroundColor()
SbColor
SbColor. setHSVValue(float[] hsv)
Sets value of color vector from array of 3 HSV components.SbColor
SbColor. setHSVValue(float h, float s, float v)
Sets value of color vector from 3 HSV (Hue, Saturation, and Value) components.SbColor
SbColor. setPackedValue(int orderedRGBA, float transparency)
Sets value of color vector from an RGBA packed color value.SbColor
SbColor. setPackedValue(long rgba, float[] transparency)
RGBA Packed integer color routines.SbColor
SbColor. setValue(float[] components)
SbColor
SbColor. setValue(float[] components, int startIndex)
static SbColor[]
SbColor. toArray(long nativeArray, long length)
Methods in com.openinventor.inventor with parameters of type SbColor Modifier and Type Method Description void
SoSceneManager. setBackgroundColor(SbColor c)
Defines the window background color when in RGB mode.void
SbColor. setValue(SbColor copyFrom)
Constructors in com.openinventor.inventor with parameters of type SbColor Constructor Description SbColor(SbColor copyFrom)
-
Uses of SbColor in com.openinventor.inventor.actions
Fields in com.openinventor.inventor.actions declared as SbColor Modifier and Type Field Description SbColor
SoCallbackAction.Material. ambient
SbColor
SoCallbackAction.Material. diffuse
SbColor
SoCallbackAction.Material. emission
SbColor
SoCallbackAction.Material. specular
Methods in com.openinventor.inventor.actions that return SbColor Modifier and Type Method Description SbColor
SoBoxHighlightRenderAction. getColor()
Gets the color of the highlight.SbColor
SoColorHighlightRenderAction. getColor()
Gets the color of the highlight.SbColor
SoLineHighlightRenderAction. getColor()
Gets the color of the highlight.SbColor
SoHaloHighlightRenderAction. getHaloColor()
SeesetHaloColor()
SbColor
SoToHTMLAction. getImageBackgroundColor()
Returns the image background color.SbColor
SoCallbackAction. getTextureBlendColor()
Returns texture information from the state.Methods in com.openinventor.inventor.actions with parameters of type SbColor Modifier and Type Method Description void
SoBoxHighlightRenderAction. setColor(SbColor c)
Sets the color of the highlight.void
SoColorHighlightRenderAction. setColor(SbColor c)
Sets the color of the highlight.void
SoLineHighlightRenderAction. setColor(SbColor c)
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 SbColor Modifier and Type Field Description SbColor
SoEnvironmentElement.EnvironmentParameters. ambientColor
SbColor
SoEnvironmentElement.EnvironmentParameters. fogColor
Methods in com.openinventor.inventor.elements that return SbColor Modifier and Type Method Description static SbColor
SoLazyElement. getAmbient(SoState name_14045)
Deprecated.static SbColor
SoMaterialElement. getAmbient(SoState name_15035)
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)
get() methods get value from Inventor state.static SbColor
SoLazyElement. getEmissive(SoState name_14046)
Deprecated.static SbColor
SoMaterialElement. getEmissive(SoState name_15036)
static SbColor
SoLazyElement. getSpecular(SoState name_14047)
Deprecated.static SbColor
SoMaterialElement. getSpecular(SoState name_15037)
Methods in com.openinventor.inventor.elements with parameters of type SbColor Modifier and Type Method Description static 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, SoNode node, SbColor color)
static void
SoLazyElement. setDiffuse(SoState state, SoNode node, SbColor[] colors, SoColorPacker cPacker)
Deprecated.Static set method.static void
SoMaterialElement. setDiffuse(SoState state, SoNode node, SbColor[] colors)
Static set method.static void
SoLazyElement. setEmissive(SoState state, SoNode node, SbColor color)
Deprecated.static void
SoMaterialElement. setEmissive(SoState state, SoNode node, SbColor color)
static void
SoLazyElement. setSpecular(SoState state, SoNode node, SbColor color)
Deprecated.static void
SoMaterialElement. setSpecular(SoState state, SoNode node, SbColor color)
-
Uses of SbColor in com.openinventor.inventor.fields
Methods in com.openinventor.inventor.fields that return SbColor Modifier and Type Method Description SbColor
SoSFColor. getValue()
Returns this field's value.SbColor
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 SbColor Modifier and Type Method Description int
SoMFColor. find(SbColor targetValue)
Calls find(targetValue, false).int
SoMFColor. find(SbColor targetValue, boolean addIfNotFound)
Finds the given targetValue in the array and returns the index of that value.void
SoMFColor. set1Value(int index, SbColor newValue)
Sets the index'th value in the array to newValue.void
SoMFColor. setValue(SbColor newValue)
Sets the first value in the array to newValue, and deletes.void
SoSFColor. setValue(SbColor newValue)
Sets this field to newValue.void
SoMFColor. setValues(int start, SbColor[] newValues)
Sets num values starting at index start to the values.Constructors in com.openinventor.inventor.fields with parameters of type SbColor Constructor Description SoSFColor(SoFieldContainer fieldContainer, java.lang.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 SbColor Modifier and Type Method Description SbColor
SoMPEGRenderer. getBackgroundColor()
Gets the background color for rendering each frame.Methods in com.openinventor.inventor.mpeg with parameters of type SbColor Modifier and Type Method Description void
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 SbColor Modifier and Type Method Description static SbColor
SoWWWInline. getBoundingBoxColor()
Queries the color of bounding boxes displayed.SbColor
SoExtSelection. getLassoColor()
Deprecated.As of Open Inventor 10.0.0.0.Methods in com.openinventor.inventor.nodes with parameters of type SbColor Modifier and Type Method Description static 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 SbColor Modifier and Type Method Description static 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 SbColor Modifier and Type Field Description SbColor
PbLinearDataMapping.RGBMapping. c1
SbColor
PbLinearDataMapping.RGBTransparencyMapping. c1
SbColor
PbLinearDataMapping.RGBMapping. c2
SbColor
PbLinearDataMapping.RGBTransparencyMapping. c2
Methods in com.openinventor.meshviz.graph that return SbColor Modifier and Type Method Description SbColor[]
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 SbColor Modifier and Type Method Description void
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
PbLinearDataMapping. setValues(float v1, SbColor c1, float t1, float v2, SbColor c2, float t2)
Sets values v1,v2, the associated transparecny t1,t2, and the associated RGB colors c1, c2.void
PbLinearDataMapping. setValues(float v1, SbColor c1, float v2, SbColor c2)
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 SbColor Constructor Description PoItemLegend(SbVec2f _start, SbVec2f _end, java.lang.String[] _item, SbColor[] _boxColor)
Constructor.PoPieChart2D(SbVec2f _center, float _radius, java.lang.String[] sliceTexts, float[] sliceValues, SbColor[] sliceColors)
Constructor.PoPieChart3D(SbVec3f _center, float _zCenter2, float _radius, java.lang.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 SbColor Modifier and Type Field Description SbColor
MoMaterialElement.Material. color
Color used for facesSbColor
MoMaterialElement.Material. lineColor
Color used for linesSbColor
MoMaterialElement.Material. markerColor
Color used for pointsMethods in com.openinventor.meshvizxlm.mapping.elements with parameters of type SbColor Modifier and Type Method Description static 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.
-