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

GradientPattern Class Reference

This class implements a gradient pattern. More...

#include <Pattern.h>

Inheritance diagram for GradientPattern

Inheritance graph
[legend]
Collaboration diagram for GradientPattern:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  PROPERTY_DIRECTION = 0x0200, PROPERTY_NOISE = 0x0201, PROPERTY_TURBULENCE = 0x0202, PROPERTY_LAMBDA = 0x0203,
  PROPERTY_OCTAVES = 0x0204, PROPERTY_OMEGA = 0x0205
}

Public Methods

 DECLARE_CLASS (GradientPattern,Pattern)
 GradientPattern ()
virtual ~GradientPattern ()
virtual void setProperty (int nProperty,const Variant &vValue)
virtual void getProperty (int nProperty,Variant &vValue)const

Public Attributes

Vector3 direction
double noise
double turbulence
double lambda
double omega
double octaves

Detailed Description

This class implements a gradient pattern.

The calculation is done in the calculate1D method. The result is in the interval [0..1].

Author(s):
Stefan Michel
See also:
XYZPigment , ColorMap


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

counter

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