]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.h
#3140 creaContours Feature New Normal - branch vtk7itk4wx3
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxContourViewPanel.h
index c8f70333b0200bd5a0c6fb8992bdb39fd3f2278d..60d66f23de40d14d7a6a2087dc6822a639c149b0 100644 (file)
@@ -75,34 +75,24 @@ ViewPanel.h */
 // Class definition
 //------------------------------------------------------------------------------------------------------------
 
-class wxContourViewPanel : public wxPanel {// public wxScrolledWindow {
-
+class wxContourViewPanel : public wxPanel 
+{
        public:
-
        //------------------------------------------------------------------------------------------------------------
        // Constructors & Destructors
        //------------------------------------------------------------------------------------------------------------
-       
        wxContourViewPanel( vtkImageData * theShowingImage, wxWindow *parent, const wxPoint& pos=wxDefaultPosition, const wxSize& size = wxDefaultSize,long style= wxDEFAULT_FRAME_STYLE | wxSUNKEN_BORDER, int vertStart=1, int vertEnd=1, int horzStart=1, int horzEnd=1 );
-
        ~wxContourViewPanel();
-
        //------------------------------------------------------------------------------------------------------------
        // Creational and initialization methods
        //------------------------------------------------------------------------------------------------------------
-       
        void setWxEventHandler( wxEvtHandler * theEventHandler );
-
        void createHorizontalBar(int horzStart, int horzEnd);
-
        void createVerticalBar(int vertStart, int vertEnd);
-
        void createViewPanel();
-
        //------------------------------------------------------------------------------------------------------------
        // Methods for capturing events from the horizontal bar
        //------------------------------------------------------------------------------------------------------------
-       
        /**
        * Handles the event wxEVT_TSBAR from the horizontal bar 
        */
@@ -360,39 +350,33 @@ private:
        //------------------------------------------------------------------------------------------------------------
        // Attributtes
        //------------------------------------------------------------------------------------------------------------
-       wxVtkBaseView_SceneManager_sceneManager;
+       wxVtkBaseView_SceneManager              *_sceneManager;
        /*
        * Represents the outer sizer of the ContourViewPanel
        */
-       wxFlexGridSizeroutSizer;
+       wxFlexGridSizer                                 *outSizer;
 
        /*
        * Represents the panel for viewing
        */
-       wxMaracas_N_ViewersWidget theViewPanel;
+       wxMaracas_N_ViewersWidget               *theViewPanel;
        /*
        * Represents the vertical barrange
        */
-       mBarRange _verticalBar;
+       mBarRange                                               *_verticalBar;
 
        /*
        * Represents the horizontal barrange
        */
-       mBarRange * _horizontalBar;
-
-       vtkImageData * showingVID;      
-
-       std::string _verticalConceptName;
+       mBarRange                                               *_horizontalBar;
+       vtkImageData                                    *showingVID;    
+       std::string                                     _verticalConceptName;
+       std::string                                     _horizontalConceptName;
+       double                                                  last_spacing[3];
+       bool                                                    _useVerticalBar;
+       bool                                                    _useHorizontalBar;
 
-       std::string _horizontalConceptName;
-
-       double last_spacing[3];
-
-       bool _useVerticalBar;
-
-       bool _useHorizontalBar;
-       
-       wxEvtHandler * _eventHandler;
+       wxEvtHandler                                    *_eventHandler;
        
 //EED