xz_slice_view.h

Go to the documentation of this file.
00001 //--------------------------------------------------
00012 //---------------------------------------------------
00013 
00014 #ifndef IMEDGINE_XZ_SLICE_VIEW_H
00015 #define IMEDGINE_XZ_SLICE_VIEW_H
00016 
00017 #include "slice_pixel_view.h"
00018 
00019 namespace imedgine 
00020 {
00021   //--------------------------------------------------
00033   //--------------------------------------------------
00034   
00035   class XZSliceView : public SlicePixelView
00036   {  
00037   public:
00038     
00039     //--------------------------------------------------
00042     
00043     XZSliceView();
00044     
00045     //--------------------------------------------------
00048     
00049     virtual ~XZSliceView();
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 x, 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     
00133     //--------------------------------------------------
00136     
00137     XZSliceView(view_type type);
00138     
00139     //--------------------------------------------------
00142     
00143     XZSliceView(XZSliceView const& src);
00144     
00145   private:
00146       
00147     //--------------------------------------------------
00150     
00151     XZSliceView& operator = (XZSliceView const&)
00152     {
00153       return(*this);
00154     }
00155   };
00156 }
00157 
00158 #endif

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