LINK_DIRECTORIES(/usr/lib/x86_64-linux-gnu/)
#JCP Ubuntu this file not found glibconfig.h, config of wxgtk goes wrong somewhere
-
-
ADD_SUBDIRECTORY(install)
ADD_SUBDIRECTORY(lib)
ADD_SUBDIRECTORY(bbtk)
ADD_SUBDIRECTORY(appli)
-
SET(INPUT_DATA_DIR ${PROJECT_SOURCE_DIR}/data)
FILE(GLOB CONFIGURE_DATA_FILES *.*)
IF(WIN32)
# ${crea_LIBRARIES}
${WXWIDGETS_LIBRARIES}
# ${KWWidgets_LIBRARIES}
- # ${VTK_LIBRARIES}
+ ${VTK_LIBRARIES}
# ${ITK_LIBRARIES}
# ${GDCM_LIBRARIES}
# ${BOOST_LIBRARIES}
SET(${LIBRARY_NAME}_INSTALL_TREE_RELATIVE_INCLUDE_PATHS include/creaMaracasVisu)
SET(${LIBRARY_NAME}_INSTALL_FOLDER creaMaracasVisu)
CREA_ADD_LIBRARY( ${LIBRARY_NAME} )
+
#SET_TARGET_PROPERTIES(${LIBRARY_NAME} PROPERTIES LINKER_LANGUAGE C)
# and uncomment the 2 lines hereafter:
#include <iostream>
#include <vector>
-#include <vtkMatrix4x4.h>
+
+//EED 2022-07-21
+//#include <vtkMatrix4x4.h>
#include "wxMaracasSurfaceRenderingManagerData.h"
# ${crea_LIBRARIES}
# ${WXWIDGETS_LIBRARIES}
# ${KWWidgets_LIBRARIES}
- # ${VTK_LIBRARIES}
+ ${VTK_LIBRARIES}
# ${ITK_LIBRARIES}
# ${GDCM_LIBRARIES}
# ${BOOST_LIBRARIES}
# ${crea_LIBRARIES}
${WXWIDGETS_LIBRARIES}
# ${KWWidgets_LIBRARIES}
- # ${VTK_LIBRARIES}
+ ${VTK_LIBRARIES}
# ${ITK_LIBRARIES}
# ${GDCM_LIBRARIES}
# ${BOOST_LIBRARIES}
#include "wx/aui/aui.h"
#include <iostream>
#include "marTypes.h"
-#include "vtkProp3D.h"
+
+//EED 2022-07-21
+//#include "vtkProp3D.h"
#include "wxMaracasSurfaceRenderingManager.h"
#include "wxMaracasSurfaceRenderingPanel.h"
# ${crea_LIBRARIES}
${WXWIDGETS_LIBRARIES}
# ${KWWidgets_LIBRARIES}
- # ${VTK_LIBRARIES}
+ ${VTK_LIBRARIES}
# ${ITK_LIBRARIES}
# ${GDCM_LIBRARIES}
# ${BOOST_LIBRARIES}
FILE(GLOB ${LIBRARY_NAME}_SOURCES *.cxx *.cpp *.cc )
+
set(${LIBRARY_NAME}_SOURCES ${${LIBRARY_NAME}_SOURCES} ${${LIBRARY_NAME}_HEADERS})
#SET(qtproject_UIS
SET ( ${LIBRARY_NAME}_LINK_LIBRARIES
# ${crea_LIBRARIES}
${WXWIDGETS_LIBRARIES}
- # ${KWWidgets_LIBRARIES}
${VTK_LIBRARIES}
+ # ${KWWidgets_LIBRARIES}
##EED-creaMaracasVisu-SHARED creaMaracasVisu
#${ITK_LIBRARIES}
# ${GDCM_LIBRARIES}
# if you need to create a static library
# comment out the following line :
+
+# ADD_LIBRARY(ups wxMaracasSurfaceRenderingManagerData.cxx )
+# target_link_libraries( ups ${VTK_LIBRARIES} )
+# vtk_module_autoinit(
+# TARGETS ups
+# MODULES ${VTK_LIBRARIES}
+# )
+
SET(${LIBRARY_NAME}_INSTALL_TREE_RELATIVE_INCLUDE_PATHS include/creaMaracasVisu)
SET(${LIBRARY_NAME}_INSTALL_FOLDER creaMaracasVisu)
- CREA_ADD_LIBRARY( ${LIBRARY_NAME})
-SET_TARGET_PROPERTIES(${LIBRARY_NAME} PROPERTIES LINKER_LANGUAGE C)
+ CREA_ADD_LIBRARY( ${LIBRARY_NAME})
+ SET_TARGET_PROPERTIES(${LIBRARY_NAME} PROPERTIES LINKER_LANGUAGE C)
+ vtk_module_autoinit(
+ TARGETS ${LIBRARY_NAME}
+ MODULES ${VTK_LIBRARIES}
+ )
+
# and uncomment the 2 lines hereafter:
#ifndef SURFACERENDERINGIMAGESTENCILEXPORT_H
#define SURFACERENDERINGIMAGESTENCILEXPORT_H
+#include <vtkVersionMacros.h>
#include "vtkObjectFactory.h"
//EED 2017-01-01 Migration VTK7
#ifndef WXMARACASSURFACERENDERINGMANAGERDATA_H_
#define WXMARACASSURFACERENDERINGMANAGERDATA_H_
-#include "vtkProp3D.h"
+#include <vtkProp3D.h>
#include "vtkRenderer.h"
#include "vtkSTLReader.h"
#include "vtkPolyDataMapper.h"
#ifndef VolumeRendererManagerData_H_
#define VolumeRendererManagerData_H_
+
+#include "vtkVersion.h"
#include "vtkCommand.h"
#if (VTK_MAJOR_VERSION <= 7)
#ifndef __vtkInteractorStyleCutter_h
#define __vtkInteractorStyleCutter_h
+#include <vtkVersionMacros.h>
#include <vtkInteractorStyle.h>
class vtkPoints;
#include "marTypes.h"
//------------------------------------------------------------------
+#include <vtkVersionMacros.h>
#include "vtkInteractorStyleBaseView.h"
//class vtkInteractorStyleBaseView;
#ifndef BOXSURFACEOBSERVER_H_
#define BOXSURFACEOBSERVER_H_
+#include <vtkVersionMacros.h>
#include "vtkPlanes.h"
#include "vtkProp.h"
#include "figureCuttingCylinderModel.h"
+#include <math.h>
figureCuttingCylinderModel::figureCuttingCylinderModel()
{
# ------------------------------------------------------------------------ */
#include "figureCuttingSphereModel.h"
+#include <math.h>
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
#include <iostream>
#include <string>
#include <cstdio>
+#include <vtkVersionMacros.h>
#include <vtkImageData.h>
#include <vtkMetaImageWriter.h>
#include <vtkMetaImageReader.h>
#ifndef __vtkInteractorStyleCutter_h
#define __vtkInteractorStyleCutter_h
+#include <vtkVersionMacros.h>
#include <vtkInteractorStyle.h>
class vtkPoints;
#ifndef _BASE_FILTER_MANUAL_PAINT_H_
#define _BASE_FILTER_MANUAL_PAINT_H_
+#include <vtkVersionMacros.h>
#include <vtkImageData.h>
//#include "regionStructUR.h"
// Includes
//----------------------
#include "HistogramWidget.h"
- #include "vtkImageData.h"
+ #include <vtkVersionMacros.h>
+ #include "vtkImageData.h"
//#include <vector>
#include <vtkPiecewiseFunction.h>
#include <vtkColorTransferFunction.h>
#include <wx/bmpcbox.h>
#include <wx/checkbox.h>
+
#include "vtkImageData.h"
#define COLORSFUNCTIONFILENAME "colorsfunction.txt"
offsetPixelX = 0;
offsetPixelY = 0;
xTraslation = 0;
- mType = DEFAULT;
+ mType = DEFAULT_EED;
}
Lets to the user to plot any number of the
functions
*/
-#define DEFAULT 1
+#define DEFAULT_EED 1
/*
Dont let draw on the plotter, but lets to edit
the functions that are editables in the plotter
// VTK
//---------------------
+#include <vtkVersionMacros.h>
#include "vtkImageData.h"
#include "vtkMetaImageReader.h"
#ifndef __vtkClosePolyData_h
#define __vtkClosePolyData_h
+#include <vtkVersionMacros.h>
#include "vtkObjectFactory.h"
//EED 2017-01-01 Migration VTK7
# knowledge of the CeCILL-B license and that you accept its terms.
# ------------------------------------------------------------------------ */
+#include <vtkVersionMacros.h>
#include "vtkImageViewer2_XYZ.h"
#include "vtkRenderer.h"
#include "vtkImageActor.h"
#ifndef wxMaracasMultipleVolumeRendererManagerData_H_
#define wxMaracasMultipleVolumeRendererManagerData_H_
+#include <vtkVersionMacros.h>
#include <vtkPlanes.h>
#include <vtkVolumeProperty.h>
#include <vtkVolume.h>
#include "marDicomBase.h"
+#include <vtkVersionMacros.h>
#include <vtkVolume16Reader.h>
#include <vtkExtractVOI.h>
#include <vtkImageChangeInformation.h>
#include "volume.hxx"
#include "marImageData.h"
+#include <vtkVersionMacros.h>
#include <vtkImageData.h>
class creaMaracasVisu_EXPORT marDynData : public marObject