00001 /* ************************************************************************* 00002 render.h - description 00003 ------------------- 00004 begin : Wed Oct 16 2002 00005 copyright : (C) 2002 by Micha Riser 00006 email : mriser@gmx.net 00007 00008 $Id: render_8h-source.html,v 1.1 2005/02/04 21:02:27 micha Exp $ 00009 00010 ************************************************************************* */ 00011 00012 /* ************************************************************************* 00013 * * 00014 * This program is free software; you can redistribute it and/or modify * 00015 * it under the terms of the GNU General Public License as published by * 00016 * the Free Software Foundation; either version 2 of the License, or * 00017 * (at your option) any later version. * 00018 * * 00019 ************************************************************************* */ 00020 00021 #ifndef RENDER_H 00022 #define RENDER_H 00023 00024 #include "pigment3d.h" 00025 #include "pixeloutputstream.h" 00026 #include "pixel.h" 00027 00032 class Render { 00033 00034 private: // Private attributes 00035 Pigment3D* imageplane; 00036 PixelOutputStream* out; 00037 int w; 00038 int h; 00039 00040 public: // Constructors and destructor 00041 00048 Render(Pigment3D* camera, PixelOutputStream* o, int width, int height): 00049 imageplane(camera), out(o), w(width), h(height) {}; 00050 00051 ~Render() {}; 00052 private: 00053 Render(const Render&); 00054 Render& operator=(const Render&); 00055 00056 public: // Public methods 00059 void doRendering(); 00060 00061 }; 00062 00063 #endif
1.3.8