# Used to configure imageToolsPlugin import csnBuild import csnCilab import csnUtility from csnGIMIASDef import * imageToolsPlugin = csnCilab.GimiasPluginProject("ImageToolsPlugin") projects = [gmCore] imageToolsPlugin.AddProjects(projects) imageToolsPlugin.AddSources(["*.cxx", "*.h"]) imageToolsPlugin.AddSources(["processors/*.cxx", "processors/*.h"]) imageToolsPlugin.AddIncludeFolders(["processors"]) widgetModules = ["CroppingWidget", "ProcessingToolsWidget"] imageToolsPlugin.AddWidgetModules(widgetModules, _useQt=0) imageToolsPlugin.SetPrecompiledHeader("ImageToolsPluginPCH.h") imageToolsPlugin.AddFilesToInstall(imageToolsPlugin.Glob("resource"), "resource")
# Used to configure signalViewerPlugin import csnBuild import csnCilab import csnUtility from csnGIMIASDef import * signalViewerPlugin = csnCilab.GimiasPluginProject("SignalViewerPlugin") projects = [ gmCore, wxMathPlot ] signalViewerPlugin.AddProjects(projects) signalViewerPlugin.AddSources(["*.cxx", "*.h"]) signalViewerPlugin.AddSources(["processors/*.cxx", "processors/*.h"]) signalViewerPlugin.AddIncludeFolders(["processors"]) widgetModules = [ "PlotWidget", "SignalTimePropagationPanelWidget", "SignalReaderWidget" ] signalViewerPlugin.AddWidgetModules(widgetModules, _useQt = 0) signalViewerPlugin.SetPrecompiledHeader("SignalViewerPluginPCH.h")
# Used to configure SandboxPlugin import csnBuild import csnCilab import csnUtility from csnGIMIASDef import * sandboxPlugin = csnCilab.GimiasPluginProject("SandboxPlugin") projects = [ gmCore, guiBridgeLib, baseLibVTK, guiBridgeLibWxWidgets ] sandboxPlugin.AddProjects(projects) sandboxPlugin.AddSources(["*.cxx", "*.h"]) sandboxPlugin.AddSources(["processors/*.cxx", "processors/*.h"]) sandboxPlugin.AddIncludeFolders(["processors"]) widgetModules = [ "SandboxPluginShapeScalePanelWidget", "SandboxPluginSubtractPanelWidget", "SandboxPluginResamplePanelWidget" ] sandboxPlugin.AddWidgetModules(widgetModules, _useQt = 0) sandboxPlugin.SetPrecompiledHeader("SandboxPluginPCH.h")
# Used to configure SceneViewPlugin import csnBuild import csnCilab import csnUtility from csnGIMIASDef import * sceneViewPlugin = csnCilab.GimiasPluginProject("SceneViewPlugin") sceneViewPlugin.AddProjects([gmCore]) sceneViewPlugin.AddSources(["*.cxx", "*.h"]) sceneViewPlugin.AddSources(["processors/*.cxx", "processors/*.h"]) sceneViewPlugin.AddIncludeFolders(["processors"]) widgetModules = ["ExecuteCommandWidget"] sceneViewPlugin.AddWidgetModules(widgetModules, _useQt=0) sceneViewPlugin.SetPrecompiledHeader("SceneViewPluginPCH.h")
# Used to configure TavernaPlugin import csnBuild import csnCilab import csnUtility from csnGIMIASDef import * tavernaPlugin = csnCilab.GimiasPluginProject("TavernaPlugin") projects = [gmCoreLight, wflLib] tavernaPlugin.AddProjects(projects) tavernaPlugin.AddSources(["*.cxx", "*.h"]) tavernaPlugin.AddSources(["processors/*.cxx", "processors/*.h"]) tavernaPlugin.AddIncludeFolders(["processors"]) widgetModules = [ 'TavernaPluginWorkflowPanelWidget', 'TavernaPluginWorkingArea', 'TavernaPluginConfigurationPanelWidget', 'TavernaPluginToolbar' ] tavernaPlugin.AddWidgetModules(widgetModules, _useQt=0) tavernaPlugin.SetPrecompiledHeader("TavernaPluginPCH.h") #tavernaPlugin.AddTests(["tests/*.*"], cxxTest) tavernaPlugin.AddFilesToInstall(tavernaPlugin.Glob("resource"), "resource")
# Used to configure ManualSegmentationPlugin import csnBuild import csnCilab import csnUtility from csnGIMIASDef import * manualSegmentationPlugin = csnCilab.GimiasPluginProject( "ManualSegmentationPlugin") projects = [gmCore] manualSegmentationPlugin.AddProjects(projects) manualSegmentationPlugin.AddSources(["*.cxx", "*.h"]) manualSegmentationPlugin.AddSources(["processors/*.cxx", "processors/*.h"]) manualSegmentationPlugin.AddIncludeFolders(["processors"]) widgetModules = ["ManualSegmentationWidget", "MultiLevelROIPanelWidget"] manualSegmentationPlugin.AddWidgetModules(widgetModules, _useQt=0) manualSegmentationPlugin.SetPrecompiledHeader("ManualSegmentationPluginPCH.h") manualSegmentationPlugin.AddFilesToInstall( manualSegmentationPlugin.Glob("resource"), "resource")
# Used to configure mitkPlugin import csnBuild import csnCilab import csnUtility from csnGIMIASDef import * mitkPlugin = csnCilab.GimiasPluginProject("MITKPlugin") projects = [ mitk, tpExtLibMITK, wxMitk, gmCoreLight, guiBridgeLibWxWidgets ] mitkPlugin.AddProjects(projects) mitkPlugin.AddSources(["*.cxx", "*.h"]) mitkPlugin.AddSources(["processors/*.cxx", "processors/*.h"], _checkExists = 0) mitkPlugin.AddIncludeFolders(["processors"]) widgetModules = [ "BoundingBoxWidget", "DataInformation", "ImageInfoWidget", "Interactors", "LandmarkSelectorWidget", "MeasurementWidget", "PointsTableWidget", "RenderingTree",
# Used to configure DicomPlugin import csnCilab from csnGIMIASDef import * dicomPlugin = csnCilab.GimiasPluginProject("DicomPlugin") projects = [ baseLibITK, tpExtLibMITK, gmCore, boost, cilabMacros, dcmAPI, pacsAPI ] widgetModules = [ "DicomWorkingAreaWidget", "DicomConnectToPACSWidget", "DICOMTree" ] dicomPlugin.AddProjects(projects) dicomPlugin.AddSources(["*.h", "*.cpp", "*.cxx"]) dicomPlugin.AddSources(["processors/*.cxx", "processors/*.h"]) dicomPlugin.AddWidgetModules(widgetModules) dicomPlugin.AddIncludeFolders(["processors"]) dicomPlugin.SetPrecompiledHeader("DicomPluginPCH.h") dicomPlugin.AddDefinitions(["/bigobj"], _WIN32=1) dicomPlugin.AddFilesToInstall(dicomPlugin.Glob("widgets/resource/*.ico"), "resource")
# Used to configure neuroToolsPlugin import csnBuild import csnCilab import csnUtility from csnGIMIASDef import * neuroToolsPlugin = csnCilab.GimiasPluginProject("NeuroToolsPlugin") projects = [gmCore] neuroToolsPlugin.AddProjects(projects) neuroToolsPlugin.AddSources(["*.cxx", "*.h"]) #neuroToolsPlugin.AddSources(["processors/*.cxx", "processors/*.h"]) neuroToolsPlugin.AddIncludeFolders(["processors"]) widgetModules = ["ImageContrastWidget"] neuroToolsPlugin.AddWidgetModules(widgetModules, _useQt=0) neuroToolsPlugin.SetPrecompiledHeader("NeuroToolsPluginPCH.h") neuroToolsPlugin.AddFilesToInstall(neuroToolsPlugin.Glob("resource"), "resource")
# Used to configure cardioToolsPlugin import csnBuild import csnCilab import csnUtility from csnGIMIASDef import * cardioToolsPlugin = csnCilab.GimiasPluginProject("CardioToolsPlugin") projects = [gmCore, signalViewerPlugin] cardioToolsPlugin.AddProjects(projects) cardioToolsPlugin.AddSources(["*.cxx", "*.h"]) #cardioToolsPlugin.AddSources(["processors/*.cxx", "processors/*.h"]) cardioToolsPlugin.AddIncludeFolders(["processors"]) widgetModules = ["BullEyePlotWidget"] cardioToolsPlugin.AddWidgetModules(widgetModules, _useQt=0) cardioToolsPlugin.SetPrecompiledHeader("CardioToolsPluginPCH.h") cardioToolsPlugin.AddFilesToInstall(cardioToolsPlugin.Glob("resource"), "resource")
# Used to configure CmguiPlugin import csnBuild import csnCilab import csnUtility from csnGIMIASDef import * cmguiPlugin = csnCilab.GimiasPluginProject("CmguiPlugin") projects = [ gmCoreLight, guiBridgeLib, baseLibVTK, guiBridgeLibWxWidgets, cmgui ] cmguiPlugin.AddProjects(projects) cmguiPlugin.AddSources(["*.cxx", "*.h"]) cmguiPlugin.AddSources(["processors/*.cxx", "processors/*.h"]) cmguiPlugin.AddIncludeFolders(["processors"]) cmguiPlugin.AddLibraries(["glu32"], _WIN32=1) widgetModules = [ "CmguiPluginRenderWidget", "CmguiPluginCommandlineWidget", "CmguiPluginInfoWidget", "CmguiPluginCommandWidget", "CmguiPluginToolbar", "CmguiPluginVisualProps" ] cmguiPlugin.AddWidgetModules(widgetModules, _useQt=0) cmguiPlugin.SetPrecompiledHeader("CmguiPluginPCH.h") resourceFiles = cmguiPlugin.Glob("resource/WorkingAreas") cmguiPlugin.AddFilesToInstall(resourceFiles, "resource/WorkingAreas")
# Used to configure meshEditorPlugin import csnBuild import csnCilab import csnUtility from csnGIMIASDef import * meshEditorPlugin = csnCilab.GimiasPluginProject("MeshEditorPlugin") projects = [gmCore, meshLib] meshEditorPlugin.AddProjects(projects) meshEditorPlugin.AddSources(["*.cxx", "*.h"]) meshEditorPlugin.AddSources(["processors/*.cxx", "processors/*.h"]) meshEditorPlugin.AddIncludeFolders(["processors"]) widgetModules = [ "ToolsProcessorWidget", "CroppingWidget", "RadiographVisualization", "SurfaceSelectorWidget" ] meshEditorPlugin.AddWidgetModules(widgetModules, _useQt=0) meshEditorPlugin.SetPrecompiledHeader("MeshEditorPluginPCH.h") meshEditorPlugin.AddFilesToInstall(meshEditorPlugin.Glob("resource"), "resource")