this->Superclass::Modified( );
}
+// -------------------------------------------------------------------------
+bool cpPlugins::Interface::ProcessObject::
+IsInteractive( ) const
+{
+ std::vector< std::string > names;
+ this->m_Parameters->GetNames( names );
+ bool res = false;
+ auto i = names.begin( );
+ for( ; i != names.end( ); ++i )
+ {
+ TParameters::Type t = this->m_Parameters->GetType( *i );
+ res |= ( t == TParameters::Point );
+ res |= ( t == TParameters::Index );
+ res |= ( t == TParameters::PointList );
+ res |= ( t == TParameters::IndexList );
+
+ } // rof
+ return( res );
+}
+
// -------------------------------------------------------------------------
cpPlugins::Interface::ProcessObject::
TParameters* cpPlugins::Interface::ProcessObject::
return( this->m_Parameters.GetPointer( ) );
}
+// -------------------------------------------------------------------------
+cpPlugins::Interface::
+Plugins* cpPlugins::Interface::ProcessObject::
+GetPlugins( )
+{
+ return( this->m_Plugins );
+}
+
+// -------------------------------------------------------------------------
+const cpPlugins::Interface::
+Plugins* cpPlugins::Interface::ProcessObject::
+GetPlugins( ) const
+{
+ return( this->m_Plugins );
+}
+
+// -------------------------------------------------------------------------
+void cpPlugins::Interface::ProcessObject::
+SetPlugins( Plugins* p )
+{
+ this->m_Plugins = p;
+}
+
// -------------------------------------------------------------------------
unsigned int cpPlugins::Interface::ProcessObject::
GetNumberOfInputs( ) const
ProcessObject( )
: Superclass( ),
m_ITKObject( NULL ),
- m_VTKObject( NULL )
+ m_VTKObject( NULL ),
+ m_Plugins( NULL )
{
this->m_Parameters = TParameters::New( );
+ this->m_Parameters->SetProcessObject( this );
this->m_ParametersDialog = new ParametersQtDialog( );
this->m_ParametersDialog->setTitle(