]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx
RaC Changes that includes a Polygon contour in creaMaracasVisu and creaContours
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxVtkBaseView_SceneManager.cxx
index ab420d82327ebe29d530dd04e9037fed5d344744..128f1bca280b567bb6e3659a5756a728f0205189 100644 (file)
@@ -172,12 +172,21 @@ DEFINE_EVENT_TYPE( wxEVT_CHANGED_DEEP )
                        manContourControl       = new manualLineControler();
                        manViewerContour        = new manualViewLine();
                }
+
+               //Points
                if (typeContour==7)
                {
                        manContourControl       = new manualContourControler();
                        manViewerContour        = new manualViewPoints();
                }
 
+               //Polygon
+               if (typeContour==10)
+               {
+                       manContourControl       = new manualContourControler();
+                       manViewerContour        = new manualViewContour();
+               }
+
 
 
         _lastInteraction = insertWrap( theKeyName, manContourControl, manViewerContour );