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

SimpleColorMap Class Reference

This class is a very simple one dimensional ColorMap. More...

#include <ColorMap.h>

Inheritance diagram for SimpleColorMap

Inheritance graph
Collaboration diagram for SimpleColorMap:

Collaboration graph
List of all members.

Public Types

enum  { PROPERTY_COLOR1 = 0x0200, PROPERTY_COLOR2 = 0x0201 }

Public Methods

 DECLARE_CLASS (SimpleColorMap,ColorMap)
 SimpleColorMap ()
virtual ~SimpleColorMap ()
virtual void setProperty (int nProperty,const Variant &vValue)
virtual void getProperty (int nProperty,Variant &vValue)const
virtual Color getColor (const double value)

Protected Attributes

Color color1
Color color2

Detailed Description

This class is a very simple one dimensional ColorMap.

It has two border colors and interpolates the values inside its range. This produces a color bleed. To get a more sophisticated color bleed, use ColorMapList

Stefan Michel
See also:
XYZPigment , Pattern , SimpleColorMap

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


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