SET(CREAMARACASVISU_LIB_PATH ${CMAKE_CREA_LIB_PATH} )
-SUBDIRS(install)
-#SUBDIRS(appli)
-SUBDIRS(lib)
-SUBDIRS(bbtk)
+ADD_SUBDIRECTORY(install)
+#ADD_SUBDIRECTORY(appli)
+ADD_SUBDIRECTORY(lib)
+ADD_SUBDIRECTORY(bbtk)
INCLUDE_DIRECTORIES( ${PROJECT_SOURCE_DIR}/data/Icons )
-# Add a SUBDIRS command for each of your libraries
-SUBDIRS(maracasVisuLib)
-SUBDIRS(doxygen)
+# Add a ADD_SUBDIRECTORY command for each of your libraries
+ADD_SUBDIRECTORY(maracasVisuLib)
+ADD_SUBDIRECTORY(doxygen)
#---------------------------------------------------------------------------
ENDIF ( BUILD_${LIBRARY_NAME} )
-SUBDIRS(src)
+ADD_SUBDIRECTORY(src)
-SUBDIRS(CutModule)
+ADD_SUBDIRECTORY(CutModule)
-SUBDIRS(
+ADD_SUBDIRECTORY(
SnakeIsoContour+Deriche
kernel
interface
interface
kernel
)
- SUBDIRS(interface)
- SUBDIRS(kernel)
+ ADD_SUBDIRECTORY(interface)
+ ADD_SUBDIRECTORY(kernel)
ENDIF ( BUILD_${LIBRARY_NAME} )
-SUBDIRS(wxWindows)
+ADD_SUBDIRECTORY(wxWindows)
-SUBDIRS(wxWindows)
+ADD_SUBDIRECTORY(wxWindows)
ENDIF(WIN32)
-SUBDIRS(widgets)
+ADD_SUBDIRECTORY(widgets)
#include <vtkColorTransferFunction.h>
#include "vtkImageActor.h"
+#ifdef _DEBUG
+#include <crtdbg.h>
+#define DEBUG_NEW new(_NORMAL_BLOCK ,__FILE__, __LINE__)
+#else
+#define DEBUG_NEW new
+#endif
+
class creaMaracasVisu_EXPORT vtkMPR3DDataViewer {
public:
vtkMPR3DDataViewer();
#include "pPlotter/HistogramDialog.h"
-
+#ifdef _DEBUG
+#define new DEBUG_NEW
+#endif
//-------------------------------------------------------------------
//-------------------------------------------------------------------
//-------------------------------------------------------------------
//------------------------------------------------------------------
//------------------------------------------------------------------
//------------------------------------------------------------------
-
+#ifdef _DEBUG
+#include <crtdbg.h>
+#define DEBUG_NEW new(_NORMAL_BLOCK ,__FILE__, __LINE__)
+#else
+#define DEBUG_NEW new
+#endif
class creaMaracasVisu_EXPORT vtkMPRBaseData: public vtkBaseData{
public:
vtkMPRBaseData();
#include "vtkInteractorStyleBaseView3D.h"
-
+#ifdef _DEBUG
+#define new DEBUG_NEW
+#endif
wxVtk3DBaseView::wxVtk3DBaseView(wxWindow *parent)
:wxVtkBaseView( parent )
{
#define WXVTK3DBASEVIEW_H_
#include "wxVtkBaseView.h"
-
+#ifdef _DEBUG
+#include <crtdbg.h>
+#define DEBUG_NEW new(_NORMAL_BLOCK ,__FILE__, __LINE__)
+#else
+#define DEBUG_NEW new
+#endif
//------------------------------------------------------------------
//------------------------------------------------------------------
//------------------------------------------------------------------
//class vtkInteractorStyleBaseView;
*/
+
#include "vtkInteractorStyleImage.h"
class creaMaracasVisu_EXPORT wxVtkBaseView{
#include "vtkProperty.h"
#include "vtkCellPicker.h"
+
+#ifdef _DEBUG
+#define new DEBUG_NEW
+#endif
+
wxVtkMPR3DView::wxVtkMPR3DView( wxVtk3DBaseView *wxvtk3Dbaseview )
{
_wxvtk3Dbaseview = wxvtk3Dbaseview;