Source: raytracer/render.h
|
|
|
|
/* *************************************************************************
render.h - description
-------------------
begin : Wed Oct 16 2002
copyright : (C) 2002 by Micha Riser
email : mriser@gmx.net
************************************************************************* */
/* *************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
************************************************************************* */
#ifndef RENDER_H
#define RENDER_H
#include "pigment3d.h"
#include "pixeloutputstream.h"
#include "pixel.h"
/**Combines everything that is neccessary for the rendering process.
*@author Micha Riser
*/
class Render {
private: // Private attributes
Pigment3D* imageplane;
PixelOutputStream* out;
int w;
int h;
public: // Constructors and destructor
/**Create new render job.
*@param camera scene's camera.
*@param o picture output
*@param width picture width
*@param height picture height
*/
Render(Pigment3D* camera, PixelOutputStream* o, int width, int height):
imageplane(camera), out(o), w(width), h(height) {};
~Render() {};
public: // Public methods
/**Start rendering.
*/
void doRendering();
};
#endif
| Generated by: micha@laptop on Thu Oct 24 20:25:24 2002, using kdoc 2.0a53. |