pixel_view.h

Go to the documentation of this file.
00001 //--------------------------------------------------
00011 //---------------------------------------------------
00012 
00013 #ifndef IMEDGINE_PIXEL_VIEW_H
00014 #define IMEDGINE_PIXEL_VIEW_H
00015 
00016 #include "view.h"
00017 #include "../global/global_definitions.h"
00018 #include "imedgine_viewer.h"
00019 
00020 namespace imedgine 
00021 {
00022   
00023   //--------------------------------------------------
00034   //--------------------------------------------------
00035 
00036   class PixelView : public View
00037   {
00038   public:
00039     
00040     //--------------------------------------------------
00043 
00044     PixelView(view_type type);
00045 
00046     //--------------------------------------------------
00049     
00050     virtual ~PixelView();
00051     
00052     //--------------------------------------------------
00057     
00058     virtual dataset_key_type getDatasetKey() const = 0; 
00059 
00060     //----------------------------------------------------
00064     virtual double getMinPixelValue() const = 0;
00065 
00066     //----------------------------------------------------
00070     virtual double getMaxPixelValue() const = 0;
00071     
00072     //--------------------------------------------------
00078      
00079     virtual void setIntensity(double window, double level)
00080         throw(NullPointerException) = 0;
00081     
00082     //--------------------------------------------------
00086     
00087     virtual double getIntensityWindow() const = 0;
00088      
00089     //--------------------------------------------------
00093     
00094     virtual double getIntensityLevel() const = 0;
00095 
00096   protected:
00097 
00098     //--------------------------------------------------
00101                  
00102     PixelView(PixelView const& src);
00103     
00104   private:
00105     
00106     //--------------------------------------------------
00109     
00110     PixelView& operator = (PixelView const&)
00111     {
00112       return(*this);
00113     }
00114 
00115   };
00116 }
00117 
00118 #endif

Generated on Sun Aug 13 18:19:41 2006 for iMEDgine by  doxygen 1.4.6