- TParameters* GetImageReaderParameters( );
- TParameters* GetMeshReaderParameters( );
- TParameters* GetImageWriterParameters( );
- TParameters* GetMeshWriterParameters( );
-
- const TParameters* GetImageReaderParameters( ) const;
- const TParameters* GetMeshReaderParameters( ) const;
- const TParameters* GetImageWriterParameters( ) const;
- const TParameters* GetMeshWriterParameters( ) const;
-
- // Data IO
- bool ReadImage( TImage::Pointer& image, bool exec_qt = false );
- bool ReadDicomSeries( TImage::Pointer& image );
- bool ReadMesh( TMesh::Pointer& mesh, bool exec_qt = false );
-
- bool WriteImage( TImage* image, bool exec_qt = false );
- bool WriteMesh( TMesh* mesh, bool exec_qt = false );
-
- // Filter acces
- bool CreateFilter(
- TProcessObject::Pointer& filter, const std::string& name
+ public:
+ static Pointer New( );
+ virtual itk::LightObject::Pointer CreateAnother( ) const cpPlugins_OVERRIDE;
+ Pointer Clone( ) const;
+
+ TStrings GetLibraries( ) const;
+ TStrings GetPlugins( ) const;
+ TStrings GetCategories( ) const;
+ TStrings GetFilters( const std::string& category ) const;
+
+ void AddEnvironments( const std::string& env );
+ void LoadEnvironments( );
+ void LoadPaths( const std::string& dir );
+ void SavePaths( const std::string& dir ) const;
+
+ void LoadFile( const std::string& fname );
+ void LoadPlugin( const std::string& pname );
+ void LoadDirectory( const std::string& dirname );
+ void GuessPlugins( );
+
+ TProcess::Pointer CreateProcessObject(
+ const std::string& category, const std::string& name