#ifndef __CPPLUGINS__INTERFACE__PROCESSOBJECT__HXX__
#define __CPPLUGINS__INTERFACE__PROCESSOBJECT__HXX__
-// -------------------------------------------------------------------------
-template< class T >
-T* cpPlugins::Interface::ProcessObject::
-GetITK( )
-{
- return( dynamic_cast< T* >( this->m_ITKObject.GetPointer( ) ) );
-}
-
-// -------------------------------------------------------------------------
-template< class T >
-const T* cpPlugins::Interface::ProcessObject::
-GetITK( ) const
-{
- return( dynamic_cast< const T* >( this->m_ITKObject.GetPointer( ) ) );
-}
-
-// -------------------------------------------------------------------------
-template< class T >
-T* cpPlugins::Interface::ProcessObject::
-GetVTK( )
-{
- return( dynamic_cast< T* >( this->m_VTKObject.GetPointer( ) ) );
-}
-
-// -------------------------------------------------------------------------
-template< class T >
-const T* cpPlugins::Interface::ProcessObject::
-GetVTK( ) const
-{
- return( dynamic_cast< const T* >( this->m_VTKObject.GetPointer( ) ) );
-}
-
// -------------------------------------------------------------------------
template< class T >
T* cpPlugins::Interface::ProcessObject::
return( NULL );
}
+// -------------------------------------------------------------------------
+template< class O >
+void cpPlugins::Interface::ProcessObject::
+_AddOutput( const std::string& id )
+{
+ this->m_Outputs[ id ] = O::New( );
+ this->m_Outputs[ id ]->SetSource( this );
+ this->Modified( );
+}
+
// -------------------------------------------------------------------------
template< class F >
F* cpPlugins::Interface::ProcessObject::
return( filter );
}
-// -------------------------------------------------------------------------
-template< class O >
-void cpPlugins::Interface::ProcessObject::
-_MakeOutput( const std::string& id )
-{
- this->m_Outputs[ id ] = O::New( );
- this->m_Outputs[ id ]->SetSource( this );
- this->Modified( );
-}
-
#endif // __CPPLUGINS__INTERFACE__PROCESSOBJECT__HXX__
// eof - $RCSfile$