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

Generated on 20 Oct 2010 for creaMaracasVisu_lib by  doxygen 1.6.1