|
http://www.sim.no http://www.coin3d.org |
The SoSFColor class is a container for an SbColor value. More...
#include <Inventor/fields/SoSFColor.h>
Static Public Member Functions | |
| static void * | createInstance (void) |
| static SoType | getClassTypeId (void) |
| static void | initClass (void) |
Static Public Member Functions inherited from SoSField | |
| static void | initClass (void) |
| static SoType | getClassTypeId (void) |
Static Public Member Functions inherited from SoField | |
| static void | initClass (void) |
| static void | initClasses (void) |
| static SoType | getClassTypeId (void) |
Protected Attributes | |
| SbColor | value |
Additional Inherited Members | |
Public Types inherited from SoField | |
| enum | FieldType { NORMAL_FIELD = 0 , EVENTIN_FIELD , EVENTOUT_FIELD , EXPOSED_FIELD } |
Protected Member Functions inherited from SoSField | |
| SoSField (void) | |
Protected Member Functions inherited from SoField | |
| SoField (void) | |
| void | valueChanged (SbBool resetdefault=1) |
| virtual void | evaluateConnection (void) const |
| virtual SbBool | readConnection (SoInput *in) |
| virtual void | writeConnection (SoOutput *out) const |
| SbBool | isDestructing (void) const |
The SoSFColor class is a container for an SbColor value.
This field is used where nodes, engines or other field containers needs to store a single color value (i.e. Red + Green + Blue).
Fields of this type stores their value to file as a "R G B" triple component, where each color component value is between 0.0 and 1.0.
Copy value(s) from f into this field. f must be of the same type as this field.
Implements SoField.
Check for equal type and value(s).
Implements SoField.
Set color value from a vector with three elements. The three elements will be interpreted as red, green and blue, respectively.
References SbVec3f::setValue(), and SoField::valueChanged().
Set color value from red, green and blue. Value range for each component is between 0.0 and 1.0.
References SbVec3f::setValue(), and SoField::valueChanged().
Set color value from a floating point number array with three elements. The three elements will be interpreted as red, green and blue, respectively.
References SbVec3f::setValue(), and SoField::valueChanged().
Set color value from h, s and v, where is "hue", s is "saturation" and v is "value".
References SbColor::setHSVValue(), and SoField::valueChanged().
Set color value from a floating point number array with three elements. The three elements will be interpreted as hue, saturation and value, respectively.
References SbColor::setHSVValue(), and SoField::valueChanged().
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 19 2023 for Coin by Doxygen. 1.9.8