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

MultiLayerPigment Class Reference

This class creates a layered pigmentation of an object. More...

#include <Pigment.h>

Inheritance diagram for MultiLayerPigment

Inheritance graph
[legend]
Collaboration diagram for MultiLayerPigment:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { PROPERTY_LAYER = 0x0200, PROPERTY_FILTER = 0x0201 }

Public Methods

 DECLARE_CLASS (MultiLayerPigment,Pigment)
 MultiLayerPigment ()
virtual ~MultiLayerPigment ()
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 addPigment (Pigment *pPigment)
 Adds another pigment layer on top of the list. More...


Public Attributes

vector< <Pigment> > layers
double filter

Detailed Description

This class creates a layered pigmentation of an object.

It can hold several Pigment layers. If there is a translucent part of one layer (i.e. the alpha part of the color is high) the color of the next layer is visible.

Author(s):
Stefan Michel


Member Function Documentation

void MultiLayerPigment::addPigment ( Pigment * pPigment )
 

Adds another pigment layer on top of the list.

Parameters:
pPigment   points to an instanciated Pigment Object


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: