From 5e5433cf3c6160a21432844163d2d242f46d77f4 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Fri, 24 Sep 2021 15:53:11 +0200 Subject: [PATCH] #3471 Doxygen OFF in CMake AND wx.h conflict --- lib/doxygen/CMakeLists.txt | 2 +- .../widgets/wxMaracasRenderImageManagementPanel.h | 11 ++++++++++- .../widgets/wxMaracasRenderImageTransformation.cpp | 6 ++++++ .../wxWindows/widgets/wxMaracasRendererView.cxx | 4 ++++ .../wxWindows/widgets/wxMaracasRendererView.h | 6 +++++- .../wxWindows/widgets/wxPanelCuttingImageData.cxx | 6 ++++++ .../wxVTKRenderWindowInteractorEditContour.cxx | 6 ++++++ .../widgets/wxVTKRenderWindowInteractorEditContour.h | 1 - .../wxWindows/widgets/wxVtkClipping3DView.cxx | 7 +++++++ .../widgets/wxVtkClipping3DViewCntrlPanel.cxx | 7 +++++++ .../widgets/wxVtkClipping3DViewVolCntrlPanel.cxx | 6 ++++++ 11 files changed, 58 insertions(+), 4 deletions(-) diff --git a/lib/doxygen/CMakeLists.txt b/lib/doxygen/CMakeLists.txt index bc99473..98d9fa9 100644 --- a/lib/doxygen/CMakeLists.txt +++ b/lib/doxygen/CMakeLists.txt @@ -28,7 +28,7 @@ MACRO(CREA_BUILD_DOXYGEN_DOC NAME INPUT DOC_RELATIVE_INSTALL_PATH PREDEFINED) #-------------------------------------------------------------------------- - SET(USE_DOXYGEN ON CACHE BOOL "" FORCE) + SET(USE_DOXYGEN OFF CACHE BOOL "" FORCE) # Name SET(DOXYGEN_PROJECT_NAME "${NAME}") diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRenderImageManagementPanel.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRenderImageManagementPanel.h index cc29f75..7dea59b 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRenderImageManagementPanel.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRenderImageManagementPanel.h @@ -26,9 +26,18 @@ #ifndef wxMaracasRenderImageManagementPanel_H_ #define wxMaracasRenderImageManagementPanel_H_ -#include "wxMaracasRenderImageTransformation.h" + +#include +#include +#include + +#ifndef WX_PRECOMP #include +#endif + +#include "wxMaracasRenderImageTransformation.h" + #include "creaMaracasVisu_EXPORT.h" class creaMaracasVisu_EXPORT wxMaracasRenderImageManagementPanel : public wxDialog diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRenderImageTransformation.cpp b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRenderImageTransformation.cpp index ad37e6c..a59cd60 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRenderImageTransformation.cpp +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRenderImageTransformation.cpp @@ -23,6 +23,12 @@ # knowledge of the CeCILL-B license and that you accept its terms. # ------------------------------------------------------------------------ */ +#include +#include +#include +#include +#include // for std::cout + #include "wxMaracasRenderImageTransformation.h" #include "wxMaracasRendererView.h" diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRendererView.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRendererView.cxx index 1098be2..ce9dfaa 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRendererView.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRendererView.cxx @@ -31,6 +31,10 @@ =========================================================================*/ +#include +#include +#include + #include "wxMaracasRendererView.h" #include diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRendererView.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRendererView.h index 818dd32..3b33ab4 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRendererView.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRendererView.h @@ -34,9 +34,13 @@ #ifndef __wxMaracasRendererViewPanelH__ #define __wxMaracasRendererViewPanelH__ -#include +#ifndef WX_PRECOMP #include +#endif + #include "wx/aui/aui.h" + +#include #include #include "marTypes.h" #include "vtkProp3D.h" diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxPanelCuttingImageData.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxPanelCuttingImageData.cxx index d16cff9..7d39bdd 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxPanelCuttingImageData.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxPanelCuttingImageData.cxx @@ -23,6 +23,12 @@ # knowledge of the CeCILL-B license and that you accept its terms. # ------------------------------------------------------------------------ */ +#include +#include +#include +#include +#include // for std::cout + #include "wxPanelCuttingImageData.h" diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractorEditContour.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractorEditContour.cxx index b1e26a1..a5c481c 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractorEditContour.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractorEditContour.cxx @@ -23,6 +23,12 @@ # knowledge of the CeCILL-B license and that you accept its terms. # ------------------------------------------------------------------------ */ +#include +#include +#include +#include +#include // for std::cout + #include "wxVTKRenderWindowInteractorEditContour.h" //--------------------------------------------------------------------------- diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractorEditContour.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractorEditContour.h index 3c46e68..c6a98b0 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractorEditContour.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractorEditContour.h @@ -26,7 +26,6 @@ #ifndef _wxVTKRenderWindowInteractorEditContour_h_ #define _wxVTKRenderWindowInteractorEditContour_h_ - #include #include diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkClipping3DView.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkClipping3DView.cxx index b41609e..a9a493a 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkClipping3DView.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkClipping3DView.cxx @@ -23,6 +23,13 @@ # knowledge of the CeCILL-B license and that you accept its terms. # ------------------------------------------------------------------------ */ +#include +#include +#include +#include +#include // for std::cout + + #include "wxVtkClipping3DView.h" #include "wxVtkClipping3DViewCntrlPanel.h" diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkClipping3DViewCntrlPanel.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkClipping3DViewCntrlPanel.cxx index 3657b37..4401691 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkClipping3DViewCntrlPanel.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkClipping3DViewCntrlPanel.cxx @@ -24,6 +24,13 @@ # ------------------------------------------------------------------------ */ +#include +#include +#include +#include +#include // for std::cout + + #include "wxVtkClipping3DViewCntrlPanel.h" #include "wx/colordlg.h" #include "vtkTriangleFilter.h" diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkClipping3DViewVolCntrlPanel.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkClipping3DViewVolCntrlPanel.cxx index 72fa34e..e6636ba 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkClipping3DViewVolCntrlPanel.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkClipping3DViewVolCntrlPanel.cxx @@ -27,6 +27,12 @@ //RaC 03-2010 Divides in two panels thje last tab Surface/Volume //------------------------------------------------------------------- +#include +#include +#include +#include +#include // for std::cout + #include "wxVtkClipping3DViewVolCntrlPanel.h" #include "wx/colordlg.h" #include "vtkTriangleFilter.h" -- 2.47.1