]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
"Info Window Enabled", "Camera Movement Enabled" parameters have been set to "true...
authorouv <ouv@opencascade.com>
Mon, 30 Jun 2008 10:10:12 +0000 (10:10 +0000)
committerouv <ouv@opencascade.com>
Mon, 30 Jun 2008 10:10:12 +0000 (10:10 +0000)
resources/SalomeApp.xml
src/OBJECT/VISU_PickingSettings.cxx

index 1c2049a335abf731f18f9cb299125c7d9d5f8771..21d28a2edbbaabe3b19a76095c3da5c9c20c99e9 100644 (file)
     <parameter name="picking_pyramid_height"  value="1.0"/>
     <parameter name="picking_selection_color" value="255, 255, 0"/>
     <parameter name="picking_point_tolerance" value="0.01"/>
-    <parameter name="picking_info_window"  value="false" />
+    <parameter name="picking_info_window"  value="true" />
     <parameter name="picking_transparency" value="50" />
-    <parameter name="picking_position"     value="0"  />
-    <parameter name="picking_camera_movement"  value="false" />
+    <parameter name="picking_position"     value="1"  />
+    <parameter name="picking_camera_movement"  value="true" />
     <parameter name="picking_zoom_factor"  value="1.5"/>
     <parameter name="picking_step_number"  value="10" />
     <parameter name="picking_display_parent_mesh" value="false" />
index ae2956536b24de8d1deb2edd6ebb7c46bbbae6a0..982f5c1de3f00526622208714eee115c2bff35e2 100644 (file)
@@ -47,11 +47,11 @@ VISU_PickingSettings* VISU_PickingSettings::Get()
     aPickingSettings->SetPointTolerance( aResourceMgr->doubleValue( "VISU", "picking_point_tolerance", 0.1 ) );
     aPickingSettings->SetInfoWindowEnabled( aResourceMgr->booleanValue( "VISU", "picking_info_window", false ) );
     aPickingSettings->SetInfoWindowTransparency( aResourceMgr->integerValue( "VISU", "picking_transparency", 50 ) / 100.0 );
-    aPickingSettings->SetInfoWindowPosition( aResourceMgr->integerValue( "VISU", "picking_position", VISU_PickingSettings::BelowPoint ) );
-    aPickingSettings->SetCameraMovementEnabled( aResourceMgr->booleanValue( "VISU", "picking_camera_movement", false ) );
+    aPickingSettings->SetInfoWindowPosition( aResourceMgr->integerValue( "VISU", "picking_position", VISU_PickingSettings::TopLeftCorner ) );
+    aPickingSettings->SetCameraMovementEnabled( aResourceMgr->booleanValue( "VISU", "picking_camera_movement", true ) );
     aPickingSettings->SetZoomFactor( aResourceMgr->doubleValue( "VISU", "picking_zoom_factor", 1.5 ) );
     aPickingSettings->SetStepNumber( aResourceMgr->integerValue( "VISU", "picking_step_number", 10 ) );
-    aPickingSettings->SetDisplayParentMesh( aResourceMgr->booleanValue( "VISU", "picking_display_parent_mesh", false ) );
+    aPickingSettings->SetDisplayParentMesh( aResourceMgr->booleanValue( "VISU", "picking_display_parent_mesh", true ) );
 
     QColor aSelectionColor = aResourceMgr->colorValue( "VISU", "picking_selection_color", Qt::yellow );
     vtkFloatingPointType aColor[3];