coolray.org FAQ Contact Us
CoolRay Banner
CoolRay / Documentation
Main Page   Class Hierarchy   Compound List   Compound Members   Related Pages  

SimpleTexture Class Reference

This object implements the standard texture for the raytracer. More...

#include <Texture.h>

Inheritance diagram for SimpleTexture

Inheritance graph
[legend]
Collaboration diagram for SimpleTexture:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { PROPERTY_PIGMENT = 0x0200, PROPERTY_FINISH = 0x0201 }

Public Methods

 DECLARE_CLASS (SimpleTexture,Texture)
 SimpleTexture ()
virtual ~SimpleTexture ()
virtual void setProperty (int nProperty,const Variant &vValue)
virtual void getProperty (int nProperty,Variant &vValue)const
virtual void acceptOperation (Visitor *pVisitor)
virtual Color getColor (const Vector3 &point)
virtual FinishgetFinish ()
void setPigment (Pigment *pigment)
void setFinish (Finish *finish)

Public Attributes

<Pigmentpigment
<Finishfinish

Detailed Description

This object implements the standard texture for the raytracer.

The calculation of the color at a given point is delegated to a pigment object.

See also:
Pigment , Finish


The documentation for this class was generated from the following file:
  • Texture.h
You are visitor No.

counter

Copyright (c) 2001 Stefan Michel, All Rights Reserved.
Last modified: