X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FQT%2FSimpleMPRWidget.cxx;h=ee2196e8ff4bd57ec7f801acae738a694e5479ec;hb=e2fb8817731f6231d34941a208e46b36dad425b2;hp=98c8191b40fb0887795454bcfb29ba2aec1bfb21;hpb=00fd157da0486276f5f6966752d0014f319ebfd5;p=cpPlugins.git diff --git a/lib/cpExtensions/QT/SimpleMPRWidget.cxx b/lib/cpExtensions/QT/SimpleMPRWidget.cxx index 98c8191..ee2196e 100644 --- a/lib/cpExtensions/QT/SimpleMPRWidget.cxx +++ b/lib/cpExtensions/QT/SimpleMPRWidget.cxx @@ -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 )