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

Strategy Class Reference

The Strategy class defines how the image is rendered. More...

#include <Trace.h>

Inheritance diagram for Strategy

Inheritance graph
[legend]
Collaboration diagram for Strategy:

Collaboration graph
[legend]
List of all members.

Public Methods

 DECLARE_ABSTRACT_CLASS (Strategy,Object)
 Strategy ()
virtual Strategy* getClone ()
virtual void renderImage (Scene *pScene,ImageWriterCache *pWriter)
virtual bool hasAnotherPass ()
virtual Size getMinSize ()
virtual Size getAlignment ()
unsigned long getCurrentPixels ()const
virtual unsigned long getTotalPixels (const Area &area)const

Protected Methods

void resetUpdateTimeOut ()
bool displayUpdateTimeOut ()

Protected Attributes

clock_t last_time
unsigned long m_nPixels

Detailed Description

The Strategy class defines how the image is rendered.

It creates for each point of the image one or more rays into the scene and accumulates the calculated colors to image colors.


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: