]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.h
SetColorImage update
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxVtkBaseView_SceneManager.h
index e565266d28361fdc24c18e89d87c0898ba91949a..c1591b911d49dfbe94529f4385bccbd2dd78fad9 100644 (file)
@@ -105,7 +105,6 @@ class wxVtkBaseView_SceneManager : public InteractorStyleMaracas {
        // Methods for capturing events
        //------------------------------------------------------------------------------------------------------------
        
-               
        //------------------------------------------------------------------------------------------------------------
        //  Methods for sending events
        //------------------------------------------------------------------------------------------------------------
@@ -209,7 +208,8 @@ class wxVtkBaseView_SceneManager : public InteractorStyleMaracas {
 
        int                       GetImageDataSizeZ();
        void              GetImageDataRange( double *range );
-       void                    SetWidthContour(double width);
+       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();
 
        
        //------------------------------------------------------------------------------------------------------------
@@ -232,35 +235,36 @@ private:
        // Attributtes
        //------------------------------------------------------------------------------------------------------------
        
-       std::map<std::string, ContourWrap_ViewControl *> * _contours_ViewControl;
-       std::map<std::string, ContourWrap_ViewControl *> * _sceneContours_ViewControl;
-       wxVtkBaseView                           *_wxVtk_BaseView;
-       wxEvtHandler                            *_eventHandler;
-       ContourWrap_ViewControl                 *_lastInteraction;
-       std::string                             _lastInteractionName;
-       std::map<std::string, ContourWrap_ViewControl *> * _workingGroup;
-       bool                                    _creatingMULT_ROI;
-       bool                                    _editingROI;
-       bool                                    _toIncludeAtInteractionGroup;
-       bool                                    _waiting;
-       bool                                    _creatingROI;
-       int                                     _enventID;
-       int                                     _leftClickCount;
-       int                                     _rigthClickCount;
-       int                                     clickX;
-       int                                     clickY;
-       char                                    _lastKeyCode;
-       long int                                onCharCallBackTimeEnd;
-       long int                                onCharNeeded;
-       bool                                    _drawingSelectionROI;
-       manualRoiControler                      *_controlerSelectionROI;
-       manualViewRoi                           *_viewerSelectionROI;
-       manualBaseModel                         *_modelSelectionROI;
-       double                                  _widthOfContour;
-       double                                  _widthOfControlPoint;
-
-       bool _ctrlKey;
-       bool _shiftKey;
+       std::map<std::string, ContourWrap_ViewControl *>        *_contours_ViewControl;
+       std::map<std::string, ContourWrap_ViewControl *>        *_sceneContours_ViewControl;
+       wxVtkBaseView                                                                           *_wxVtk_BaseView;
+       wxEvtHandler                                                                            *_eventHandler;
+       ContourWrap_ViewControl                                                         *_lastInteraction;
+       std::string                                                                                     _lastInteractionName;
+       std::map<std::string, ContourWrap_ViewControl *>        *_workingGroup;
+       bool                                                                                            _creatingMULT_ROI;
+       bool                                                                                            _editingROI;
+       bool                                                                                            _toIncludeAtInteractionGroup;
+       bool                                                                                            _waiting;
+       bool                                                                                            _creatingROI;
+       int                                                                                                     _enventID;
+       int                                                                                                     _leftClickCount;
+       int                                                                                                     _rigthClickCount;
+       int                                                                                                     clickX;
+       int                                                                                                     clickY;
+       char                                                                                            _lastKeyCode;
+       long int                                                                                        onCharCallBackTimeEnd;
+       long int                                                                                        onCharNeeded;
+       bool                                                                                            _drawingSelectionROI;
+       manualRoiControler                                                                      *_controlerSelectionROI;
+       manualViewRoi                                                                           *_viewerSelectionROI;
+       manualBaseModel                                                                         *_modelSelectionROI;
+       double                                                                                          _widthOfContour;
+       double                                                                                          _widthOfControlPoint;
+       bool                                                                                            _ctrlKey;
+       bool                                                                                            _shiftKey;
+       bool                                                                                            _showTextContour;
+       vtkTextActor                                                                            *_numberOfContoursTextActor;
 };
 #endif // __wxVtkBaseView_SceneManager_HEADER_FILE__