#include <dots.h>
Public Member Functions | |
~DotsTexture () | |
DotsTexture (TextureMapping2D *m, boost::shared_ptr< Texture< T > > c1, boost::shared_ptr< Texture< T > > c2) | |
T | Evaluate (const DifferentialGeometry &dg) const |
Static Public Member Functions | |
static Texture< float > * | CreateFloatTexture (const Transform &tex2world, const TextureParams &tp) |
static Texture< Spectrum > * | CreateSpectrumTexture (const Transform &tex2world, const TextureParams &tp) |
Private Attributes | |
boost::shared_ptr< Texture< T > > | outsideDot |
boost::shared_ptr< Texture< T > > | insideDot |
TextureMapping2D * | mapping |
Definition at line 33 of file dots.h.
lux::DotsTexture< T >::~DotsTexture | ( | ) | [inline] |
Definition at line 36 of file dots.h.
References lux::DotsTexture< T >::mapping.
lux::DotsTexture< T >::DotsTexture | ( | TextureMapping2D * | m, | |
boost::shared_ptr< Texture< T > > | c1, | |||
boost::shared_ptr< Texture< T > > | c2 | |||
) | [inline] |
Definition at line 39 of file dots.h.
References lux::DotsTexture< T >::insideDot, lux::DotsTexture< T >::mapping, and lux::DotsTexture< T >::outsideDot.
Texture< float > * lux::DotsTexture< T >::CreateFloatTexture | ( | const Transform & | tex2world, | |
const TextureParams & | tp | |||
) | [inline, static] |
Definition at line 75 of file dots.h.
References lux::TextureParams::FindFloat(), lux::TextureParams::FindString(), lux::TextureParams::FindVector(), lux::TextureParams::GetFloatTexture(), lux::Transform::GetInverse(), LUX_BADTOKEN, LUX_ERROR, and luxError.
Texture< Spectrum > * lux::DotsTexture< T >::CreateSpectrumTexture | ( | const Transform & | tex2world, | |
const TextureParams & | tp | |||
) | [inline, static] |
Definition at line 105 of file dots.h.
References lux::TextureParams::FindFloat(), lux::TextureParams::FindString(), lux::TextureParams::FindVector(), lux::Transform::GetInverse(), lux::TextureParams::GetSpectrumTexture(), LUX_BADTOKEN, LUX_ERROR, and luxError.
T lux::DotsTexture< T >::Evaluate | ( | const DifferentialGeometry & | dg | ) | const [inline, virtual] |
Implements lux::Texture< T >.
Definition at line 45 of file dots.h.
References Floor2Int(), lux::DotsTexture< T >::insideDot, lux::TextureMapping2D::Map(), lux::DotsTexture< T >::mapping, lux::Noise(), and lux::DotsTexture< T >::outsideDot.
boost::shared_ptr<Texture<T> > lux::DotsTexture< T >::insideDot [private] |
Definition at line 69 of file dots.h.
Referenced by lux::DotsTexture< T >::DotsTexture(), and lux::DotsTexture< T >::Evaluate().
TextureMapping2D* lux::DotsTexture< T >::mapping [private] |
Definition at line 70 of file dots.h.
Referenced by lux::DotsTexture< T >::DotsTexture(), lux::DotsTexture< T >::Evaluate(), and lux::DotsTexture< T >::~DotsTexture().
boost::shared_ptr<Texture<T> > lux::DotsTexture< T >::outsideDot [private] |
Definition at line 69 of file dots.h.
Referenced by lux::DotsTexture< T >::DotsTexture(), and lux::DotsTexture< T >::Evaluate().