const std::string& filter_name, const std::string& output_name
)
{
- /*
// Get output
- auto filter = this->m_Workspace.GetFilter( filter_name );
- if( filter != NULL )
- {
- auto output = filter->GetOutputData( output_name );
- if( output != NULL )
- {
- std::string data_name = output_name + "@" + filter_name;
- this->m_UI->Viewer->HideData( data_name );
+ /* TODO
+ auto filter = this->m_Workspace.GetFilter( filter_name );
+ if( filter != NULL )
+ {
+ auto output = filter->GetOutputData( output_name );
+ if( output != NULL )
+ {
+ std::string data_name = output_name + "@" + filter_name;
+ this->m_UI->Viewer->HideData( data_name );
- } // fi
+ } // fi
- } // fi
+ } // fi
*/
}
const std::string& filter_name, const std::string& output_name
)
{
- /*
// Get output
auto filter = this->m_Workspace.GetFilter( filter_name );
if( filter != NULL )
{
- auto output = filter->GetOutputData( output_name );
+ auto output = filter->GetOutputData< vtkPolyData >( output_name );
if( output != NULL )
{
- std::string data_name = output_name + "@" + filter_name;
- auto prop = this->m_UI->Viewer->GetProp( data_name );
+ auto actor = this->m_UI->Viewer->GetActor( output );
+ if( actor != NULL )
+ {
+ cpExtensions::QT::PropertyWidget* wdg =
+ new cpExtensions::QT::PropertyWidget( NULL );
+ wdg->SetProp( actor );
+ wdg->SetRenderWindow(
+ this->m_UI->Viewer->GetInteractor( 3 )->GetRenderWindow( )
+ );
+ wdg->show( );
- cpExtensions::QT::PropertyWidget* wdg =
- new cpExtensions::QT::PropertyWidget( NULL );
- wdg->SetProp( prop );
- wdg->SetRenderWindow( this->m_UI->Viewer->GetInteractor( 3 )->GetRenderWindow( ) );
- wdg->show( );
+ } // fi
}
else
QMessageBox::critical(
);
} // fi
- */
}
// eof - $RCSfile$