#include <dots.h>
Public Member Functions | |
~DotsTexture () | |
DotsTexture (TextureMapping2D *m, Reference< Texture< T > > t1, Reference< Texture< T > > t2) | |
T | Evaluate (const DifferentialGeometry &dg) const |
Private Attributes | |
TextureMapping2D * | mapping |
Reference< Texture< T > > | outsideDot |
Reference< Texture< T > > | insideDot |
Definition at line 37 of file dots.h.
DotsTexture< T >::~DotsTexture | ( | ) | [inline] |
Definition at line 40 of file dots.h.
References DotsTexture< T >::mapping.
DotsTexture< T >::DotsTexture | ( | TextureMapping2D * | m, | |
Reference< Texture< T > > | t1, | |||
Reference< Texture< T > > | t2 | |||
) | [inline] |
T DotsTexture< T >::Evaluate | ( | const DifferentialGeometry & | dg | ) | const [inline, virtual] |
Implements Texture< T >.
Definition at line 47 of file dots.h.
References Floor2Int(), DotsTexture< T >::insideDot, TextureMapping2D::Map(), DotsTexture< T >::mapping, Noise(), and DotsTexture< T >::outsideDot.
Reference<Texture<T> > DotsTexture< T >::insideDot [private] |
Definition at line 70 of file dots.h.
Referenced by DotsTexture< T >::Evaluate().
TextureMapping2D* DotsTexture< T >::mapping [private] |
Definition at line 69 of file dots.h.
Referenced by DotsTexture< T >::Evaluate(), and DotsTexture< T >::~DotsTexture().
Reference<Texture<T> > DotsTexture< T >::outsideDot [private] |
Definition at line 70 of file dots.h.
Referenced by DotsTexture< T >::Evaluate().