-TParameters* cpPlugins::Interface::Plugins::
-GetMeshWriterParameters( )
-{
- return( this->m_MeshWriter->GetParameters( ) );
-}
-
-// -------------------------------------------------------------------------
-const cpPlugins::Interface::Plugins::
-TParameters* cpPlugins::Interface::Plugins::
-GetImageReaderParameters( ) const
-{
- return( this->m_ImageReader->GetParameters( ) );
-}
-
-// -------------------------------------------------------------------------
-const cpPlugins::Interface::Plugins::
-TParameters* cpPlugins::Interface::Plugins::
-GetMeshReaderParameters( ) const
-{
- return( this->m_MeshReader->GetParameters( ) );
-}
-
-// -------------------------------------------------------------------------
-const cpPlugins::Interface::Plugins::
-TParameters* cpPlugins::Interface::Plugins::
-GetImageWriterParameters( ) const
-{
- return( this->m_ImageWriter->GetParameters( ) );
-}
-
-// -------------------------------------------------------------------------
-const cpPlugins::Interface::Plugins::
-TParameters* cpPlugins::Interface::Plugins::
-GetMeshWriterParameters( ) const
-{
- return( this->m_MeshWriter->GetParameters( ) );
-}
-
-// -------------------------------------------------------------------------
-bool cpPlugins::Interface::Plugins::
-ReadImage( TImage::Pointer& image, bool exec_qt )
-{
- std::string ret = "";
- if( this->m_ImageReader.IsNull( ) )
- ret = "Plugins: No valid image reader. Please load a valid plugin.";
-
- if( ret == "" )
- {
- bool execute = true;
- if( exec_qt )
- execute = this->m_ImageReader->ExecConfigurationDialog( this->m_Widget );
- if( execute )
+CreateFilter( const std::string& category, const std::string& name )
+{
+ std::cout << "1" << std::endl;
+ typedef void* ( *_TCreator )( );
+ std::cout << "2" << std::endl;
+ typedef cpPlugins::BaseObjects::ProcessObject::Pointer _TPtr;
+ std::cout << "3" << std::endl;
+ _TPtr o = NULL;
+ std::cout << "4" << std::endl;
+ auto cat = this->m_Filters.find( category );
+ std::cout << "5" << std::endl;
+ if( cat != this->m_Filters.end( ) )
+ {
+ std::cout << "6" << std::endl;
+ auto nam = cat->second.find( name );
+ std::cout << "7" << std::endl;
+ if( nam != cat->second.end( ) )