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

ColorMapBitmap Class Reference

This class is a two dimensional color map. More...

#include <ColorMap.h>

Inheritance diagram for ColorMapBitmap

Inheritance graph
[legend]
Collaboration diagram for ColorMapBitmap:

Collaboration graph
[legend]
List of all members.

Public Types

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

Public Methods

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

Protected Attributes

string filename
Color backgroundColor
Bitmapbitmap
bool pictureOK

Detailed Description

This class is a two dimensional color map.

It uses the two dimensional vector to address the coordinates of an image. The image is held in a bitmap object.

Author(s):
Stefan Michel
See also:
Bitmap , 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: