X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_ManagerContour_NDimensions%2FwxVtkBaseView_SceneManager.cxx;h=128f1bca280b567bb6e3659a5756a728f0205189;hb=40033c782c0c68ecc676bb59de5c7fe9eb3cac44;hp=ab420d82327ebe29d530dd04e9037fed5d344744;hpb=0e1f4d7eb6ea17c3a9abd809801d699bf0fe0846;p=creaContours.git diff --git a/lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx b/lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx index ab420d8..128f1bc 100644 --- a/lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx +++ b/lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx @@ -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 );