]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
0021711: [CEA 579] Simplify Properties dialog accordingly to dimension of mesh V6_main_20121004
authorvsr <vsr@opencascade.com>
Wed, 3 Oct 2012 13:46:55 +0000 (13:46 +0000)
committervsr <vsr@opencascade.com>
Wed, 3 Oct 2012 13:46:55 +0000 (13:46 +0000)
src/VISUGUI/VisuGUI.cxx

index a8c76b6b0a0274cb4f605f20199ee5464551464c..d323b9df44840b52a98087ac253c44f7cc4685d0 100644 (file)
@@ -1598,25 +1598,25 @@ VisuGUI
         VTKViewer_MarkerDlg* aDlg = new VTKViewer_MarkerDlg( GetDesktop( this ) );
         aDlg->setHelpData( "VISU", "point_marker_page.html" );
 
-        aDlg->setCustomMarkerMap( aMarkerMap[ aStudyId ] );
+        aDlg->setCustomMarkers( aMarkerMap[ aStudyId ] );
 
-        aDlg->addExtraStdMarker( VTK::MT_POINT_SPRITE, aPointSpritePixmap );
+        aDlg->addMarker( VTK::MT_POINT_SPRITE, aPointSpritePixmap );
 
         VISU::MarkerType aMarkerTypeCurrent = aPrs->GetMarkerType();
         VISU::MarkerScale aMarkerScaleCurrent = aPrs->GetMarkerScale();
         int aMarkerTextureCurrent = aPrs->GetMarkerTexture();
         if( aMarkerTypeCurrent != VISU::MT_USER )
-          aDlg->setStandardMarker( (VTK::MarkerType)aMarkerTypeCurrent, (VTK::MarkerScale)aMarkerScaleCurrent );
+          aDlg->setMarker( (VTK::MarkerType)aMarkerTypeCurrent, (VTK::MarkerScale)aMarkerScaleCurrent );
         else
           aDlg->setCustomMarker( aMarkerTextureCurrent );
 
         if( aDlg->exec() )
         {
-          aMarkerMap[ aStudyId ] = aDlg->getCustomMarkerMap();
+          aMarkerMap[ aStudyId ] = aDlg->customMarkers();
 
-          VISU::MarkerType aMarkerTypeNew = (VISU::MarkerType)aDlg->getMarkerType();
-          VISU::MarkerScale aMarkerScaleNew = (VISU::MarkerScale)aDlg->getStandardMarkerScale();
-          int aMarkerTextureNew = aDlg->getCustomMarkerID();
+          VISU::MarkerType aMarkerTypeNew = (VISU::MarkerType)aDlg->markerType();
+          VISU::MarkerScale aMarkerScaleNew = (VISU::MarkerScale)aDlg->markerScale();
+          int aMarkerTextureNew = aDlg->markerId();
           if( aMarkerTypeNew != VISU::MT_USER )
             aPrs->SetMarkerStd( aMarkerTypeNew, aMarkerScaleNew );
           else