RiColorXYZV

Holds data in the XYZ colorspace, with the addition of a scotopic value.

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

Quick Index

DESCRIPTION

Class Summary

class RiColorXYZV
{
public:
// Constructors and assignment
RiColorXYZV();
RiColorXYZV(RiReal x, RiReal y, RiReal z, RiReal v );
RiColorXYZV(const RiSpectrum &in);
// Accessors
RiReal X() const;
RiReal Y() const;
RiReal Z() const;
RiReal V() const;
// Members
RiColorXYZV operator+(const RiColorXYZV &rhs) const;
RiColorXYZV operator-(const RiColorXYZV &rhs) const;
RiColorXYZV operator*(RiReal rhs) const;
RiColorXYZV operator/(RiReal rhs) const;
const RiColorXYZV &operator+==(const RiColorXYZV &rhs);
const RiColorXYZV &operator-=(const RiColorXYZV &rhs);
const RiColorXYZV &operator*==(RiReal rhs);
const RiColorXYZV &operator/==(RiReal rhs);
protected:
}; // RiColorXYZV


DESCRIPTION


RiColorXYZV();

Default Constructor

    RiColorXYZV();

RiColorXYZV(RiReal x, RiReal y, RiReal z, RiReal v );

Default Constructor Note that passing in 0 for v may result in unusual conversion to rgb

    RiColorXYZV(RiReal x, RiReal y, RiReal z, RiReal v = 0);

RiColorXYZV(const RiSpectrum &in);

Constructor from RiSpectrum

    RiColorXYZV(const RiSpectrum &in);

RiReal X() const;

    RiReal	X() const;

RiReal Y() const;

    RiReal	Y() const;

RiReal Z() const;

    RiReal	Z() const;

RiReal V() const;

    RiReal	V() const;

RiColorXYZV operator+(const RiColorXYZV &rhs) const;

    RiColorXYZV operator+(const RiColorXYZV &rhs) const;

RiColorXYZV operator-(const RiColorXYZV &rhs) const;

    RiColorXYZV operator-(const RiColorXYZV &rhs) const;

RiColorXYZV operator*(RiReal rhs) const;

    RiColorXYZV operator*(RiReal rhs) const;

RiColorXYZV operator/(RiReal rhs) const;

    RiColorXYZV operator/(RiReal rhs) const;

const RiColorXYZV &operator+=(const RiColorXYZV &rhs);

    const RiColorXYZV &operator+=(const RiColorXYZV &rhs);

const RiColorXYZV &operator-=(const RiColorXYZV &rhs);

    const RiColorXYZV &operator-=(const RiColorXYZV &rhs);

const RiColorXYZV &operator*=(RiReal rhs);

    const RiColorXYZV &operator*=(RiReal rhs);

const RiColorXYZV &operator/=(RiReal rhs);

    const RiColorXYZV &operator/=(RiReal rhs);  

All Members

public:
// Accessors
RiReal X() const;
RiReal Y() const;
RiReal Z() const;
RiReal V() const;
// Members
RiColorXYZV operator+(const RiColorXYZV &rhs) const;
RiColorXYZV operator-(const RiColorXYZV &rhs) const;
RiColorXYZV operator*(RiReal rhs) const;
RiColorXYZV operator/(RiReal rhs) const;
const RiColorXYZV &operator+==(const RiColorXYZV &rhs);
const RiColorXYZV &operator-=(const RiColorXYZV &rhs);
const RiColorXYZV &operator*==(RiReal rhs);
const RiColorXYZV &operator/==(RiReal rhs);
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:15:00 2000 .