vtkObject* v = const_cast< vtkObject* >( this->GetVTK< vtkObject >( ) );
if( i != NULL ) i->Modified( );
if( v != NULL ) v->Modified( );
+ this->Superclass::Modified( );
}
// -------------------------------------------------------------------------
// Current update
if( this->m_LastExecutionTime < this->GetMTime( ) || need_to_update )
{
+ /*
if( this->m_PrintExecution && this->m_PrintExecutionStream != NULL )
{
+ */
*( this->m_PrintExecutionStream )
<< "cpPlugins: Updating \""
<< this->GetClassCategory( ) << ":" << this->GetClassName( )
<< "\"... ";
this->m_PrintExecutionStream->flush( );
- } // fi
+ // } // fi
auto t_start = cpPlugins_CHRONO;
this->_GenerateData( );
this->m_LastExecutionSpan = long( t_end - t_start );
this->m_LastExecutionTime = this->GetMTime( );
+ /*
if( this->m_PrintExecution && this->m_PrintExecutionStream != NULL )
{
+ */
*( this->m_PrintExecutionStream )
<< "done in "
<< double( this->m_LastExecutionSpan ) / double( 1000 )
<< " s." << std::endl;
- } // fi
+ // } // fi
} // fi
}
void cpPluginsWidgets::SeedWidget::
_GenerateData( )
{
- std::cout << "seeds" << std::endl;
if( this->m_Configured )
{
- std::cout << "ok" << std::endl;
auto points = this->_CreateVTK< vtkPoints >( );
for(
auto wIt = this->m_Widgets.begin( );