From: casallas Date: Wed, 12 Nov 2008 16:24:56 +0000 (+0000) Subject: Several precompiler modifications in order to be compatible with bbmaracasvisu (bbtk... X-Git-Tag: EED.02Oct2009~168 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=97fcb31897168533a2ea52f302c29a1ac69852b4;p=creaMaracasVisu.git Several precompiler modifications in order to be compatible with bbmaracasvisu (bbtk package) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index f4f1ace..bce73aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,3 +32,4 @@ MARK_AS_ADVANCED( #SUBDIRS(appli) #SUBDIRS(lib) SUBDIRS(lib) +SUBDIRS(bbtk) \ No newline at end of file diff --git a/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.h b/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.h index 56a03d2..4be60a6 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.h @@ -2,7 +2,7 @@ #ifndef __ContourCrownWidget_h_INCLUDED_H__ #define __ContourCrownWidget_h_INCLUDED_H__ - +#include "marTypes.h" #include #include "mBarRange.h" @@ -13,7 +13,7 @@ //-------------------------------------------------------------------------- - class wxMaracasCoutourTool : public wxPanel + class MARACASVISULIB_EXPORTS wxMaracasCoutourTool : public wxPanel { public: wxMaracasCoutourTool( wxWindow *parent, wxVtkBaseView *wxvtkbaseview, vtkImageData* imagedata); diff --git a/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourVOIWidget.h b/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourVOIWidget.h index a862a46..a901306 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourVOIWidget.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourVOIWidget.h @@ -5,7 +5,7 @@ #include #include "mBarRange.h" - +#include "marTypes.h" @@ -45,7 +45,7 @@ //-------------------------------------------------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------------------------------------------------- - class ContourVOIWidget : public wxPanel + class MARACASVISULIB_EXPORTS ContourVOIWidget : public wxPanel { public: ContourVOIWidget( wxWindow *parent, wxVtkBaseView *wxvtkbaseview , vtkImageData* imagedata); diff --git a/lib/maracasVisuLib/src/interface/wxWindows/Contour/Propagation.h b/lib/maracasVisuLib/src/interface/wxWindows/Contour/Propagation.h index 27eea17..9fb0bfe 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/Contour/Propagation.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/Contour/Propagation.h @@ -7,6 +7,7 @@ #include "itkMatrix.h" */ +#include "marTypes.h" #include "../manualContour.h" #include "time.h" #include @@ -46,7 +47,7 @@ class Vector std::vector _vecZ; }; -class PropContour +class MARACASVISULIB_EXPORTS PropContour { public: PropContour(); diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/Histogram.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/Histogram.h index 5138dc6..f4c010c 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/Histogram.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/Histogram.h @@ -16,6 +16,7 @@ #include #endif +#include "marTypes.h" #include "pPlotterWindow.h" #include "pFunctionPoint.h" #include "vtkImageData.h" @@ -27,7 +28,7 @@ #define NUM_POINTS 100 #define WINDOW_SIZE 10 -class Histogram:public wxPanel +class MARACASVISULIB_EXPORTS Histogram:public wxPanel { public: //--------------------- diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramWidget.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramWidget.h index ff2d803..1df255d 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramWidget.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramWidget.h @@ -16,6 +16,7 @@ #include #endif +#include "marTypes.h" #include "pPlotter.h" #include "pFunctionPoint.h" #include "vtkImageData.h" @@ -27,7 +28,7 @@ #define NUM_POINTS 100 #define WINDOW_SIZE 10 -class HistogramWidget:public wxPanel +class MARACASVISULIB_EXPORTS HistogramWidget:public wxPanel { public: //--------------------- diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mathplot.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mathplot.h index 0edba5f..1371715 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mathplot.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mathplot.h @@ -50,6 +50,7 @@ http://sourceforge.net/projects/wxmathplot #endif */ +#include "marTypes.h" #include "wx/defs.h" #include @@ -421,7 +422,7 @@ The canvas window provides a context menu with actions for navigating the view. The context menu can be retrieved with mpWindow::GetPopupMenu, e.g. for extending it externally. */ -class mpWindow : public wxScrolledWindow +class MARACASVISULIB_EXPORTS mpWindow : public wxScrolledWindow { public: mpWindow() {} diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterScaleX.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterScaleX.h index 9623e2f..ab2846b 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterScaleX.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterScaleX.h @@ -19,11 +19,12 @@ //---------------------------------------------------------------------------- #include "pPlotterLayer.h" +#include "marTypes.h" //---------------------------------------------------------------------------- // Class definition //---------------------------------------------------------------------------- -class pPlotterScaleX: public pPlotterLayer +class MARACASVISULIB_EXPORTS pPlotterScaleX: public pPlotterLayer { public: /** diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterScaleY.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterScaleY.h index 035a8b3..dad7c71 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterScaleY.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterScaleY.h @@ -20,11 +20,12 @@ //---------------------------------------------------------------------------- #include "pPlotterLayer.h" +#include "marTypes.h" //---------------------------------------------------------------------------- // Class definition //---------------------------------------------------------------------------- -class pPlotterScaleY: public pPlotterLayer +class MARACASVISULIB_EXPORTS pPlotterScaleY: public pPlotterLayer { public: /** diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterWindow.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterWindow.h index 56541f2..f14871d 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterWindow.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterWindow.h @@ -23,6 +23,7 @@ #include "pPlotterLayer.h" #include "pGraphicalFunction.h" #include "mathplot.h" +#include "marTypes.h" @@ -85,7 +86,7 @@ enum // Class definition //---------------------------------------------------------------------------- -class pPlotterWindow: public mpWindow +class MARACASVISULIB_EXPORTS pPlotterWindow: public mpWindow { public: /** diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMPRWidget.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMPRWidget.h index 70a911b..2993255 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMPRWidget.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMPRWidget.h @@ -3,8 +3,8 @@ Program: wxMaracas Module: $RCSfile: wxMPRWidget.h,v $ Language: C++ - Date: $Date: 2008/11/06 10:00:54 $ - Version: $Revision: 1.3 $ + Date: $Date: 2008/11/12 16:25:06 $ + Version: $Revision: 1.4 $ Copyright: (c) 2002, 2003 License: @@ -18,7 +18,7 @@ #ifndef __WX__MPR__WIDGET__HXX__ #define __WX__MPR__WIDGET__HXX__ - +#include "marTypes.h" #include #include @@ -526,7 +526,7 @@ private: //------------------------------------------------------------------ //------------------------------------------------------------------ -class wxVtkMPR3DView +class MARACASVISULIB_EXPORTS wxVtkMPR3DView { public: wxVtkMPR3DView( wxVtk3DBaseView *wxvtk3Dbaseview ); @@ -939,7 +939,7 @@ private: -class wxMPRWidget : public wxPanel +class MARACASVISULIB_EXPORTS wxMPRWidget : public wxPanel { public: wxMPRWidget(wxWindow* parent,marImageData *marimageData,double voxelSize); @@ -1009,7 +1009,7 @@ private: }; -class wxMPRWidget2 : public wxMPRWidget +class MARACASVISULIB_EXPORTS wxMPRWidget2 : public wxMPRWidget { public: wxMPRWidget2(wxWindow* parent,marImageData *marimagedata,double voxelSize); diff --git a/lib/maracasVisuLib/src/kernel/marImageData.h b/lib/maracasVisuLib/src/kernel/marImageData.h index 32cc068..87db79c 100644 --- a/lib/maracasVisuLib/src/kernel/marImageData.h +++ b/lib/maracasVisuLib/src/kernel/marImageData.h @@ -4,12 +4,12 @@ #ifndef __MAR_IMAGE_DATA__h #define __MAR_IMAGE_DATA__h - +#include "marTypes.h" #include #include "vtkImageData.h" -class marImageData +class MARACASVISULIB_EXPORTS marImageData { public: marImageData(vtkImageData *imagedata);