void cpPlugins::DataObjectVisualizationQtDialog::
_configureForImage( )
{
+ /* TODO
auto image = this->m_DataObject->GetVTK< vtkImageData >( );
auto aIt = this->m_DataObject->BeginVTKActors( );
if( image == NULL || aIt == this->m_DataObject->EndVTKActors( ) )
op_layout->addWidget( op_label );
op_layout->addWidget( op_sld );
this->m_ToolsLayout->addLayout( op_layout );
+*/
}
// -------------------------------------------------------------------------
void cpPlugins::DataObjectVisualizationQtDialog::
_configureForMesh( )
{
+ /* TODO
auto mesh = this->m_DataObject->GetVTK< vtkPolyData >( );
auto aIt = this->m_DataObject->BeginVTKActors( );
if( mesh == NULL || aIt == this->m_DataObject->EndVTKActors( ) )
op_layout->addWidget( op_label );
op_layout->addWidget( op_sld );
this->m_ToolsLayout->addLayout( op_layout );
+*/
}
// -------------------------------------------------------------------------
void cpPlugins::DataObjectVisualizationQtDialog::
_setWindow( double w )
{
+ /* TODO
if( this->m_DataObject == NULL )
return;
auto aIt = this->m_DataObject->BeginVTKActors( );
} // rof
this->_render( );
+*/
}
// -------------------------------------------------------------------------
void cpPlugins::DataObjectVisualizationQtDialog::
_setLevel( double l )
{
+ /* TODO
if( this->m_DataObject == NULL )
return;
auto aIt = this->m_DataObject->BeginVTKActors( );
} // rof
this->_render( );
+*/
}
// -------------------------------------------------------------------------
void cpPlugins::DataObjectVisualizationQtDialog::
_render( )
{
+ /* TODO
if( this->m_DataObject == NULL )
return;
this->m_DataObject->RenderVTKActors( );
+*/
}
// -------------------------------------------------------------------------
void cpPlugins::DataObjectVisualizationQtDialog::
_sldOpacity( int v )
{
+ /* TODO
if( this->m_DataObject == NULL )
return;
auto* sld = this->findChild< QSlider* >( "op_sld" );
} // rof
this->_render( );
+*/
}
// -------------------------------------------------------------------------
void cpPlugins::DataObjectVisualizationQtDialog::
_scalarVisibility( int v )
{
+ /* TODO
if( this->m_DataObject == NULL )
return;
auto* btn = this->findChild< QPushButton* >( "color_button" );
} // rof
this->_render( );
+*/
}
// -------------------------------------------------------------------------
void cpPlugins::DataObjectVisualizationQtDialog::
_color( )
{
+ /* TODO
if( this->m_DataObject == NULL )
return;
auto* btn = this->findChild< QPushButton* >( "color_button" );
this->_scalarVisibility( 0 );
} // fi
+*/
}
#endif // cpPlugins_QT4