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
Collaboration diagram for StrategyAntialiasUniform:

Collaboration graph
List of all members.

Public Types


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
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.


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