RiConvertImage


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

Quick Index

No documentation available.

Class Summary

class RiConvertImage
{
public:
RiConvertImage();
void SetY(RiReal newY);
void SetWhitePoint(RiReal x, RiReal y);
void SetRedPoint(RiReal x, RiReal y);
void SetGreenPoint(RiReal x, RiReal y);
void SetBluePoint(RiReal x, RiReal y);
void SetGamma(RiReal gamma);
void WriteScreenFile(RiImage &img, const char *fname) const;
bool ReadScreenFile(RiImage &img, const char *fname) const;
void WriteScreenData(RiImage &img, unsigned char *data);
protected:
}; // RiConvertImage


RiConvertImage();

Default constructor. sets the monitor coordinates to something reasonable and the gamma to 1.4 (enough to finish the SGI default correction

    RiConvertImage();

void SetY(RiReal newY);

Set the luminance of the white point.

    void SetY(RiReal newY);

void SetWhitePoint(RiReal x, RiReal y);

Set the chromaticity coordinates of the white point

    void SetWhitePoint(RiReal x, RiReal y);

void SetRedPoint(RiReal x, RiReal y);

Set the chromaticity coordinates of the red phosphor

    void SetRedPoint(RiReal x, RiReal y);

void SetGreenPoint(RiReal x, RiReal y);

Set the chromaticity coordinates of the green phosphor

    void SetGreenPoint(RiReal x, RiReal y);

void SetBluePoint(RiReal x, RiReal y);

Set the chromaticity coordinates of the blue phosphor

    void SetBluePoint(RiReal x, RiReal y);

void SetGamma(RiReal gamma);

Set the gamma of the monitor/screen (ie 2.5 not .4)

    void SetGamma(RiReal gamma);

void WriteScreenFile(RiImage &img, const char *fname) const;

Write the image to the file. Determine type from the filename.

    void	WriteScreenFile(RiImage &img, const char *fname) const;

bool ReadScreenFile(RiImage &img, const char *fname) const;

Read the image from the file. Determine type from the filename.

    bool 	ReadScreenFile(RiImage &img, const char *fname) const;

void WriteScreenData(RiImage &img, unsigned char *data);

Write the image to a data array (in proper order for glDrawPixels)

    void	WriteScreenData(RiImage &img, unsigned char *data);

All Members

public:
void SetY(RiReal newY);
void SetWhitePoint(RiReal x, RiReal y);
void SetRedPoint(RiReal x, RiReal y);
void SetGreenPoint(RiReal x, RiReal y);
void SetBluePoint(RiReal x, RiReal y);
void SetGamma(RiReal gamma);
void WriteScreenFile(RiImage &img, const char *fname) const;
bool ReadScreenFile(RiImage &img, const char *fname) const;
void WriteScreenData(RiImage &img, unsigned char *data);
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:25 2000 .