wxVtk2DBaseView.h

Go to the documentation of this file.
00001 #ifndef WXVTK2DBASEVIEW_H_
00002 #define WXVTK2DBASEVIEW_H_
00003 
00004 #include "wxVtkBaseView.h"
00005 #include "vtkImageViewer2_XYZ.h"
00006 
00007 //class vtkInteractorStyleBaseView;
00008 #include "vtkInteractorStyleBaseView.h"
00009 class vtkInfoTextImage;
00010 class vtkInfoTextImageInteractor;
00011 
00012 
00013 
00014 //------------------------------------------------------------------
00015 
00016 
00017 class creaMaracasVisu_EXPORT wxVtk2DBaseView: public wxVtkBaseView{
00018 public:
00019         wxVtk2DBaseView(wxWindow *parent);
00020         virtual ~wxVtk2DBaseView();
00021         virtual void                    Configure(bool okimage=true);
00022         vtkImageViewer2_XYZ*    _imageViewer2XYZ;
00023         vtkBaseData*                    GetVtkBaseData();
00024         void                                    SetVtkBaseData(vtkBaseData *vtkbasedata);
00025         virtual void                    Refresh();
00026         virtual void                    ResetView();
00027         virtual int                             GetActualSlice();
00028         virtual void                    SetActualSlice(int slice);
00029                         void                    SetInteractorStyleImage(vtkInteractorStyleBaseView *interactorstylebaseview);
00030 
00031         virtual vtkRenderer*            GetRenderer();
00032         virtual vtkRenderWindow*        GetRenWin();
00033         virtual void                    TransformCoordinate_spacing_ViewToModel(double &X,double &Y, double &Z);
00034         virtual void                    TransformCoordinate_spacing_ModelToView(double &X,double &Y, double &Z);
00035         virtual void                    GetSpacing(double spc[3]);
00036 
00037         void setColorTransferFunction(vtkColorTransferFunction* colortable);
00038 
00039         void setWindowLevel(double level);
00040 
00041         void setColorLevel(double level);
00042 
00043 private:
00044         vtkBaseData                                                     *_vtkbasedata;
00045 
00046         vtkInfoTextImage                                        *_vtkIinfoTextImage;
00047         vtkInfoTextImageInteractor                      *_vtkIinfoTextImageInteractor;
00048 
00049 protected:
00050 
00051 };
00052 
00053 #endif /*WXVTK2DBASEVIEW_H_*/

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1