RiProjectionTexture[ Texture | Source | Search | Keywords | Summary | Ancestors | All Members | Descendants ]
| public: | |
| // Constructors and assignment | |
| RiProjectionTexture(const RiVector3TextureProxy &color, RiProjectionTexture::Type type); | |
| // Members | |
| RiReal | GetScalar(RiMaterialRegion &hit); |
| RiVector2 | GetVector2(RiMaterialRegion &hit); |
| RiVector3 | GetVector3(RiMaterialRegion &hit); |
| protected: | |
| void | DoProjection(RiMaterialRegion &hit); |
RiProjectionTexture(const RiVector3TextureProxy &color, RiProjectionTexture::Type type);
Default Constructor
RiProjectionTexture(const RiVector3TextureProxy &color, RiProjectionTexture::Type type);
virtual RiReal GetScalar(RiMaterialRegion &hit);
virtual RiVector2 GetVector2(RiMaterialRegion &hit);
virtual RiVector3 GetVector3(RiMaterialRegion &hit);
void DoProjection(RiMaterialRegion &hit);
| 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); | |
| // place3DTexture stuff | ||
| void | SetPlacementTransform(const RiAffineTMatrix3 &trans); | |
| protected: | ||
| RiVector3 | DoColorCorrection(RiVector3 rgb); | |
| RiVector3 | DoTransform(RiMaterialRegion &hit); | |
| void | DoProjection(RiMaterialRegion &hit); | |