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

StrategyAntialiasUniform Class Reference

This strategy renders more than one ray per pixel. More...

#include <Trace.h>

Inheritance diagram for StrategyAntialiasUniform

Inheritance graph
[legend]
Collaboration diagram for StrategyAntialiasUniform:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { PROPERTY_THRESHOLD = 0x0202, PROPERTY_STRENGTH = 0x0203 }

Public Methods

 DECLARE_CLASS (StrategyAntialiasUniform,Strategy)
 StrategyAntialiasUniform ()
 StrategyAntialiasUniform (double threshold,int n)
virtual StrategygetClone ()
virtual void setProperty (int nProperty,const Variant &value)
virtual void getProperty (int nProperty,Variant &vValue)const
virtual double diffColor (const Color &a,const Color &b)
void sample (double x,double y,Color &color)
bool supersample (double x,double y,Color &color)
virtual void renderImage (Scene *pScene,ImageWriterCache *pWriter)

Static Public Methods

StrategyCreateInstance ()

Protected Attributes

double threshold
int n
Scene* pScene
Cameracamera
ImageWriterCache* pWriter

Detailed Description

This strategy renders more than one ray per pixel.

This leads to smoother edges and high quality pictures. As the cost is very high it is only used to render the final image.


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

counter

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