Public Types |
| enum | { PROPERTY_TRANSFORM = 0x0100,
PROPERTY_NORMAL = 0x0101
} |
Public Methods |
|
| DECLARE_ABSTRACT_CLASS (Texture,Object) |
|
| Texture () |
|
virtual | ~Texture () |
|
virtual void | setProperty (int nProperty,const Variant &vValue) |
|
virtual void | getProperty (int nProperty,Variant &vValue)const |
|
virtual void | acceptOperation (Visitor *pVisitor) |
|
void | setNormal (Normal *new_normal) |
|
Normal* | getNormal () |
| virtual Color | getColor (const Vector3 &point) |
| | this function returns the color of the object at a given point. More...
|
| virtual Finish* | getFinish () |
| | this function returns the current finish. More...
|
| void | setTransform (Transformation *pTransform) |
| | sets a new Transformation object. More...
|
Protected Attributes |
|
<Transformation> | transform |
|
<Normal> | normal |
A texture represents the material a object is made of. In the raytracer this combines the properties which color the object has at a given point and how it reflects or refracts light beams.