- // Workspace IO
- std::string LoadWorkspace( const std::string& fname );
- std::string SaveWorkspace( const std::string& fname ) const;
-
- // Graph management
- TGraph* GetGraph( );
- const TGraph* GetGraph( ) const;
- bool CreateFilter( const std::string& filter, const std::string& name );
- bool Connect(
- const std::string& orig_filter, const std::string& dest_filter,
- const std::string& output_name,
- const std::string& input_name
+ void SetPrintExecution( bool b );
+ void PrintExecutionOn( );
+ void PrintExecutionOff( );
+
+ // Interactors
+ void AddInteractor( vtkRenderWindowInteractor* iren );
+
+ // Exposed ports
+ 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