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

WoodPattern Class Reference

This class implements a wood pattern. More...

#include <Pattern.h>

Inheritance diagram for WoodPattern

Inheritance graph
[legend]
Collaboration diagram for WoodPattern:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  PROPERTY_NOISE = 0x0201, PROPERTY_TURBULENCE = 0x0202, PROPERTY_LAMBDA = 0x0203, PROPERTY_OCTAVES = 0x0204,
  PROPERTY_OMEGA = 0x0205, PROPERTY_XTURBULENCE = 0x0206, PROPERTY_YTURBULENCE = 0x0207, PROPERTY_ZPERTURBATION = 0x0208,
  PROPERTY_ZFREQUENCY = 0x0209, PROPERTY_ZOFFSET = 0x020A, PROPERTY_ZNOISE = 0x020B
}

Public Methods

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

Public Attributes

double noise
double turbulence
double lambda
double omega
double octaves
double xturbulence
double yturbulence
double zPerturbation
double zFrequency
double zOffset
double zNoise

Detailed Description

This class implements a wood 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: