RiColorRGB

Screen space RGB

[ Color | Source | Search | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

class RiColorRGB
{
public:
// Constructors and assignment
RiColorRGB();
RiColorRGB(RiReal r, RiReal g, RiReal b);
// Accessors
RiReal R() const;
RiReal G() const;
RiReal B() const;
operator RiReal **();
operator const RiReal **() const;
protected:
}; // RiColorRGB


DESCRIPTION

Basically this just holds data and provides some type checking. The conversion operators are abstracted in the RiRGBConverter class.


RiColorRGB();

Default Constructor

    RiColorRGB();

RiColorRGB(RiReal r, RiReal g, RiReal b);

Construct from RiReal's

    RiColorRGB(RiReal r, RiReal g, RiReal b);

RiReal R() const;

    RiReal R() const;

RiReal G() const;

    RiReal G() const;

RiReal B() const;

    RiReal B() const;

operator RiReal *();

    operator RiReal *();

operator const RiReal *() const;

    operator const RiReal *() const;

All Members

public:
// Accessors
RiReal R() const;
RiReal G() const;
RiReal B() const;
operator RiReal **();
operator const RiReal **() const;
protected:

Ancestors

Class does not inherit from any other class.


Descendants

Class is not inherited by any others.


Generated from source by the Cocoon utilities on Fri Feb 25 15:14:59 2000 .