m_UI( new Ui::SimpleMPRWidget ),
m_MainImageName( "" )
{
+/*
this->m_UI->setupUi( this );
// Prepare default configuration
this->m_UI->ConfigurationButton, SIGNAL( clicked( ) ),
this, SLOT( _ConfigurationButton( ) )
);
+*/
}
// -------------------------------------------------------------------------
Add( vtkDataSet* data, const std::string& name )
{
bool success = true;
+/*
auto image = dynamic_cast< vtkImageData* >( data );
auto pdata = dynamic_cast< vtkPolyData* >( data );
this->m_3DView->Add( pdata, name );
else
success = false;
+*/
return( success );
}
TProps cpExtensions::QT::SimpleMPRWidget::
GetViewProps( const std::string& name ) const
{
+/*
auto x = this->m_XImage->GetViewProps( name );
auto y = this->m_YImage->GetViewProps( name );
auto z = this->m_ZImage->GetViewProps( name );
if( z != NULL ) props.insert( z );
if( w != NULL ) props.insert( w );
return( props );
+*/
}
// -------------------------------------------------------------------------
void cpExtensions::QT::SimpleMPRWidget::
GetScalarRange( double r[ 2 ] ) const
{
- this->m_XImage->GetScalarRange( r );
+// this->m_XImage->GetScalarRange( r );
}
// -------------------------------------------------------------------------
void cpExtensions::QT::SimpleMPRWidget::
GetWindowLevel( double wl[ 2 ] ) const
{
- this->m_XImage->GetWindowLevel( wl );
+// this->m_XImage->GetWindowLevel( wl );
}
// -------------------------------------------------------------------------
double cpExtensions::QT::SimpleMPRWidget::
GetImageOpacity( ) const
{
- return( this->m_XImage->GetImageOpacity( ) );
+// return( this->m_XImage->GetImageOpacity( ) );
}
// -------------------------------------------------------------------------
unsigned char cpExtensions::QT::SimpleMPRWidget::
GetImageInterpolation( ) const
{
- return( this->m_XImage->GetImageInterpolation( ) );
+// return( this->m_XImage->GetImageInterpolation( ) );
}
// -------------------------------------------------------------------------
void cpExtensions::QT::SimpleMPRWidget::
SetScalarRange( double r[ 2 ] )
{
+/*
this->m_XImage->SetScalarRange( r );
this->m_YImage->SetScalarRange( r );
this->m_ZImage->SetScalarRange( r );
this->m_3DView->SetScalarRange( r );
+*/
}
// -------------------------------------------------------------------------
void cpExtensions::QT::SimpleMPRWidget::
SetWindowLevel( double wl[ 2 ] )
{
+/*
this->m_XImage->SetWindowLevel( wl );
this->m_YImage->SetWindowLevel( wl );
this->m_ZImage->SetWindowLevel( wl );
this->m_3DView->SetWindowLevel( wl );
+*/
}
// -------------------------------------------------------------------------
void cpExtensions::QT::SimpleMPRWidget::
SetImageOpacity( double o )
{
+/*
this->m_XImage->SetImageOpacity( o );
this->m_YImage->SetImageOpacity( o );
this->m_ZImage->SetImageOpacity( o );
this->m_3DView->SetImageOpacity( o );
+*/
}
// -------------------------------------------------------------------------
void cpExtensions::QT::SimpleMPRWidget::
SetImageInterpolation( unsigned char i )
{
+ /*
this->m_XImage->SetImageInterpolation( i );
this->m_YImage->SetImageInterpolation( i );
this->m_ZImage->SetImageInterpolation( i );
this->m_3DView->SetImageInterpolation( i );
+*/
}
// -------------------------------------------------------------------------
void cpExtensions::QT::SimpleMPRWidget::
ResetCameras( )
{
+/*
this->m_XImage->ResetCamera( );
this->m_YImage->ResetCamera( );
this->m_ZImage->ResetCamera( );
this->m_3DView->ResetCamera( );
+*/
}
// -------------------------------------------------------------------------
void cpExtensions::QT::SimpleMPRWidget::
Render( )
{
+/*
this->m_XImage->Render( );
this->m_YImage->Render( );
this->m_ZImage->Render( );
this->m_3DView->Render( );
+*/
}
// -------------------------------------------------------------------------