]> Creatis software - cpPlugins.git/blobdiff - plugins/GenericFilters/JoinBoundingBoxes.cxx
...
[cpPlugins.git] / plugins / GenericFilters / JoinBoundingBoxes.cxx
index d3a0708a1fc03ff711be447e42c2b77e54518331..43850723b721acd05f583c3ada61a742d6c5750d 100644 (file)
@@ -1,19 +1,19 @@
-#include <plugins/GenericFilters/JoinBoundingBoxes.h>
-#include <cpPlugins/DataObject.h>
-#include <cpPlugins/BoundingBox.h>
+#include <GenericFilters/JoinBoundingBoxes.h>
+#include <cpPlugins/BaseObjects/DataObject.h>
+#include <cpPlugins/DataObjects/BoundingBox.h>
 
 // -------------------------------------------------------------------------
 cpPluginsGenericFilters::JoinBoundingBoxes::
 JoinBoundingBoxes( )
   : Superclass( )
 {
-  this->_AddInput( "Input0" );
-  this->_AddInput( "Input1", false );
-  this->_AddInput( "Input2", false );
-  this->_AddInput( "Input3", false );
-  this->_AddInput( "Input4", false );
-  this->_AddInput( "Input5", false );
-  this->_AddOutput< cpPlugins::BoundingBox >( "Output" );
+  this->_ConfigureInput( "Input0", true, false );
+  this->_ConfigureInput( "Input1", false, false );
+  this->_ConfigureInput( "Input2", false, false );
+  this->_ConfigureInput( "Input3", false, false );
+  this->_ConfigureInput( "Input4", false, false );
+  this->_ConfigureInput( "Input5", false, false );
+  this->_ConfigureOutput< cpPlugins::DataObjects::BoundingBox >( "Output" );
 }
 
 // -------------------------------------------------------------------------
@@ -26,8 +26,8 @@ cpPluginsGenericFilters::JoinBoundingBoxes::
 void cpPluginsGenericFilters::JoinBoundingBoxes::
 _GenerateData( )
 {
-  typedef cpPlugins::DataObject _TDO;
-  typedef cpPlugins::BoundingBox _TBB;
+  typedef cpPlugins::BaseObjects::DataObject _TDO;
+  typedef cpPlugins::DataObjects::BoundingBox _TBB;
   _TDO* dobjs[ 5 ];
   
   auto do0   = dynamic_cast< _TDO* >( this->GetInput( "Input0" ) );