Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

osg::Color4f Class Reference

Inheritance diagram for osg::Color4f:

osg::Color4< Real32 > List of all members.

Public Types

typedef Real32 ValueType

Public Member Functions

Color4 (void)
 Color4 (const Color4 &source)
 Color4 (const ValueType red, const ValueType green, const ValueType blue, const ValueType alpha)
*void clear (void)
void setValuesRGBA (const ValueType red, const ValueType green, const ValueType blue, const ValueType alpha)
void setValuesHSV (const Real32 h, const Real32 s, const Real32 v)
void setRandom (void)
void setRGBA (UInt32 rgbPack)
void setValue (const Char8 *szString)
void setValue (Char8 *szString)
*UInt32 getRGBA (void) const
void getValuesRGBA (ValueType &red, ValueType &green, ValueType &blue, ValueType &alpha) const
ValueTypegetValuesRGBA (void)
const ValueTypegetValuesRGBA (void) const
void getValuesHSV (Real32 &h, Real32 &s, Real32 &v) const
ValueType red (void) const
ValueType green (void) const
ValueType blue (void) const
ValueType alpha (void) const
*Color4 operator * (const ValueType val)
ValueTypeoperator[] (const UInt32 uiIndex)
const ValueTypeoperator[] (const UInt32 uiIndex) const
bool equals (const Color4 &other, const ValueType tolerance) const
bool operator== (const Color4 &other) const
bool operator!= (const Color4 &other) const

Static Public Attributes

static const Color4 Null

Protected Attributes

ValueType _rgba [4]

Private Attributes

Real32_val

Detailed Description

This is a documentation wrapper. Its only purpose is to fool doxygen into thinking of a typedef as a class and to allow you to find all the needed info from this page.

Warning:
The real inheritance is not what you see here.

This is just to give you an idea of the conceptual relations and to help you understand the available methods of this class.

Definition at line 2300 of file dummyClasses.dox.


Member Typedef Documentation

typedef Real32 osg::Color4< Real32 >::ValueType [inherited]
 

Definition at line 180 of file OSGColor.h.


Member Function Documentation

* osg::Color4< Real32 >::Color4 void   )  [inherited]
 

osg::Color4< Real32 >::Color4 const Color4< Real32 > &  source  )  [inherited]
 

osg::Color4< Real32 >::Color4 const ValueType  red,
const ValueType  green,
const ValueType  blue,
const ValueType  alpha
[inherited]
 

* void osg::Color4< Real32 >::clear void   )  [inherited]
 

void osg::Color4< Real32 >::setValuesRGBA const ValueType  red,
const ValueType  green,
const ValueType  blue,
const ValueType  alpha
[inherited]
 

void osg::Color4< Real32 >::setValuesHSV const Real32  h,
const Real32  s,
const Real32  v
[inherited]
 

void osg::Color4< Real32 >::setRandom void   )  [inherited]
 

void osg::Color4< Real32 >::setRGBA UInt32  rgbPack  )  [inherited]
 

method to set the rgb values (ABGGRR)

void osg::Color4< Real32 >::setValue const Char8 szString  )  [inherited]
 

void osg::Color4< Real32 >::setValue Char8 szString  )  [inherited]
 

* UInt32 osg::Color4< Real32 >::getRGBA void   )  const [inherited]
 

method to get a packed rgb value (ABGGRR)

void osg::Color4< Real32 >::getValuesRGBA ValueType red,
ValueType green,
ValueType blue,
ValueType alpha
const [inherited]
 

method to get a packed rgb value (ABGGRR)

ValueType* osg::Color4< Real32 >::getValuesRGBA void   )  [inherited]
 

method to get a packed rgb value (ABGGRR)

const ValueType* osg::Color4< Real32 >::getValuesRGBA void   )  const [inherited]
 

method to get a packed rgb value (ABGGRR)

void osg::Color4< Real32 >::getValuesHSV Real32 h,
Real32 s,
Real32 v
const [inherited]
 

method to get a packed rgb value (ABGGRR)

ValueType osg::Color4< Real32 >::red void   )  const [inherited]
 

method to get a packed rgb value (ABGGRR)

ValueType osg::Color4< Real32 >::green void   )  const [inherited]
 

method to get a packed rgb value (ABGGRR)

ValueType osg::Color4< Real32 >::blue void   )  const [inherited]
 

method to get a packed rgb value (ABGGRR)

ValueType osg::Color4< Real32 >::alpha void   )  const [inherited]
 

method to get a packed rgb value (ABGGRR)

* Color4 osg::Color4< Real32 >::operator * const ValueType  val  )  [inherited]
 

ValueType& osg::Color4< Real32 >::operator[] const UInt32  uiIndex  )  [inherited]
 

const ValueType& osg::Color4< Real32 >::operator[] const UInt32  uiIndex  )  const [inherited]
 

bool osg::Color4< Real32 >::equals const Color4< Real32 > &  other,
const ValueType  tolerance
const [inherited]
 

equal within tolerance

bool osg::Color4< Real32 >::operator== const Color4< Real32 > &  other  )  const [inherited]
 

bool osg::Color4< Real32 >::operator!= const Color4< Real32 > &  other  )  const [inherited]
 


Member Data Documentation

Real32* osg::Color4f::_val [private]
 

Definition at line 2300 of file dummyClasses.dox.

const Color4 osg::Color4< Real32 >::Null [static, inherited]
 

Definition at line 182 of file OSGColor.h.

ValueType osg::Color4< Real32 >::_rgba[4] [protected, inherited]
 

Definition at line 272 of file OSGColor.h.


The documentation for this class was generated from the following file:
Generated on Thu Aug 25 04:37:36 2005 for OpenSG by  doxygen 1.4.3