00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef __mitkTIFFReader_h
00012 #define __mitkTIFFReader_h
00013
00014 #include "mitkVolumeReader.h"
00015
00038 class MITK_COMMON_API mitkTIFFReader : public mitkVolumeReader
00039 {
00040 public:
00041 MITK_TYPE(mitkTIFFReader,mitkVolumeReader)
00042
00043 virtual void PrintSelf(ostream& os);
00044
00045 mitkTIFFReader();
00046
00051 void SetSpacingX(float px){ m_Spacings[0] = px; }
00052
00057 void SetSpacingY(float py){ m_Spacings[1] = py; }
00058
00063 void SetSpacingZ(float pz){ m_Spacings[2] = pz; }
00064
00071 void SetSpacings(float s[3])
00072 {
00073 m_Spacings[0] = s[0];
00074 m_Spacings[1] = s[1];
00075 m_Spacings[2] = s[2];
00076 }
00077
00078 protected:
00079 virtual ~mitkTIFFReader();
00080
00081 virtual bool Execute();
00082
00083 float m_Spacings[3];
00084
00085 private:
00086 mitkTIFFReader(const mitkTIFFReader&){};
00087 void operator=(const mitkTIFFReader&){};
00088
00089 };
00090
00091
00092
00093
00094
00095
00096 #endif
00097
00098