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

XYZPigment Class Reference

This class realizes calculated pigmentats for an object. More...

#include <XYZPigment.h>

Inheritance diagram for XYZPigment

Inheritance graph
[legend]
Collaboration diagram for XYZPigment:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { PROPERTY_PATTERN = 0x0200, PROPERTY_COLORMAP = 0x0100 }

Public Methods

 DECLARE_CLASS (XYZPigment,Pigment)
 XYZPigment ()
virtual ~XYZPigment ()
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)
void setColorMap (ColorMap *pColorMap)
 Sets a ColorMap Object which gets the delegation for the color calculation. More...

void setPattern (Pattern *pPattern)
 Sets a Pattern Object which gets the delegation for the pattern calculation. More...


Public Attributes

<Patternpattern
<ColorMapcolorMap

Detailed Description

This class realizes calculated pigmentats for an object.

The structure or pattern of the pigmentation is calculated by a Pattern Object. The mapping to a color is done by a ColorMap Object.

Author(s):
Stefan Michel


Member Function Documentation

void XYZPigment::setColorMap ( ColorMap * pColorMap )
 

Sets a ColorMap Object which gets the delegation for the color calculation.

Parameters:
colormap   points to an instanciated ColorMap Object

void XYZPigment::setPattern ( Pattern * pPattern )
 

Sets a Pattern Object which gets the delegation for the pattern calculation.

Parameters:
pattern   points to an instanciated ColorMap Object


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

counter

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