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

ColorMap2DFunction Class Reference

This class is a special color map for calculated two dimensional functions. More...

#include <ColorMap.h>

Inheritance diagram for ColorMap2DFunction

Inheritance graph
[legend]
Collaboration diagram for ColorMap2DFunction:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { PROPERTY_FUNCTION = 0x0200, PROPERTY_BACKGROUNDCOLOR = 0x0201 }

Public Methods

 DECLARE_CLASS (ColorMap2DFunction,ColorMap)
 ColorMap2DFunction ()
virtual ~ColorMap2DFunction ()
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 double value)
virtual Color getColor (const Vector2 value)
virtual Color getColor (const Vector3 value)

Protected Attributes

<Function2Dfunction
Color backgroundColor

Detailed Description

This class is a special color map for calculated two dimensional functions.

One example might be the mandelbrot set. The value of the vector is taken as a input for an two dimensional function v=f(x,y). The calculation of the color is delegated to an Function2D object. This object can have its own properties.

Author(s):
Stefan Michel
See also:
Function2D , XYZPigment , Pattern


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

counter

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