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

Pattern Class Reference

This class calculates the structure or pattern for the XYZPigment. More...

#include <Pattern.h>

Inheritance diagram for Pattern

Inheritance graph
[legend]
Collaboration diagram for Pattern:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { PROPERTY_TRANSFORM = 0x0100 }

Public Methods

 DECLARE_ABSTRACT_CLASS (Pattern,Object)
 Pattern ()
virtual ~Pattern ()
virtual void setProperty (int nProperty,const Variant &vValue)
virtual void getProperty (int nProperty,Variant &vValue)const
virtual void acceptOperation (Visitor *pVisitor)
virtual double getValue1D (const Vector3 &point)
 calculates the vector from the object space to the 1-dimensional colorspace. More...

virtual Vector2 getValue2D (const Vector3 &point)
 calculates the vector from the object space to the 2-dimensional colorspace. More...

virtual Vector3 getValue3D (const Vector3 &point)
 calculates the vector from the object space to the 3-dimensional colorspace. More...


Public Attributes

int dimension

Protected Attributes

<Transformation> transform

Detailed Description

This class calculates the structure or pattern for the XYZPigment.

Input is the point in the 3-dimensional object space. The function provides a n-dimensional vector representing a value in a n-dimensional color space.

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


Member Function Documentation

double Pattern::getValue1D ( const Vector3 & point ) [virtual]
 

calculates the vector from the object space to the 1-dimensional colorspace.

First the transformation to the local object space is performed. The private method calculate1D is called for calculating. Normally you donīt want to override this function. Override calculate1D instead.

Parameters:
point   point in the object space for which the color to be calculated

Vector2 Pattern::getValue2D ( const Vector3 & point ) [virtual]
 

calculates the vector from the object space to the 2-dimensional colorspace.

First the transformation to the local object space is performed. The private method calculate2D is called for calculating. Normally you donīt want to override this function. Override calculate2D instead.

Parameters:
point   point in the object space for which the color to be calculated

Vector3 Pattern::getValue3D ( const Vector3 & point ) [virtual]
 

calculates the vector from the object space to the 3-dimensional colorspace.

First the transformation to the local object space is performed. The private method calculate3D is called for calculating. Normally you donīt want to override this function. Override calculate3D instead.

Parameters:
point   point in the object space for which the color to be calculated


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: