#include <cpPlugins/DataObjects/PolyLineParametricPath.h>
#include <cpExtensions/Visualization/PolyLineParametricPathToPolyData.h>
+#include <cpPlugins/DataObjects/PolyLineParametricPath_Demanglers.h>
+#include <cpExtensions/DataStructures/PolyLineParametricPath.h>
// -------------------------------------------------------------------------
void cpPlugins::DataObjects::PolyLineParametricPath::
SetITK( itk::LightObject* o )
{
- /* TODO
- typedef cpExtensions::DataStructures::PolyLineParametricPath< 1 > _T1;
- typedef cpExtensions::DataStructures::PolyLineParametricPath< 2 > _T2;
- typedef cpExtensions::DataStructures::PolyLineParametricPath< 3 > _T3;
- typedef cpExtensions::DataStructures::PolyLineParametricPath< 4 > _T4;
-
- this->Superclass::SetITK( o );
- auto l1 = dynamic_cast< _T1* >( o );
- auto l2 = dynamic_cast< _T2* >( o );
- auto l3 = dynamic_cast< _T3* >( o );
- auto l4 = dynamic_cast< _T4* >( o );
- if ( l1 != NULL ) this->_ITK_2_VTK( l1 );
- else if( l2 != NULL ) this->_ITK_2_VTK( l2 );
- else if( l3 != NULL ) this->_ITK_2_VTK( l3 );
- else if( l4 != NULL ) this->_ITK_2_VTK( l4 );
- else
- {
- this->m_VTK = NULL;
- this->m_ITKvVTK = NULL;
-
- } // fi
- */
+ this->Superclass::SetITK( o );
+ cpPlugins_Demangle_PolyLineParametricPath_All_1( o, _ITK_2_VTK )
+ {
+ this->m_VTK = NULL;
+ this->m_ITKvVTK = NULL;
+ }
}
// -------------------------------------------------------------------------