--- /dev/null
+SET(LIBRARY_NAME fpaPlugins)
+
+## ===============
+## = Source code =
+## ===============
+
+FILE(GLOB LIB_HEADERS_H "*.h")
+FILE(GLOB LIB_HEADERS_HPP "*.hpp")
+FILE(GLOB LIB_HEADERS_HXX "*.hxx")
+FILE(GLOB LIB_SOURCES_C "*.c")
+FILE(GLOB LIB_SOURCES_CPP "*.cpp")
+FILE(GLOB LIB_SOURCES_CXX "*.cxx")
+
+## =====================
+## = Compilation rules =
+## =====================
+
+ADD_LIBRARY(
+ ${LIBRARY_NAME}
+ SHARED
+ ${LIB_SOURCES_C}
+ ${LIB_SOURCES_CPP}
+ ${LIB_SOURCES_CXX}
+ )
+GENERATE_EXPORT_HEADER(
+ ${LIBRARY_NAME}
+ BASE_NAME ${LIBRARY_NAME}
+ EXPORT_MACRO_NAME ${LIBRARY_NAME}_EXPORT
+ EXPORT_FILE_NAME ${PROJECT_BINARY_DIR}/lib/fpaPlugins/${LIBRARY_NAME}_Export.h
+ STATIC_DEFINE ${LIBRARY_NAME}_BUILT_AS_STATIC
+ )
+#TARGET_LINK_LIBRARIES(
+# ${LIBRARY_NAME}
+# cpExtensions
+# cpPlugins_Interface
+# )
+
+## ========================
+## -- Installation rules --
+## ========================
+
+#INSTALL(
+# TARGETS ${LIBRARY_NAME}
+# RUNTIME DESTINATION bin
+# LIBRARY DESTINATION lib
+# ARCHIVE DESTINATION lib/static
+# )
+
+## eof - $RCSfile$
--- /dev/null
+#include <Pluma/Connector.hpp>
+/*
+ #include <cpPlugins/Plugins/ImageReader.h>
+ #include <cpPlugins/Plugins/ImageWriter.h>
+ #include <cpPlugins/Plugins/MeshReader.h>
+ #include <cpPlugins/Plugins/MeshWriter.h>
+ #include <cpPlugins/Plugins/MarchingCubes.h>
+ #include <cpPlugins/Plugins/OtsuThresholdImageFilter.h>
+ #include <cpPlugins/Plugins/RGBImageToOtherChannelsFilter.h>
+ #include <cpPlugins/Plugins/SecondRankDiffusionTensorToPolyData.h>
+ #include <cpPlugins/Plugins/BinaryThresholdImageFilter.h>
+*/
+
+/// TODO: doc
+PLUMA_CONNECTOR
+bool connect( pluma::Host& host )
+{
+ /*
+ using namespace cpPlugins::Plugins;
+
+ host.add( new ImageReaderProvider( ) );
+ host.add( new ImageWriterProvider( ) );
+ host.add( new MeshReaderProvider( ) );
+ host.add( new MeshWriterProvider( ) );
+ host.add( new MarchingCubesProvider( ) );
+ host.add( new OtsuThresholdImageFilterProvider( ) );
+ host.add( new RGBImageToOtherChannelsFilterProvider( ) );
+ host.add( new SecondRankDiffusionTensorToPolyDataProvider( ) );
+ host.add( new BinaryThresholdImageFilterProvider( ) );
+ */
+ return( true );
+}
+
+// eof - $RCSfile$