yz_slice_view.h

Go to the documentation of this file.
00001 //--------------------------------------------------
00012 //---------------------------------------------------
00013 
00014 #ifndef IMEDGINE_YZ_SLICE_VIEW_H
00015 #define IMEDGINE_YZ_SLICE_VIEW_H
00016 
00017 #include "slice_pixel_view.h"
00018 
00019 namespace imedgine 
00020 {  
00021   //--------------------------------------------------
00033   //--------------------------------------------------
00034   
00035   class YZSliceView : public SlicePixelView
00036   {  
00037   public:
00038        
00039     //--------------------------------------------------
00042     
00043     YZSliceView();
00044 
00045     //--------------------------------------------------
00048     
00049     virtual ~YZSliceView();
00050     
00051     //--------------------------------------------------
00054     
00055     view_pointer_type clone() const;
00056     
00057     //--------------------------------------------------
00062     
00063     virtual void onDataChangedEvent(dataset_attribute_type changed_attribute)
00064         throw(NullPointerException); 
00065     
00066     //--------------------------------------------------
00069     
00070     virtual void updateView()
00071         throw(NullPointerException);
00072     
00073     //--------------------------------------------------
00081     
00082     virtual void setFocusPoint2D(index_type y, index_type z)
00083         throw(NullPointerException);
00084     
00085     //--------------------------------------------------
00091     
00092     virtual void setSliceIndex(index_type slice_index)
00093         throw(NullPointerException);
00094     
00095     //--------------------------------------------------
00099     
00100     virtual index_type getSliceIndex() const;
00101     
00102     //--------------------------------------------------
00106     
00107     virtual index_type getNumSlices() const;   
00108     
00109     //--------------------------------------------------
00113     
00114     virtual SbVec2s getSliceResolution() const;  
00115 
00116     //--------------------------------------------------
00121     
00122     virtual SbVec2s getSecondSliceResolution() const;    
00123     
00124     //--------------------------------------------------
00127     
00128     virtual void drawCrosshair();
00129     
00130   protected:
00131       
00132     //--------------------------------------------------
00135     
00136     YZSliceView(view_type type);
00137     
00138     //--------------------------------------------------
00141     
00142     YZSliceView(YZSliceView const& src);
00143     
00144   private:
00145     
00146     //--------------------------------------------------
00149     
00150     YZSliceView& operator = (YZSliceView const&)
00151     {
00152       return(*this);
00153     }
00154   };
00155 
00156 }
00157 
00158 #endif

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