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

Pigment Class Reference

This class calculates the pigmentation of an object. More...

#include <Pigment.h>

Inheritance diagram for Pigment

Inheritance graph
[legend]
Collaboration diagram for Pigment:

Collaboration graph
[legend]
List of all members.

Public Methods

 DECLARE_ABSTRACT_CLASS (Pigment,Object)
 Pigment ()
virtual ~Pigment ()
virtual Color getColor (const Vector3 &point)
 Calculates the color for the point in space. More...


Detailed Description

This class calculates the pigmentation of an object.

The pigmentation is the color which an object has if it is luminated. To realize objects which have a structured color like wood or limestone as well as pictures, there has to be a relation between where the point is and which color it has. Therefor this Object gets the intersection point in the tree dimensional space and calculates the color for this point.

Author(s):
Stefan Michel


Member Function Documentation

Color Pigment::getColor ( const Vector3 & point ) [virtual]
 

Calculates the color for the point in space.

Parameters:
point   the point for which the color is to be calculated


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

counter

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