From 6f87174af77bf66f8e039f7747237ac0b227b4cb Mon Sep 17 00:00:00 2001 From: Leonardo Florez-Valencia Date: Mon, 8 Dec 2014 22:18:19 +0100 Subject: [PATCH] Basic IO architecture within itk-based pipelines --- lib/cpPlugins/Interface/Image.cxx | 23 +++++++++++++++++++++++ lib/cpPlugins/Interface/SinkObject.cxx | 24 ++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 lib/cpPlugins/Interface/Image.cxx create mode 100644 lib/cpPlugins/Interface/SinkObject.cxx diff --git a/lib/cpPlugins/Interface/Image.cxx b/lib/cpPlugins/Interface/Image.cxx new file mode 100644 index 0000000..9b55ed2 --- /dev/null +++ b/lib/cpPlugins/Interface/Image.cxx @@ -0,0 +1,23 @@ +#include + +// ------------------------------------------------------------------------- +cpPlugins::Interface::Image:: +Image( ) + : Superclass( ) +{ +} + +// ------------------------------------------------------------------------- +cpPlugins::Interface::Image:: +~Image( ) +{ +} + +// ------------------------------------------------------------------------- +std::string cpPlugins::Interface::Image:: +GetClassName( ) const +{ + return( "cpPlugins::Interface::Image" ); +} + +// eof - $RCSfile$ diff --git a/lib/cpPlugins/Interface/SinkObject.cxx b/lib/cpPlugins/Interface/SinkObject.cxx new file mode 100644 index 0000000..c0ff636 --- /dev/null +++ b/lib/cpPlugins/Interface/SinkObject.cxx @@ -0,0 +1,24 @@ +#include + +// ------------------------------------------------------------------------- +cpPlugins::Interface::SinkObject:: +SinkObject( ) + : Superclass( ) +{ + this->SetNumberOfOutputs( 0 ); +} + +// ------------------------------------------------------------------------- +cpPlugins::Interface::SinkObject:: +~SinkObject( ) +{ +} + +// ------------------------------------------------------------------------- +std::string cpPlugins::Interface::SinkObject:: +GetClassName( ) const +{ + return( "cpPlugins::Interface::SinkObject" ); +} + +// eof - $RCSfile$ -- 2.45.1