+ if( r == "" )
+ r = this->_GenerateData( );
+
+ // Configure output names
+ auto oIt = this->m_Outputs.begin( );
+ for( ; oIt != this->m_Outputs.end( ); ++oIt )
+ {
+ auto nIt = this->m_OutputObjectsNames.find( oIt->first );
+ if( nIt != this->m_OutputObjectsNames.end( ) )
+ oIt->second->SetName( nIt->second );
+
+ } // rof
+
+ // Return error description, if any
+ return( r );
+}
+
+// -------------------------------------------------------------------------
+void cpPlugins::Interface::ProcessObject::
+DisconnectOutputs( )
+{
+ _TDataContainer::iterator i = this->m_Outputs.begin( );
+ for( ; i != this->m_Outputs.end( ); ++i )
+ if( i->second.IsNotNull( ) )
+ i->second->DisconnectPipeline( );
+}
+
+// -------------------------------------------------------------------------
+void cpPlugins::Interface::ProcessObject::
+AddInteractor( vtkRenderWindowInteractor* interactor )
+{
+#ifdef cpPlugins_Interface_QT4
+ if( this->m_ParametersDialog == NULL )
+ this->m_ParametersDialog = new ParametersQtDialog( );
+ this->m_ParametersDialog->addInteractor( interactor );
+#endif // cpPlugins_Interface_QT4
+ this->m_Interactors.insert( interactor );
+}
+
+// -------------------------------------------------------------------------
+cpPlugins::Interface::ProcessObject::
+DialogResult cpPlugins::Interface::ProcessObject::
+ExecConfigurationDialog( QWidget* parent )
+{
+ DialogResult r = Self::DialogResult_Cancel;
+
+#ifdef cpPlugins_Interface_QT4
+
+ if( QApplication::instance( ) != NULL )
+ {
+ if( this->m_ParametersDialog == NULL )
+ this->m_ParametersDialog = new ParametersQtDialog( );
+ /* TODO
+ this->m_ParametersDialog->setTitle(
+ this->GetClassName( ) + std::string( " basic configuration" )
+ );
+ */
+
+ this->m_ParametersDialog->setParent( NULL );
+ this->m_ParametersDialog->setParameters( this->m_Parameters );
+
+ if( this->m_ParametersDialog->exec( ) == 1 )
+ r = Self::DialogResult_NoModal;
+ else
+ r = Self::DialogResult_Cancel;
+ }
+ else
+ r = Self::DialogResult_Cancel;
+
+#endif // cpPlugins_Interface_QT4
+
+ return( r );
+}