#include <uv.h>
Public Member Functions | |
| UVTexture (TextureMapping2D *m) | |
| virtual | ~UVTexture () |
| virtual SWCSpectrum | Evaluate (const TsPack *tspack, const DifferentialGeometry &dg) const |
Static Public Member Functions | |
| static Texture< float > * | CreateFloatTexture (const Transform &tex2world, const TextureParams &tp) |
| static Texture< SWCSpectrum > * | CreateSWCSpectrumTexture (const Transform &tex2world, const TextureParams &tp) |
Private Attributes | |
| TextureMapping2D * | mapping |
Definition at line 34 of file uv.h.
| lux::UVTexture::UVTexture | ( | TextureMapping2D * | m | ) | [inline] |
| virtual lux::UVTexture::~UVTexture | ( | ) | [inline, virtual] |
| Texture< float > * UVTexture::CreateFloatTexture | ( | const Transform & | tex2world, | |
| const TextureParams & | tp | |||
| ) | [static] |
| Texture< SWCSpectrum > * UVTexture::CreateSWCSpectrumTexture | ( | const Transform & | tex2world, | |
| const TextureParams & | tp | |||
| ) | [static] |
Definition at line 36 of file uv.cpp.
References lux::TextureParams::FindFloat(), lux::TextureParams::FindString(), lux::TextureParams::FindVector(), lux::Transform::GetInverse(), LUX_BADTOKEN, LUX_ERROR, luxError, and UVTexture().
| virtual SWCSpectrum lux::UVTexture::Evaluate | ( | const TsPack * | tspack, | |
| const DifferentialGeometry & | dg | |||
| ) | const [inline, virtual] |
Implements lux::Texture< SWCSpectrum >.
Definition at line 43 of file uv.h.
References COLOR_SAMPLES, Floor2Int(), lux::TextureMapping2D::Map(), and mapping.
TextureMapping2D* lux::UVTexture::mapping [private] |
Definition at line 56 of file uv.h.
Referenced by Evaluate(), UVTexture(), and ~UVTexture().
1.6.2-20100208