// Some forward declarations
#ifdef cpPlugins_Interface_QT4
class ParametersQtDialog;
+ class SimpleMPRWidget;
#else
typedef char ParametersQtDialog;
+ typedef char SimpleMPRWidget;
#endif // cpPlugins_Interface_QT4
/**
virtual std::string Update( );
virtual void DisconnectOutputs( );
- virtual const TInteractors& GetInteractors( ) const;
- virtual void AddInteractor( vtkRenderWindowInteractor* interactor );
+ // Widgets management
+ vtkRenderWindowInteractor* GetSingleInteractor( );
+ const vtkRenderWindowInteractor* GetSingleInteractor( ) const;
+ void SetSingleInteractor( vtkRenderWindowInteractor* interactor );
+ SimpleMPRWidget* GetMPRViewer( );
+ const SimpleMPRWidget* GetMPRViewer( ) const;
+ void SetMPRViewer( SimpleMPRWidget* wdg );
virtual bool ExecConfigurationDialog( QWidget* parent );
template< class T >
Parameters::Pointer m_Parameters;
ParametersQtDialog* m_ParametersDialog;
- TInteractors m_Interactors;
- bool m_Interactive;
+ vtkSmartPointer< vtkRenderWindowInteractor > m_SingleInteractor;
+ SimpleMPRWidget* m_MPRViewer;
+ bool m_Interactive;
typedef std::map< std::string, DataObject::Pointer > _TDataContainer;
_TDataContainer m_Inputs;