00001
00002
00004
00005 #if !defined(AFX_TTRANSFERFUNC_H__0F1D8C26_015D_417D_8625_85BEC1DB9ED2__INCLUDED_)
00006 #define AFX_TTRANSFERFUNC_H__0F1D8C26_015D_417D_8625_85BEC1DB9ED2__INCLUDED_
00007
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011
00012 #include "TTransferFuncInterface.h"
00013
00014
00015 class TTransferFunc : public TTransferFuncInterface
00016 {
00017 private:
00018 TColorBitfield *array;
00019 transferFunction transFunc;
00020 int maximum;
00021
00022 public:
00023 TTransferFunc ();
00024 virtual ~TTransferFunc ();
00025 virtual void init (int range);
00026 virtual void setTransferFunction (transferFunction transFunc);
00027 virtual TColorBitfield getTransferFunction(int density);
00028
00029 };
00030
00031 #endif // !defined(AFX_TTRANSFUNC_H__46D197DF_8C6D_49EF_A2C3_FB23912548BF__INCLUDED_)