00001
00002
00004
00005 #if !defined(AFX_TRENDERER_H__46D197DF_8C6D_49EF_A2C3_FB23912548BF__INCLUDED_)
00006 #define AFX_TRENDERER_H__46D197DF_8C6D_49EF_A2C3_FB23912548BF__INCLUDED_
00007
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011
00012 #include "TRendererInterface.h"
00013 #include <QImage.h>
00014 #include "TVolModell.h"
00015 #include "TKoo3d.h"
00016
00017
00018 #include <QProgressDialog.h>
00019 #include "bitfieldstruct.h"
00020 #include "viewWidgetImpl.h"
00021 #include "TStdRendererSettingsDialog.h"
00022
00023
00024
00025 class TRenderer : public TRendererInterface
00026 {
00027 private:
00028
00029 TKameraInterface* kamera;
00030 float stepSize;
00031 float minOpp;
00032 bool shaded;
00033
00034 public:
00035 void setShaded(bool b);
00036 bool getShaded();
00037 virtual float getMinOpp();
00038 virtual void setMinOpp(float f);
00039 virtual void setStepSize(float s);
00040 TRenderer();
00041 virtual ~TRenderer();
00042 virtual QDialog* getSettingsWidget();
00043 virtual float getStepSize();
00044 virtual QString getName();
00045
00046 virtual void renderModelTo(TVolModell& mod, QImage& img);
00047 virtual void setKamera(TKameraInterface* k);
00048
00049 };
00050
00051 #endif // !defined(AFX_TRENDERER_H__46D197DF_8C6D_49EF_A2C3_FB23912548BF__INCLUDED_)