cpExtensions::QT::SimpleMPRWidget::
~SimpleMPRWidget( )
{
- // TODO: this causes a segfault (?)
- // delete this->m_UI;
+ delete this->m_UI;
}
// -------------------------------------------------------------------------
{
}
+// -------------------------------------------------------------------------
+void cpExtensions::QT::SimpleMPRWidget::
+SetWindowLevel( const double& w, const double& l )
+{
+ this->m_MPRObjects->SetWindowLevel( w, l );
+}
+
+// -------------------------------------------------------------------------
+double cpExtensions::QT::SimpleMPRWidget::
+GetWindow( ) const
+{
+ return( this->m_MPRObjects->GetWindow( ) );
+}
+
+// -------------------------------------------------------------------------
+double cpExtensions::QT::SimpleMPRWidget::
+GetLevel( ) const
+{
+ return( this->m_MPRObjects->GetLevel( ) );
+}
+
// -------------------------------------------------------------------------
vtkRenderWindowInteractor* cpExtensions::QT::SimpleMPRWidget::
GetInteractor( unsigned int i )
range[ 0 ], ( ( range[ 1 ] - range[ 0 ] ) * 0.75 ) + range[ 0 ]
);
this->Actor->SetMapper( this->Mapper );
+ this->Actor->GetProperty( )->SetPointSize( 10 );
this->Actor->DeferLODConstructionOff( );
}