00001
00002
00004
00005 #if !defined(AFX_TFILTERINTERFACE_H__57B34170_4639_4A41_B03D_072E3B674100__INCLUDED_)
00006 #define AFX_TFILTERINTERFACE_H__57B34170_4639_4A41_B03D_072E3B674100__INCLUDED_
00007
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011
00012 #include <QString.h>
00013
00014 class TVolModell;
00015
00016 #define FILTERTYP_RGBA 1
00017 #define FILTERTYP_UCHAR 2
00018 #define FILTERTYP_USHORTI 3
00019
00020 class TFilterInterface
00021 {
00022 public:
00023 TFilterInterface();
00024 virtual ~TFilterInterface();
00025 virtual unsigned int getFilteredVal(float x, float y, float z, int type)=0;
00026 virtual void setModel(TVolModell* m)=0;
00027 virtual QString getName()=0;
00028
00029 };
00030
00031 #include "TVolModell.h"
00032
00033 #endif // !defined(AFX_TFILTERINTERFACE_H__57B34170_4639_4A41_B03D_072E3B674100__INCLUDED_)