xy_slice_view.h

Go to the documentation of this file.
00001 //--------------------------------------------------
00012 //---------------------------------------------------
00013 
00014 #ifndef IMEDGINE_XY_SLICE_VIEW_H
00015 #define IMEDGINE_XY_SLICE_VIEW_H
00016 
00017 #include "slice_pixel_view.h"
00018 
00019 namespace imedgine 
00020 {
00021   //--------------------------------------------------
00033   //--------------------------------------------------
00034   
00035   class XYSliceView : public SlicePixelView
00036   {
00037   public:
00038     
00039     //--------------------------------------------------
00042     XYSliceView();
00043 
00044     //--------------------------------------------------
00047     virtual ~XYSliceView();
00048     
00049     //--------------------------------------------------
00052     
00053     view_pointer_type clone() const;
00054 
00055     //--------------------------------------------------
00060     
00061     virtual void onDataChangedEvent(dataset_attribute_type changed_attribute)
00062         throw(NullPointerException);      
00063     
00064     //--------------------------------------------------
00067     
00068     virtual void updateView()
00069         throw(NullPointerException);      
00070     
00071     //--------------------------------------------------
00079     
00080     virtual void setFocusPoint2D(index_type x, index_type y)
00081         throw(NullPointerException);
00082   
00083     //--------------------------------------------------
00089     
00090     virtual void setSliceIndex(index_type slice_index)
00091         throw(NullPointerException);   
00092     
00093     //--------------------------------------------------
00097        
00098     virtual index_type getSliceIndex() const;
00099     
00100     //--------------------------------------------------
00104     
00105     virtual index_type getNumSlices() const;    
00106     
00107     //--------------------------------------------------
00111     
00112     virtual SbVec2s getSliceResolution() const;    
00113        
00114     //--------------------------------------------------
00119     
00120     virtual SbVec2s getSecondSliceResolution() const;  
00121     
00122     //--------------------------------------------------
00125     
00126     virtual void drawCrosshair();
00127       
00128         
00129   protected:
00130       
00131     //--------------------------------------------------
00134     XYSliceView(view_type type);
00135     
00136     //--------------------------------------------------
00139     XYSliceView(XYSliceView const& src);
00140     
00141   private:
00142     
00143     //--------------------------------------------------
00146     
00147     XYSliceView& operator = (XYSliceView const&)
00148     {
00149       return(*this);
00150     }
00151   };
00152 }
00153 
00154 #endif

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