]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_ViewerWidget.h
creaButtonContainer: exceptions added, doxygen documentation added :)
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxMaracas_ViewerWidget.h
index e221d82dd40e2096e4a6252287d582bf86ad3cf4..57b9ccf9983213617518cc418f8b90caef93106f 100644 (file)
@@ -3,8 +3,8 @@
   Program:   wxMaracas
   Module:    $RCSfile: wxMaracas_ViewerWidget.h,v $
   Language:  C++
-  Date:      $Date: 2009/05/04 07:35:43 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2010/10/29 07:51:06 $
+  Version:   $Revision: 1.10 $
 
   Copyright: (c) 2002, 2003
   License:
@@ -24,6 +24,7 @@
 // For compilers that support precompilation, includes <wx/wx.h>.
 // -----------------------------------------------------------------------------------------------------------
 #include <wx/wxprec.h>
+
 #ifdef __BORLANDC__
 #pragma hdrstop
 #endif
@@ -45,7 +46,6 @@
 // Class definition
 //------------------------------------------------------------------------------------------------------------
 
-
  class wxMaracas_ViewerWidget : public wxPanel
   {
   public:
@@ -54,7 +54,7 @@
        // Constructors & Destructors
        //------------------------------------------------------------------------------------------------------------
 
-    wxMaracas_ViewerWidget(wxWindow *parent, vtkImageData* imagedata, int type);
+    wxMaracas_ViewerWidget(wxWindow *parent, vtkImageData* imagedata, int type, vtkMPRBaseData *vtkmprbasedata=NULL);
     ~wxMaracas_ViewerWidget();
 
        //------------------------------------------------------------------------------------------------------------
        // Attributes
        //------------------------------------------------------------------------------------------------------------
 
+       void setColorTransferFunction(vtkColorTransferFunction* colortable);
+
+       void setWindowLevel(double level);
+
+       void setColorLevel(double level);
   private:
                int                                                             mType;
 
+               bool                            minternalVtkmprbasedata;
                vtkMPRBaseData                                  *mvtkmprbasedata; 
 
                wxVtk2DBaseView                                 *mvtk2Dbaseview;
                wxVtkMPR3DView                                  *mwxvtkmpr3Dview;
 
 
-               vtkMPR3DDataViewer                              *vtkmpr3Ddataviewer;
-
+               vtkMPR3DDataViewer                              *vtkmpr3Ddataviewer;            
 
   };