SoSFColor - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 2.5.0
Note : Coin
NAMESoSFColor − The SoSFColor class is a container for an SbColor value.
SYNOPSIS
#include <Inventor/fields/SoSFColor.h> Inherits SoSField.
Public Member Functionsvirtual SoType getTypeId (void) const
virtual void copyFrom (const SoField &field)
const SoSFColor & operator= (const SoSFColor &field)
virtual SbBool isSame (const SoField &field) const
const SbColor & getValue (void) const
void setValue (const SbColor &newvalue)
const SbColor & operator= (const SbColor &newvalue)
int operator== (const SoSFColor &field) const
int operator!= (const SoSFColor &field) const
void setValue (const SbVec3f &vec)
void setValue (const float red, const float green, const float blue)
void setValue (const float rgb[3])
void setHSVValue (const float h, const float s, const float v)
void setHSVValue (const float hsv[3])
Static Public Member Functionsstatic void * createInstance (void)
static SoType getClassTypeId (void)
static void initClass (void)
Protected AttributesSbColor value
Additional Inherited Members
Detailed DescriptionThe 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. See also SoMFColor
Member Function Documentation
SoType SoSFColor::getTypeId (void) const [virtual]Returns the type identification instance which uniquely identifies the Coin field class the object belongs to. See also getClassTypeId(), SoType Implements SoField.
void SoSFColor::copyFrom (const SoField & f) [virtual]Copy value(s) from f into this field. f must be of the same type as this field. Implements SoField.
SbBool SoSFColor::isSame (const SoField & f) const [virtual]Check for equal type and value(s). Implements SoField.
void SoSFColor::setValue (const SbVec3f & vec)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().
void SoSFColor::setValue (const float red, const float green, const float blue)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().
void SoSFColor::setValue (const float rgb[3])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().
void SoSFColor::setHSVValue (const float h, const float s, const float v)Set color value from h, s and v, where is 'hue', s is 'saturation' and v is 'value'. References SbColor::setHSVValue(), and SoField::valueChanged().
void SoSFColor::setHSVValue (const float hsv[3])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().
AuthorGenerated automatically by Doxygen for Coin from the source code. 0
Johanes Gumabo
Data Size : 20,488 byte
man-SoSFColor.3coin2Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 200,349
Visitor ID : :
Visitor IP : 18.117.91.116 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.