Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

SFColor Class Reference

#include <cybcolorc.h>

List of all members.

Public Methods

 SFColor ()
 SFColor (float r, float g, float b)
float & operator[] (long i)
void Set (float rr, float gg, float bb)
int operator== (const SFColor &v)
int operator!= (const SFColor &v)
SFColor operator- (const SFColor &)
SFColor operator+ (const SFColor &)

Public Attributes

float m_r
float m_g
float m_b
float m_a


Constructor & Destructor Documentation

SFColor::SFColor   [inline]
 

Definition at line 39 of file cybcolorc.h.

00039 {m_r=m_g=m_b=0;m_a=1;}

SFColor::SFColor float    r,
float    g,
float    b
[inline]
 

Definition at line 40 of file cybcolorc.h.

00040 {m_r=r;m_g=g;m_b=b;m_a=1;}


Member Function Documentation

int SFColor::operator!= const SFColor &    v
 

SFColor SFColor::operator+ const SFColor &   
 

SFColor SFColor::operator- const SFColor &   
 

int SFColor::operator== const SFColor &    v
 

float& SFColor::operator[] long    i [inline]
 

Definition at line 41 of file cybcolorc.h.

00041 {return ((float*)this)[i];} 

void SFColor::Set float    rr,
float    gg,
float    bb
[inline]
 

Definition at line 42 of file cybcolorc.h.

00042 {m_r=rr;m_g=gg;m_b=bb;}


Member Data Documentation

float SFColor::m_a
 

Definition at line 47 of file cybcolorc.h.

float SFColor::m_b
 

Definition at line 47 of file cybcolorc.h.

float SFColor::m_g
 

Definition at line 47 of file cybcolorc.h.

float SFColor::m_r
 

Definition at line 47 of file cybcolorc.h.


The documentation for this class was generated from the following file:
Generated on Tue Jul 29 14:31:00 2003 for Open ActiveWrl by doxygen1.3-rc2