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

Statistic Class Reference

The class Statistic represents statistical information about the rendering process. More...

#include <Statistic.h>

Collaboration diagram for Statistic:

Collaboration graph
[legend]
List of all members.

Public Methods

 Statistic ()
 constructor.

 Statistic (const Statistic &statistic)
 copy constructor.

int registerPrimitive (Class *pClass)
void resetPrimitive (int key)
StatisticDataPrimitive* getPrimitive (int key)
StatisticDataRay* getRayStatistic ()
StatisticDataPixel* getPixelStatistic ()
Statistic* clone ()const
 Clone the statistic object.

void merge (Statistic *pStatistic)
 Merge statistical data. More...

void printReport (OutputStream *pOutputStream)
 Prints a generic statistic report on an OutputStream.

void setPrecalculationTime (double time)
void setRendertime (double time)

Static Public Methods

Statistic* getInstance ()

Detailed Description

The class Statistic represents statistical information about the rendering process.

It contains the number of intersection tests calculated for each primitive, both for ray that did hit ad miss.


Member Function Documentation

void Statistic::merge ( Statistic * pStatistic )
 

Merge statistical data.

This adds (sumarize) all data of the passed statistic object with this instance.


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

counter

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