]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.h
Merge remote-tracking branch 'origin/vtk8itk5wx3-mingw64' into vtk8itk5wx3-macos
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxVtkBaseView_SceneManager.h
index ecc6a5111afd3a193d295e287d3d212b35731495..c1591b911d49dfbe94529f4385bccbd2dd78fad9 100644 (file)
@@ -105,7 +105,6 @@ class wxVtkBaseView_SceneManager : public InteractorStyleMaracas {
        // Methods for capturing events
        //------------------------------------------------------------------------------------------------------------
        
-               
        //------------------------------------------------------------------------------------------------------------
        //  Methods for sending events
        //------------------------------------------------------------------------------------------------------------
@@ -210,6 +209,7 @@ class wxVtkBaseView_SceneManager : public InteractorStyleMaracas {
        int                       GetImageDataSizeZ();
        void              GetImageDataRange( double *range );
        void              SetWidthContour(double width);
+       void              SetShowTextContour(bool show);
 
 //JCP 21 - 09 - 08
        bool isEditableCControler(std::string theKeyName);
@@ -217,10 +217,13 @@ class wxVtkBaseView_SceneManager : public InteractorStyleMaracas {
        bool isCtrlPressed();
        bool isShiftPressed();
        char getLastKeyCode();
+       void SetLabelNumberOfContours( std::string label );
+
 private:
        //------------------------------------------------------------------------------------------------------------
        //  Private methods
        //------------------------------------------------------------------------------------------------------------
+       void configureTextNumberOfContour();
 
        
        //------------------------------------------------------------------------------------------------------------
@@ -260,6 +263,8 @@ private:
        double                                                                                          _widthOfControlPoint;
        bool                                                                                            _ctrlKey;
        bool                                                                                            _shiftKey;
+       bool                                                                                            _showTextContour;
+       vtkTextActor                                                                            *_numberOfContoursTextActor;
 };
 #endif // __wxVtkBaseView_SceneManager_HEADER_FILE__