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