// Some forward declarations
class QWidget;
+class vtkRenderWindowInteractor;
namespace cpPlugins
{
typedef std::set< std::string > TStringContainer;
typedef std::pair< std::string, std::string > TExposedPort;
typedef std::map< std::string, TExposedPort > TExposedPorts;
+ typedef std::set< vtkRenderWindowInteractor* > TInteractors;
// Graph type
typedef std::pair< std::string, std::string > TConnection;
);
void RemoveFilter( const std::string& name );
+ // Widgets management
+ virtual const TInteractors& GetInteractors( ) const;
+ virtual void AddInteractor( vtkRenderWindowInteractor* interactor );
+
// Connection management
bool Connect(
const std::string& orig_filter, const std::string& dest_filter,
const TData* GetExposedOutput( const std::string& name ) const;
// Pipeline execution
- std::string Execute( QWidget* p = NULL );
- std::string Execute( const std::string& name, QWidget* p = NULL );
+ std::string Execute( );
+ std::string Execute( const std::string& name );
protected:
// Plugins interface
typename TGraph::Pointer m_Graph;
TExposedPorts m_ExposedInputPorts;
TExposedPorts m_ExposedOutputPorts;
+
+ TInteractors m_Interactors;
};
} // ecapseman