Ri2DCheckerTexture


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

Quick Index

DESCRIPTION

Class Summary

class Ri2DCheckerTexture : public Ri2DMayaTexture
{
public:
// Constructors and assignment
Ri2DCheckerTexture(const RiVector3TextureProxy &color1, const RiVector3TextureProxy &color2, const RiScalarTextureProxy &contrast);
// Members
RiReal GetScalar(RiMaterialRegion &hit);
RiVector2 GetVector2(RiMaterialRegion &hit);
RiVector3 GetVector3(RiMaterialRegion &hit);
protected:
}; // Ri2DCheckerTexture


DESCRIPTION


Ri2DCheckerTexture(const RiVector3TextureProxy &color1, const RiVector3TextureProxy &color2, const RiScalarTextureProxy &contrast);

Default Constructor

    Ri2DCheckerTexture(const RiVector3TextureProxy &color1, const RiVector3TextureProxy &color2,
		       const RiScalarTextureProxy &contrast);

RiReal GetScalar(RiMaterialRegion &hit);

    virtual RiReal GetScalar(RiMaterialRegion &hit);

RiVector2 GetVector2(RiMaterialRegion &hit);

    virtual RiVector2 GetVector2(RiMaterialRegion &hit);

RiVector3 GetVector3(RiMaterialRegion &hit);

    virtual RiVector3 GetVector3(RiMaterialRegion &hit);

All Members

public:
// Accessors
RiReal GetScalar(RiMaterialRegion &hit); // pure virtual
RiVector2 GetVector2(RiMaterialRegion &hit); // pure virtual
RiVector3 GetVector3(RiMaterialRegion &hit); // pure virtual
RiSpectrum GetSpectrum(RiMaterialRegion &hit); // pure virtual
// General Color properties
void SetDefaultColor(const RiVector3 &rgbDefault);
RiVector3 GetDefaultColor();
void SetColorGain(const RiVector3 &rgbGain);
void SetColorOffset(const RiVector3 &rgbOffset);
void SetInvertColor(bool on);
// place2DTexture stuff
void SetWindowTransform(const RiAffineTMatrix2 &wTrans);
void SetPlacementTransform(const RiAffineTMatrix2 &trans);
void SetMirror(bool on);
void SetWrap(bool onU, bool onV);
void SetStagger(bool on);
void SetNoise(const RiVector2 &amount);
protected:
RiVector3 DoColorCorrection(RiVector3 rgb);
bool DoTransform(RiMaterialRegion &hit, RiVector2 &newUV);

Ancestors

Inheritance chain for Ri2DCheckerTexture:


Descendants

Class is not inherited by any others.


Generated from source by the Cocoon utilities on Fri Feb 25 15:16:02 2000 .