msgid "VisuGUI_Module::VISU_GAUSS_PREF_COLOR_GROUP_TTL"
msgstr "Color"
+msgid "VisuGUI_Module::VISU_PICKING_PREF_TAB_TTL"
+msgstr "Picking"
+
+msgid "VisuGUI_Module::VISU_PICKING_PREF_CURSOR_GROUP_TTL"
+msgstr "Cursor"
+
+msgid "VisuGUI_Module::VISU_PICKING_PREF_PYRAMID_HEIGHT"
+msgstr "Height of the pyramids"
+
+msgid "VisuGUI_Module::VISU_PICKING_PREF_INFO_WINDOW_GROUP_TTL"
+msgstr "Information window"
+
+msgid "VisuGUI_Module::VISU_PICKING_PREF_TRANSPARENCY"
+msgstr "Transparency"
+
+msgid "VisuGUI_Module::VISU_GAUSS_PREF_POSITION"
+msgstr "Position"
+
+msgid "VisuGUI_Module::VISU_GAUSS_PREF_BELOW_POINT"
+msgstr "Centered below the point"
+
+msgid "VisuGUI_Module::VISU_GAUSS_PREF_TOP_LEFT_CORNER"
+msgstr "Top-left corner of the 3D view"
+
+msgid "VisuGUI_Module::VISU_PICKING_PREF_CAMERA_GROUP_TTL"
+msgstr "Movement of the camera"
+
+msgid "VisuGUI_Module::VISU_PICKING_PREF_ZOOM_FACTOR"
+msgstr "Zoom at first selected point (ratio)"
+
+msgid "VisuGUI_Module::VISU_PICKING_PREF_STEP_NUMBER"
+msgstr "Number of steps between two positions"
+
msgid "VisuGUI_Module::VISU_MOUSE_PREF_TAB_TLT"
msgstr "Spacemouse"
msgid "VVTK_SegmentationCursorDlg::OUTSIDE_CURSOR_TAB"
msgstr "Outside Cursor Gauss Points"
+
+msgid "VVTK_PickingDlg::PICKING_DLG_TITLE"
+msgstr "Picking"
+
+msgid "VVTK_PickingDlg::CURSOR_TITLE"
+msgstr "Cursor"
+
+msgid "VVTK_PickingDlg::PYRAMID_HEIGHT"
+msgstr "Height of the pyramids :"
+
+msgid "VVTK_PickingDlg::INFO_WINDOW_TITLE"
+msgstr "Information window"
+
+msgid "VVTK_PickingDlg::TRANSPARENCY"
+msgstr "Transparency :"
+
+msgid "VVTK_PickingDlg::POSITION"
+msgstr "Position :"
+
+msgid "VVTK_PickingDlg::BELOW_POINT"
+msgstr "Centered below the point"
+
+msgid "VVTK_PickingDlg::TOP_LEFT_CORNER"
+msgstr "Top-left corner of the 3D view"
+
+msgid "VVTK_PickingDlg::CAMERA_TITLE"
+msgstr "Movement of the camera"
+
+msgid "VVTK_PickingDlg::ZOOM_FACTOR"
+msgstr "Zoom at first selected point (ratio) :"
+
+msgid "VVTK_PickingDlg::STEP_NUMBER"
+msgstr "Number of steps between two positions :"
+
createGaussPointsPreferences();
createScalarBarPreferences();
createOutsideCursorPreferences();
+ createPickingPreferences();
createSpaceMousePreferences();
}
}
+//---------------------------------------------------------------
+void
+VisuGUI_Module
+::createPickingPreferences()
+{
+ int pickingTab = addPreference( tr( "VISU_PICKING_PREF_TAB_TTL" ) );
+
+ int cursorGr = addPreference( tr( "VISU_PICKING_PREF_CURSOR_GROUP_TTL" ), pickingTab );
+ int pyramidHeightPref = addPreference( tr( "VISU_PICKING_PREF_PYRAMID_HEIGHT" ), cursorGr,
+ SalomeApp_Preferences::DblSpin, "VISU", "picking_pyramid_height" );
+ setPreferenceProperty( pyramidHeightPref, "min", 1 );
+ setPreferenceProperty( pyramidHeightPref, "max", 100 );
+
+ int infoWindowGr = addPreference( tr( "VISU_PICKING_PREF_INFO_WINDOW_GROUP_TTL" ), pickingTab );
+ setPreferenceProperty( infoWindowGr, "columns", 1 );
+
+ int transparencyPref = addPreference( tr( "VISU_PICKING_PREF_TRANSPARENCY" ), infoWindowGr,
+ SalomeApp_Preferences::DblSpin, "VISU", "picking_transparency" );
+ setPreferenceProperty( transparencyPref, "min", 0.0 );
+ setPreferenceProperty( transparencyPref, "max", 1.0 );
+ setPreferenceProperty( transparencyPref, "step", 0.1 );
+
+ int positionPref = addPreference( tr( "VISU_GAUSS_PREF_POSITION" ), infoWindowGr,
+ SalomeApp_Preferences::Selector, "VISU", "picking_position" );
+ QStringList values;
+ values.append( tr( "VISU_GAUSS_PREF_BELOW_POINT" ) );
+ values.append( tr( "VISU_GAUSS_PREF_TOP_LEFT_CORNER" ) );
+ QValueList<QVariant> indices;
+ indices.append( 0 );
+ indices.append( 1 );
+ setPreferenceProperty( positionPref, "strings", values );
+ setPreferenceProperty( positionPref, "indexes", indices );
+
+ int cameraGr = addPreference( tr( "VISU_PICKING_PREF_CAMERA_GROUP_TTL" ), pickingTab );
+ setPreferenceProperty( cameraGr, "columns", 1 );
+
+ int zoomFactorPref = addPreference( tr( "VISU_PICKING_PREF_ZOOM_FACTOR" ), cameraGr,
+ SalomeApp_Preferences::DblSpin, "VISU", "picking_zoom_factor" );
+ setPreferenceProperty( zoomFactorPref, "min", 0.1 );
+ setPreferenceProperty( zoomFactorPref, "max", 10.0 );
+ setPreferenceProperty( zoomFactorPref, "step", 0.1 );
+
+ int stepNumberPref = addPreference( tr( "VISU_PICKING_PREF_STEP_NUMBER" ), cameraGr,
+ SalomeApp_Preferences::IntSpin, "VISU", "picking_step_number" );
+ setPreferenceProperty( stepNumberPref, "min", 1 );
+ setPreferenceProperty( stepNumberPref, "max", 100 );
+}
+
+
//---------------------------------------------------------------
void
VisuGUI_Module