SoSFColorRGBA - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 3.1.3
Note : Coin

NAMESoSFColorRGBA − The SoSFColorRGBA class is a container for an SbColor4f value​.

SYNOPSIS
#include <Inventor/fields/SoSFColorRGBA​.h> Inherits SoSField​.

Public Member Functionsvirtual SoType getTypeId (void) const
virtual void copyFrom (const SoField &field)
const SoSFColorRGBA & operator= (const SoSFColorRGBA &field)
virtual SbBool isSame (const SoField &field) const
const SbColor4f & getValue (void) const
void setValue (const SbColor4f &newvalue)
const SbColor4f & operator= (const SbColor4f &newvalue)
int operator== (const SoSFColorRGBA &field) const
int operator!= (const SoSFColorRGBA &field) const
void setValue (const SbVec4f &vec)
void setValue (float red, float green, float blue, float alpha)
void setValue (const float rgba[4])
void setHSVValue (float h, float s, float v, float a)
void setHSVValue (const float hsva[4])

Static Public Member Functionsstatic void * createInstance (void)
static SoType getClassTypeId (void)
static void initClass (void)

Protected AttributesSbColor4f value

Additional Inherited Members

Detailed DescriptionThe SoSFColorRGBA class is a container for an SbColor4f value​. This field is used where nodes, engines or other field containers needs to store a single color value (i​.e​. Red + Green + Blue + Alpha)​. Fields of this type stores their value to file as a 'R G B A' quadruple component, where each color component value is between 0​.0 and 1​.0​. See also SbColor4f, SoMFColorRGBA

Member Function Documentation

SoType SoSFColorRGBA::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 SoSFColorRGBA::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 SoSFColorRGBA::isSame (const SoField & f) const [virtual]Check for equal type and value(s)​. Implements SoField​.

void SoSFColorRGBA::setValue (const SbVec4f & vec)Set color value from a vector with three elements​. The three elements will be interpreted as red, green and blue, respectively​.

void SoSFColorRGBA::setValue (float red, float green, float blue, float alpha)Set color value from red, green and blue​. Value range for each component is between 0​.0 and 1​.0​.

void SoSFColorRGBA::setValue (const float rgba[4])Set color value from a floating point number array with three elements​. The three elements will be interpreted as red, green and blue, respectively​.

void SoSFColorRGBA::setHSVValue (float h, float s, float v, float a)Set color value from h, s and v, where is 'hue', s is 'saturation' and v is 'value'​.

void SoSFColorRGBA::setHSVValue (const float hsva[4])Set color value from a floating point number array with three elements​. The three elements will be interpreted as hue, saturation and value, respectively​.

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   19,296 byte
man-SoSFColorRGBA.3coin3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 199,772
Visitor ID   :     :  
Visitor IP   :   3.147.66.224   :  
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.