*/
public:
- itkNewMacro( Self );
itkTypeMacro( Workspace, itk::Object );
public:
+ // Factory methods
+ static Pointer New( );
+ virtual itk::LightObject::Pointer CreateAnother( ) const cpPlugins_OVERRIDE;
+ Pointer Clone( ) const;
+
// Workspace IO
void Load( const std::string& fname );
void Save( const std::string& fname ) const;
// Interactors
void AddInteractor( vtkRenderWindowInteractor* iren );
- // Exposed ports
- /* TODO
- const TExposedPorts& GetExposedInputs( ) const;
- const TExposedPorts& GetExposedOutputs( ) const;
- cpPlugins::BaseObjects::DataObject* GetExposedOutput(
- const std::string& name
- );
- const cpPlugins::BaseObjects::DataObject* GetExposedOutput(
- const std::string& name
- ) const;
- bool ExposeInput(
- const std::string& name,
- const std::string& filter, const std::string& filter_input
- );
- bool ExposeOutput(
- const std::string& name,
- const std::string& filter, const std::string& filter_output
- );
- void HideInput( const std::string& name );
- void HideOutput( const std::string& name );
- bool RenameExposedInput(
- const std::string& old_name,
- const std::string& new_name
- );
- bool RenameExposedOutput(
- const std::string& old_name,
- const std::string& new_name
- );
- */
-
// Connection management
bool Connect(
const std::string& origin_filter,