From 5c93569581d7cf3032e983d4304dddcd400ce009 Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Thu, 28 Jun 2012 10:41:22 +0000 Subject: [PATCH] BUG 1439 and 1438 The visualisation of the contour propagation is working Documentation of the General architecture, integration with doxygen and classes --- .../wxVtkBaseView_SceneManager.cxx | 4 ++-- lib/doxygen/CMakeLists.txt | 11 +---------- lib/doxygen/DoxyMainPage.txt.in | 10 +++++++++- .../KernelManagerContour.cxx | 2 +- 4 files changed, 13 insertions(+), 14 deletions(-) diff --git a/lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx b/lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx index e80cc4a..be3aa76 100644 --- a/lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx +++ b/lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx @@ -196,7 +196,7 @@ DEFINE_EVENT_TYPE( wxEVT_CHANGED_DEEP ) manViewerContour->SetModel( manModelContour ); manViewerContour->SetWxVtkBaseView( _wxVtk_BaseView ); manViewerContour->SetRange( _widthOfControlPoint ); - manViewerContour->SetZ( 1000 ); + manViewerContour->SetZ( -900 ); manViewerContour->SetSpacing(spc); @@ -227,7 +227,7 @@ DEFINE_EVENT_TYPE( wxEVT_CHANGED_DEEP ) _viewerSelectionROI->SetModel( _modelSelectionROI ); _viewerSelectionROI->SetWxVtkBaseView( _wxVtk_BaseView ); _viewerSelectionROI->SetRange( 2 ); - _viewerSelectionROI->SetZ( 1000 ); + _viewerSelectionROI->SetZ( -900 ); _viewerSelectionROI->SetColorNormalContour(0.6, 0.8, 0); _viewerSelectionROI->SetSpacing( spc ); diff --git a/lib/doxygen/CMakeLists.txt b/lib/doxygen/CMakeLists.txt index f9b0826..5b84851 100644 --- a/lib/doxygen/CMakeLists.txt +++ b/lib/doxygen/CMakeLists.txt @@ -58,16 +58,7 @@ MACRO(CREA_BUILD_DOXYGEN_DOC NAME INPUT DOC_RELATIVE_INSTALL_PATH PREDEFINED) #IF ( ${${PROJECT_NAME}_DOC} STREQUAL ON) IF ( ${PROJECT_NAME}_DOC STREQUAL ON) - CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/GeneralArchitecture/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/GeneralArchitecture_Diagrams/ ) - #CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/wxVtkViewer/wxVtkViewer_classDiagram1_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/wxVtkViewer_classDiagram1_HTML/ ) - #CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/wxVtkViewer/wxVtkViewer_classDiagram2_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/wxVtkViewer_classDiagram2_HTML/ ) - #CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/manualContour/manualContour_MVC_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/manualContour_MVC_HTML/ ) - #CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/manualContour/manualContour_Model_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/manualContour_Model_HTML/ ) - #CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/manualContour/manualContour_View_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/manualContour_View_HTML/ ) - #CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/manualContour/manualContour_Controler_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/manualContour_Controler_HTML/ ) - #CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/manualContour/manualContour_SeqCreateContour_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/manualContour_SeqCreateContour_HTML/ ) - #CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/CutModule/CutModuleDiagrams_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/CutModuleDiagrams_HTML/ ) - #CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/GeneralArchitecture/GeneralArchitecture_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/GeneralArchitecture_HTML/ ) + CREA_CPDIR ( ${CMAKE_CURRENT_SOURCE_DIR}/bouml/GeneralArchitecture/GeneralArchitecture_HTML/ ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/GeneralArchitecture_HTML/ ) ADD_CUSTOM_TARGET(doxygen_${NAME} ALL DEPENDS ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/index.html diff --git a/lib/doxygen/DoxyMainPage.txt.in b/lib/doxygen/DoxyMainPage.txt.in index 5b4c1d1..988b3d2 100644 --- a/lib/doxygen/DoxyMainPage.txt.in +++ b/lib/doxygen/DoxyMainPage.txt.in @@ -1,5 +1,5 @@ /** - * \mainpage creaMaracasVisu documentation + * \mainpage creaContours documentation \htmlonly @@ -84,6 +84,14 @@ extract statistical information out of these images.

Architecture Description

+ +

+ + Here the General Architecture + +

+ +

A gross approximation of creaContours' diff --git a/lib/kernel_ManagerContour_NDimensions/KernelManagerContour.cxx b/lib/kernel_ManagerContour_NDimensions/KernelManagerContour.cxx index 1fb5e3f..e7f99c8 100644 --- a/lib/kernel_ManagerContour_NDimensions/KernelManagerContour.cxx +++ b/lib/kernel_ManagerContour_NDimensions/KernelManagerContour.cxx @@ -370,7 +370,7 @@ manualBaseModel* KernelManagerContour::GetPoints(int z,int type, std::vectorAddPoint( (*vecCtrlPointX)[j] , (*vecCtrlPointY)[j] , 900 ); + manModelContour->AddPoint( (*vecCtrlPointX)[j] , (*vecCtrlPointY)[j] , -900 ); //-------------------------------------------------------------------- } // for j -- 2.47.1