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

mitkFootprint2D.h

00001 /*=========================================================================
00002 
00003   Program:   3DMed
00004   Date:      $Date: 2014-02-25 18:30:00 +0800 $
00005   Version:   $Version: 4.6.0 $
00006   Copyright: MIPG, Institute of Automation, Chinese Academy of Sciences
00007 
00008 =========================================================================*/
00009 
00010 
00011 #ifndef __mitkFootprint2D_h
00012 #define __mitkFootprint2D_h
00013 
00014 #include "mitkFootprint.h"
00015 
00020 class MITK_VISUALIZATION_API mitkFootprint2D : public mitkFootprint
00021 {
00022 public:
00023     MITK_TYPE(mitkFootprint2D, mitkFootprint)
00024 
00025     virtual void PrintSelf(ostream &os);
00026 
00032     void SetExtent(float ex, float ey){ m_RX = ex, m_RY = ey; }
00033 
00039     void SetSampleNumber(int numx, int numy){ m_NX = numx, m_NY = numy; }
00040 
00046     void GetExtent(float &ex, float &ey){ ex = m_RX, ey = m_RY; }
00047 
00053     void GetSampleNumber(int &numx, int &numy){ numx = m_NX, numy = m_NY; }
00054 
00055 protected:
00056     mitkFootprint2D();
00057     virtual ~mitkFootprint2D();
00058 
00059     float m_RX, m_RY;
00060     float m_OldRX, m_OldRY;
00061     int m_NX, m_NY;
00062     int m_OldNX, m_OldNY;
00063     int m_NumX, m_NumY;
00064 
00065 private:
00066     mitkFootprint2D(const mitkFootprint2D&);
00067     void operator = (const mitkFootprint2D&);
00068 
00069 };
00070 
00071 
00072 //#define DEFINED_mitkFootprint2D
00073 
00074 
00075 
00076 #endif
00077 

Generated on Tue Feb 25 15:00:37 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3