From 94559629d37e221a8a15d266275ba9a8bc725bc8 Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 14 Nov 2018 15:26:43 +0300 Subject: [PATCH] Add/Remove filters --- CMakeLists.txt | 2 +- src/Config/plugins.xml.in | 2 +- src/{ViewFilters => Filters}/CMakeLists.txt | 22 ++-- .../ViewFilters.h => Filters/Filters.h} | 14 +- .../Filters_HorizontalPlane.cpp} | 6 +- .../Filters_HorizontalPlane.h} | 10 +- .../Filters_Plugin.cpp} | 22 ++-- .../Filters_Plugin.h} | 10 +- .../Filters_VerticalPlane.cpp} | 6 +- .../Filters_VerticalPlane.h} | 10 +- src/GeomValidators/GeomValidators_Plugin.cpp | 4 +- src/Model/CMakeLists.txt | 4 +- ...{Model_ViewFilter.cpp => Model_Filter.cpp} | 6 +- .../{Model_ViewFilter.h => Model_Filter.h} | 8 +- src/Model/Model_Session.cpp | 2 +- src/ModelAPI/CMakeLists.txt | 2 +- ...odelAPI_ViewFilter.h => ModelAPI_Filter.h} | 59 ++++++--- .../ModuleBase_WidgetSelectionFilter.cpp | 120 +++++++++++++++++- .../ModuleBase_WidgetSelectionFilter.h | 32 ++++- src/XGUI/XGUI_pictures.qrc | 3 + src/XGUI/pictures/accept.png | Bin 0 -> 1264 bytes src/XGUI/pictures/add.png | Bin 0 -> 3329 bytes src/XGUI/pictures/stop.png | Bin 0 -> 1137 bytes 23 files changed, 250 insertions(+), 94 deletions(-) rename src/{ViewFilters => Filters}/CMakeLists.txt (73%) rename src/{ViewFilters/ViewFilters.h => Filters/Filters.h} (79%) rename src/{ViewFilters/ViewFilters_HorizontalPlane.cpp => Filters/Filters_HorizontalPlane.cpp} (88%) rename src/{ViewFilters/ViewFilters_HorizontalPlane.h => Filters/Filters_HorizontalPlane.h} (85%) rename src/{ViewFilters/ViewFilters_Plugin.cpp => Filters/Filters_Plugin.cpp} (67%) rename src/{ViewFilters/ViewFilters_Plugin.h => Filters/Filters_Plugin.h} (87%) rename src/{ViewFilters/ViewFilters_VerticalPlane.cpp => Filters/Filters_VerticalPlane.cpp} (88%) rename src/{ViewFilters/ViewFilters_VerticalPlane.h => Filters/Filters_VerticalPlane.h} (86%) rename src/Model/{Model_ViewFilter.cpp => Model_Filter.cpp} (91%) rename src/Model/{Model_ViewFilter.h => Model_Filter.h} (93%) rename src/ModelAPI/{ModelAPI_ViewFilter.h => ModelAPI_Filter.h} (63%) create mode 100644 src/XGUI/pictures/accept.png create mode 100644 src/XGUI/pictures/add.png create mode 100644 src/XGUI/pictures/stop.png diff --git a/CMakeLists.txt b/CMakeLists.txt index 070bbdb49..a94cceb39 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -144,7 +144,7 @@ ADD_SUBDIRECTORY (src/PartSet) ADD_SUBDIRECTORY (src/XGUI) ADD_SUBDIRECTORY (src/ExchangePlugin) ADD_SUBDIRECTORY (src/GeomValidators) -ADD_SUBDIRECTORY (src/ViewFilters) +ADD_SUBDIRECTORY (src/Filters) ADD_SUBDIRECTORY (src/InitializationPlugin) ADD_SUBDIRECTORY (src/ParametersPlugin) ADD_SUBDIRECTORY (src/PythonAddons) diff --git a/src/Config/plugins.xml.in b/src/Config/plugins.xml.in index abf6b3239..9e91d97c0 100644 --- a/src/Config/plugins.xml.in +++ b/src/Config/plugins.xml.in @@ -20,7 +20,7 @@ @ALL_SOLVERS@ --> - +