]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/QT/SimpleMPRWidget.cxx
More plugins added
[cpPlugins.git] / lib / cpExtensions / QT / SimpleMPRWidget.cxx
index 62b92961f849085c0d37804565a73641544f6d4b..ee2196e8ff4bd57ec7f801acae738a694e5479ec 100644 (file)
@@ -299,6 +299,27 @@ HideData( const std::string& name )
 {
 }
 
+// -------------------------------------------------------------------------
+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 )
@@ -541,6 +562,7 @@ Configure( vtkPolyData* pd )
     range[ 0 ], ( ( range[ 1 ] - range[ 0 ] ) * 0.75 ) + range[ 0 ]
     );
   this->Actor->SetMapper( this->Mapper );
+  this->Actor->GetProperty( )->SetPointSize( 10 );
   this->Actor->DeferLODConstructionOff( );
 }