GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SOSFCOLOR (3)

NAME

SoSFColor — field containing an RGB color

CONTENTS

Inherits From
Synopsis
Description
Methods
See Also

INHERITS FROM

SoField > SoSField > SoSFColor

SYNOPSIS

Methods from class SoSFColor:

    void    
                    
void                 setValue(const SbVec3f &vec)    
void    
                    
void                 setValue(float red, float green, float blue)    
void    
                    
void                 setValue(const float rgb[3])    
void    
                    
void                 setHSVValue(float hue, float saturation, float value)    
void    
                    
void                 setHSVValue(const float hsv[3])    
static SoType    
                    
static SoType        getClassTypeId()    
virtual void    
                    
virtual void         getTypeId() const    
const SbColor &    
                    
const SbColor &      getValue() const    
const SbColor &    
                    
const SbColor &      operator =(const SbColor & newValue)    
void    
                    
void                 setValue(const SbColor & newValue)    
int    
                    
int                  operator ==(const SoSFColor &f) const    
int    
                    
int                  operator !=(const SoSFColor &f) const

Methods from class SoField:

    void    
                    
void                 setIgnored(SbBool ignore)    
SbBool    
                    
SbBool               isIgnored() const    
SbBool    
                    
SbBool               isDefault() const    
virtual SbBool    
                    
virtual SbBool       isOfType(SoType type) const    
SbBool    
                    
SbBool               set(const char *valueString)    
void    
                    
void                 get(SbString &valueString)    
void    
                    
void                 touch()    
SbBool    
                    
SbBool               connectFrom(SoField *fromField)    
SbBool    
                    
SbBool               connectFrom(SoEngineOutput *fromEngine)    
void    
                    
void                 disconnect()    
SbBool    
                    
SbBool               isConnected() const    
SbBool    
                    
SbBool               isConnectedFromField() const    
SbBool    
                    
SbBool               getConnectedField(SoField *&writingField) const    
SbBool    
                    
SbBool               isConnectedFromEngine() const    
SbBool    
                    
SbBool               getConnectedEngine(SoEngineOutput *&engineOutput) const    
void    
                    
void                 enableConnection(SbBool flag)    
SbBool    
                    
SbBool               isConnectionEnabled() const    
int    
                    
int                  getForwardConnections(SoFieldList &list) const    
SoFieldContainer *    
                    
SoFieldContainer *   getContainer() const

DESCRIPTION

A single-value field containing an SbColor. Values may be set in either RGB (red, green, blue) or HSV (hue, saturation, value) color spaces.

SoSFColors are written to file as an RGB triple of floating point numbers in standard scientific notation, in the range 0.0 to 1.0.

METHODS

    void    
                    
void                 setValue(const SbVec3f &vec)    
void    
                    
void                 setValue(float red, float green, float blue)    
void    
                    
void                 setValue(const float rgb[3])    
void    
                    
void                 setHSVValue(float hue, float saturation, float value)    
void    
                    
void                 setHSVValue(const float hsv[3])
Convenience methods for setting the value.

    static SoType    
                    
static SoType        getClassTypeId()    
virtual void    
                    
virtual void         getTypeId() const
Returns the type for this class or a particular object of this class.

    const SbColor &    
                    
const SbColor &      getValue() const
Returns this field’s value.

    const SbColor &    
                    
const SbColor &      operator =(const SbColor & newValue)    
void    
                    
void                 setValue(const SbColor & newValue)
Sets this field to newValue.

    int    
                    
int                  operator ==(const SoSFColor &f) const    
int    
                    
int                  operator !=(const SoSFColor &f) const
Returns TRUE if f is of the same type and has the same value as this field.

SEE ALSO

SoField, SoSField, SoMFColor, SbColor

Search for    or go to Top of page |  Section 3 |  Main Index


SOSFCOLOR(3IV) (-->)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.