Main Page | Class Hierarchy | Class List | File List | Class Members

THQRenderer.h

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

Generated on Wed Dec 3 00:44:08 2003 for Volvis by doxygen 1.3.5