From: dmv Date: Mon, 26 Jan 2009 12:08:37 +0000 (+0000) Subject: 0018029: EDF 609 VISU : to be able to hide scalar bar X-Git-Tag: mergeto_trunk_16Feb09~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=769892f02ae303d620e202c83284309b88c66106;p=modules%2Fvisu.git 0018029: EDF 609 VISU : to be able to hide scalar bar --- diff --git a/src/VISUGUI/VISU_images.po b/src/VISUGUI/VISU_images.po deleted file mode 100644 index a876d3ad..00000000 --- a/src/VISUGUI/VISU_images.po +++ /dev/null @@ -1,252 +0,0 @@ -# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE -# -# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -# VISU VISUGUI : GUI of VISU component -# File : VisuGUI_icons.po -# Module : VISU -# -msgid "" -msgstr "" -"Project-Id-Version: PROJECT VERSION\n" -"POT-Creation-Date: 2002-05-28 10:57:43 AM CEST\n" -"PO-Revision-Date: 2005-05-10 15:20+0400\n" -"Last-Translator: FULLNAME \n" -"Content-Type: text/plain; charset=iso-8859-1\n" - -msgid "ICON_IMPORT_MED" -msgstr "Visu_import_med.png" - -msgid "ICON_OBJBROWSER_Visu" -msgstr "Visu_tree_visu.png" - -msgid "ICON_MULTIPR_VIEW_FULL" -msgstr "Visu_tree_multipr_full.png" - -msgid "ICON_MULTIPR_VIEW_MEDIUM" -msgstr "Visu_tree_multipr_medium.png" - -msgid "ICON_MULTIPR_VIEW_LOW" -msgstr "Visu_tree_multipr_low.png" - -msgid "ICON_MULTIPR_VIEW_HIDE" -msgstr "Visu_tree_multipr_hide.png" - -msgid "ICON_HOLO_RENDER" -msgstr "Visu_holo_render.png" - -msgid "ICON_SCALAR_MAP" -msgstr "Visu_scalars.png" - -msgid "ICON_DEFORMED_SHAPE" -msgstr "Visu_deformed.png" - -msgid "ICON_SCALAR_MAP_ON_DEFORMED_SHAPE" -msgstr "Visu_scalarmapondeformedshape.png" - -msgid "ICON_VECTORS" -msgstr "Visu_vectors.png" - -msgid "ICON_ISO_SURFACES" -msgstr "Visu_isosurfaces.png" - -msgid "ICON_CUT_PLANES" -msgstr "Visu_cutplanes.png" - -msgid "ICON_CUT_LINES" -msgstr "Visu_cutlines.png" - -msgid "ICON_STREAM_LINES" -msgstr "Visu_streamlines.png" - -msgid "ICON_PLOT2D" -msgstr "Visu_plot2d.png" - -# Tree icons for presentations - -msgid "ICON_TREE_RESULT" -msgstr "Visu_tree_result.png" - -msgid "ICON_TREE_TABLE" -msgstr "Visu_tree_table.png" - -msgid "ICON_TREE_CURVE" -msgstr "Visu_tree_curve.png" - -msgid "ICON_TREE_CONTAINER" -msgstr "Visu_tree_container.png" - -msgid "ICON_TREE_MESH" -msgstr "Visu_tree_mesh.png" - -msgid "ICON_TREE_SCALAR_MAP" -msgstr "Visu_tree_scalars.png" - -msgid "ICON_TREE_SCALAR_MAP_GROUPS" -msgstr "Visu_tree_scalars_gr.png" - -msgid "ICON_TREE_DEFORMED_SHAPE" -msgstr "Visu_tree_deformed.png" - -msgid "ICON_TREE_DEFORMED_SHAPE_GROUPS" -msgstr "Visu_tree_deformed_gr.png" - -msgid "ICON_TREE_SCALAR_MAP_ON_DEFORMED_SHAPE" -msgstr "Visu_tree_scalarmapondeformedshape.png" - -msgid "ICON_TREE_SCALAR_MAP_ON_DEFORMED_SHAPE_GROUPS" -msgstr "Visu_tree_scalarmapondeformedshape_gr.png" - -msgid "ICON_TREE_VECTORS" -msgstr "Visu_tree_vectors.png" - -msgid "ICON_TREE_VECTORS_GROUPS" -msgstr "Visu_tree_vectors_gr.png" - -msgid "ICON_TREE_ISO_SURFACES" -msgstr "Visu_tree_isosurfaces.png" - -msgid "ICON_TREE_ISO_SURFACES_GROUPS" -msgstr "Visu_tree_isosurfaces_gr.png" - -msgid "ICON_TREE_CUT_PLANES" -msgstr "Visu_tree_cutplanes.png" - -msgid "ICON_TREE_CUT_PLANES_GROUPS" -msgstr "Visu_tree_cutplanes_gr.png" - -msgid "ICON_TREE_CUT_LINES" -msgstr "Visu_tree_cutlines.png" - -msgid "ICON_TREE_CUT_LINES_GROUPS" -msgstr "Visu_tree_cutlines_gr.png" - -msgid "ICON_TREE_STREAM_LINES" -msgstr "Visu_tree_streamlines.png" - -msgid "ICON_TREE_STREAM_LINES_GROUPS" -msgstr "Visu_tree_streamlines_gr.png" - -msgid "ICON_TREE_PLOT_3D" -msgstr "Visu_tree_plot3d.png" - -msgid "ICON_TREE_PLOT_3D_GROUPS" -msgstr "Visu_tree_plot3d_gr.png" - -msgid "ICON_TREE_GAUSS_POINTS" -msgstr "Visu_tree_gauss_points.png" - -# Representation menu - -msgid "ICON_POINTS" -msgstr "Visu_points.png" - -msgid "ICON_WIREFRAME" -msgstr "Visu_wireframe.png" - -msgid "ICON_SURFACE" -msgstr "Visu_surface.png" - -msgid "ICON_ERASE_ALL" -msgstr "Visu_eraseall.png" - -msgid "ICON_GLOBAL_SELECTION" -msgstr "Visu_selectall.png" - -msgid "ICON_PARTIAL_SELECTION" -msgstr "Visu_selectonly.png" - -msgid "ICON_SCALING" -msgstr "Visu_scaling.png" - -msgid "ICON_TIMEANIMATION" -msgstr "Visu_anim.png" - -msgid "ICON_SWEEP" -msgstr "Visu_scalars_anim.png" - -msgid "ICON_PLOT_3D" -msgstr "Visu_plot3d.png" - -msgid "ICON_CUBE_AXES" -msgstr "Visu_graduated_axes.png" - -msgid "ICON_GAUSS_NEW_VIEWER" -msgstr "Visu_points.png" - -msgid "ICON_GAUSS_POINTS" -msgstr "Visu_gauss_points.png" - -msgid "ICON_VVTK_INTERACTOR_STYLE_SWITCH" -msgstr "Visu_vvtk_switch.png" - -msgid "ICON_VVTK_SELECTION_MODE_SWITCH" -msgstr "Visu_points.png" - -msgid "ICON_VVTK_PLANE_SEGMENTATION_SWITCH" -msgstr "Visu_PlaneSegmentation.png" - -msgid "ICON_VVTK_SPHERE_SEGMENTATION_SWITCH" -msgstr "Visu_SphereSegmentation.png" - -msgid "ICON_VVTK_RECORDING_START" -msgstr "Visu_recording_start.png" - -msgid "ICON_VVTK_RECORDING_PLAY" -msgstr "Visu_recording_play.png" - -msgid "ICON_VVTK_RECORDING_PAUSE" -msgstr "Visu_recording_pause.png" - -msgid "ICON_VVTK_RECORDING_STOP" -msgstr "Visu_recording_stop.png" - -msgid "ICON_LOAD_TEXTURE" -msgstr "Visu_load_texture.png" - -msgid "ICON_ADD" -msgstr "Visu_add.png" - -msgid "ICON_REMOVE" -msgstr "Visu_remove.png" - -msgid "ICON_SLIDER_MORE" -msgstr "Visu_slider_more.png" - -msgid "ICON_SLIDER_AVI" -msgstr "Visu_slider_avi.png" - -msgid "ICON_SLIDER_FIRST" -msgstr "Visu_slider_first.png" - -msgid "ICON_SLIDER_PREVIOUS" -msgstr "Visu_slider_previous.png" - -msgid "ICON_SLIDER_PLAY" -msgstr "Visu_slider_play.png" - -msgid "ICON_SLIDER_PAUSE" -msgstr "Visu_slider_pause.png" - -msgid "ICON_SLIDER_NEXT" -msgstr "Visu_slider_next.png" - -msgid "ICON_SLIDER_LAST" -msgstr "Visu_slider_last.png" diff --git a/src/VISUGUI/VISU_msg_en.po b/src/VISUGUI/VISU_msg_en.po deleted file mode 100644 index 83dbaac4..00000000 --- a/src/VISUGUI/VISU_msg_en.po +++ /dev/null @@ -1,2351 +0,0 @@ -# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE -# -# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -msgid "" -msgstr "" -"Project-Id-Version: PROJECT VERSION\n" -"POT-Creation-Date: 2002-02-22 16:56:46 CET\n" -"PO-Revision-Date: 2007-12-11 17:26+0300\n" -"Last-Translator: FULLNAME \n" -"Content-Type: text/plain; charset=iso-8859-1\n" - -msgid "WRN_VISU" -msgstr "Post-Pro Warning" - -msgid "WRN_VISU_WARNING" -msgstr "Warning" - -msgid "INF_DONE" -msgstr " done" - -msgid "INF_FAILED" -msgstr " failed!" - -msgid "WRN_STUDY_LOCKED" -msgstr "Current Study is locked" - -msgid "WRN_NO_AVAILABLE_DATA" -msgstr "No Available data in selection" - -msgid "WRN_EXTRA_MEMORY_REQUIRED" -msgstr "Cache need more memory to build the presentation (%1 Mb).\nDo you want to enlarge the cache?" - -msgid "ERR_NO_MEMORY_TO_BUILD" -msgstr "Please, free %1 Mb to make the cache enlarging possible\n(for example, try to delete some holders)" - -msgid "ERR_CANT_FIND_VISU_COMPONENT" -msgstr "Failed to activate VISU engine!" - -msgid "ERR_CANT_FIND_MED_COMPONENT" -msgstr "Failed to activate MED engine!" - -msgid "ERR_CANT_BUILD_PRESENTATION" -msgstr "The object can't be built" - -msgid "ERR_CANT_CREATE_ACTOR" -msgstr "Can't create actor for this presentation" - -msgid "ERR_CANT_CREATE_ANIMATION" -msgstr "Can't create animation for these fields:\n number of time stamps or number of components is not the same!" - -# Preferences for VISU module (VisuGUI.cxx) - -msgid "VISU_SCALAR_BAR" -msgstr "Scalar Bar" - -msgid "VISU_FONT" -msgstr "Font" - -msgid "VISU_FONT_ARIAL" -msgstr "Arial" - -msgid "VISU_FONT_COURIER" -msgstr "Courier" - -msgid "VISU_FONT_TIMES" -msgstr "Times" - -msgid "VISU_TITLE" -msgstr "Title" - -msgid "VISU_LABELS" -msgstr "Labels" - -msgid "VISU_COLORS_AND_LABELS" -msgstr "Colors && Labels" - -msgid "VISU_NB_COLORS" -msgstr "Nb. of colors" - -msgid "VISU_IS_UNITS" -msgstr "Display units in title" - -msgid "VISU_NB_LABELS" -msgstr "Nb. of labels" - -msgid "VISU_LABELS_FORMAT" -msgstr "Labels format" - -msgid "VISU_ORIENTATION" -msgstr "Orientation" - -msgid "VISU_VERTICAL" -msgstr "Vertical" - -msgid "VISU_HORIZONTAL" -msgstr "Horizontal" - -msgid "VISU_ORIGIN_AND_SIZE" -msgstr "Origin && Size" - -msgid "VISU_X" -msgstr "X:" - -msgid "VISU_Y" -msgstr "Y:" - -msgid "VISU_WIDTH" -msgstr "Width:" - -msgid "VISU_HEIGHT" -msgstr "Height:" - -msgid "VISU_TITLE_WIDTH" -msgstr "Title width (%):" - -msgid "VISU_TITLE_HEIGHT" -msgstr "Title height (%):" - -msgid "VISU_LABEL_WIDTH" -msgstr "Label width (%):" - -msgid "VISU_LABEL_HEIGHT" -msgstr "Label height (%):" - -msgid "VISU_BAR_WIDTH" -msgstr "Bar width (%):" - -msgid "VISU_BAR_HEIGHT" -msgstr "Bar height (%):" - -msgid "VISU_PREF_SECOND_TAB" -msgstr "Scalar range, Sweep, MED import, Shading" - -msgid "NO_GROUPS" -msgstr "No groups in the mesh" - -msgid "VISU_SCALAR_RANGE" -msgstr "Scalar range" - -msgid "VISU_SCALAR_MODE" -msgstr "Scalar mode" - -msgid "VISU_MODULUS" -msgstr "Modulus" - -msgid "VISU_COMPONENT" -msgstr "Component" - -msgid "VISU_LOGARITHMIC_SCALING" -msgstr "Logarithmic scaling" - -msgid "VISU_RANGE_TO_USE" -msgstr "Range to use" - -msgid "VISU_FIELD_RANGE" -msgstr "Field range" - -msgid "VISU_IMPOSED_RANGE" -msgstr "Imposed range" - -msgid "VISU_MINMAX_IMPOSED_RANGE" -msgstr "Min and max for imposed range" - -msgid "VISU_MIN" -msgstr "Min:" - -msgid "VISU_MAX" -msgstr "Max:" - -msgid "VISU_SWEEPING_PREF" -msgstr "Sweeping preferences" - -msgid "VISU_LINEAR_SWEEP" -msgstr "Linear" - -msgid "VISU_COS_SWEEP" -msgstr "Cosinusoidal ( (1 - cos(t))/2 )" - -msgid "VISU_SIN_SWEEP" -msgstr "Sinusoidal ( sin( t - PI/2 ) )" - -msgid "VISU_SWEEPING_MODES" -msgstr "Mode of the sweeping " - -msgid "VISU_IS2PI" -msgstr "Parameter varies:" - -msgid "PERIOD_2PI" -msgstr "From -PI to PI" - -msgid "PERIOD_PI" -msgstr "From 0 to PI" - -msgid "VISU_TIME_STEP" -msgstr "Time step(second)" - -msgid "VISU_NB_CYCLES" -msgstr "Number of cycles" - -msgid "VISU_NB_STEPS" -msgstr "Number of steps" - -msgid "VISU_CUTLINE_PREF" -msgstr "CutLine preferences" - -msgid "VISU_PREF_MED_IMPORT" -msgstr "MED files import" - -msgid "VISU_PREF_MED_FULL_LOAD" -msgstr "Full MED loading" - -msgid "VISU_REPRESENT_PROPS" -msgstr "Representation properties" - -msgid "VISU_USE_SHADING" -msgstr "Use Shading" - -msgid "VISU_DISP_ONLY" -msgstr "Display only on creation" - -msgid "VISU_SHRINK" -msgstr "Shrink" - -msgid "VISU_3DCACHE_PROPS" -msgstr "3D Cache properties" - -msgid "VISU_MEMORY_MODE" -msgstr "Memory mode" - -msgid "VISU_MINIMAL" -msgstr "Minimal" - -msgid "VISU_LIMITED" -msgstr "Limited" - -msgid "VISU_MEMORY_LIMIT" -msgstr "Memory limit (Mb)" - -#: VisuGUI.cxx - -msgid "VisuGUI::MEN_IMPORT" -msgstr "Import" - -msgid "VisuGUI::MEN_IMPORT_FROM_FILE" -msgstr "MED file" - -msgid "VisuGUI::IMPORT_FROM_FILE" -msgstr "Import from File" - -msgid "VisuGUI::USE_BUILD_PROGRESS" -msgstr "Use build progress" - -msgid "VisuGUI::MEN_IMPORT_TABLE" -msgstr "Table from file" - -msgid "VisuGUI::MEN_SCALAR_MAP" -msgstr "Scalar Map" - -msgid "VisuGUI::MEN_DEFORMED_SHAPE" -msgstr "Deformed Shape" - -msgid "VisuGUI::MEN_SCALAR_MAP_ON_DEFORMED_SHAPE" -msgstr "Scalar Map on Deformed Shape" - -msgid "VisuGUI::MEN_VISUALIZATION" -msgstr "Visualization" - -msgid "VisuGUI::TOOL_IMPORT" -msgstr "Import Toolbar" - -msgid "VisuGUI::TOOL_VISUALISATION" -msgstr "Visualization Toolbar" - -msgid "VisuGUI::TOOL_REPRESENTATION" -msgstr "Representation Toolbar" - -msgid "VisuGUI::MEN_SHOW_ANIMATION" -msgstr "Show..." - -msgid "VisuGUI::MEN_PARALLEL_ANIMATION" -msgstr "Parallel Animation..." - -msgid "VisuGUI::MEN_SUCCCESSIVE_ANIMATION" -msgstr "Successive Animation..." - -msgid "PARALLEL_ANIMATION" -msgstr "Parallel Animation" - -msgid "SUCCESSIVE_ANIMATION" -msgstr "Successive Animation" - -msgid "VisuGUI::MEN_CELL_COLOR" -msgstr "Cell color" - -msgid "VisuGUI::MEN_CLEAR_CONTAINER" -msgstr "Clear" - -msgid "VisuGUI::MEN_COLOR" -msgstr "Color..." - -msgid "VisuGUI::MEN_CREATE_CURVES" -msgstr "Create Curves" - -msgid "VisuGUI::MEN_CREATE_MANY_PRS" -msgstr "Create Presentations" - -msgid "VisuGUI::MEN_CREATE_PLOT2D" -msgstr "Create Plot2d View" - -msgid "VisuGUI::MEN_CREATE_PRS" -msgstr "Create Presentation" - -msgid "VisuGUI::MEN_CREATE_TABLE" -msgstr "Create Table" - -msgid "VisuGUI::MEN_CURVE_PROPS" -msgstr "Properties..." - -msgid "VisuGUI::MEN_CUT_LINES" -msgstr "Cut Lines" - -msgid "VisuGUI::MEN_CUT_PLANES" -msgstr "Cut Planes" - -msgid "VisuGUI::MEN_SHOW" -msgstr "Show" - -msgid "VisuGUI::MEN_DISPLAY_ONLY" -msgstr "Display Only" - -msgid "VisuGUI::MEN_EDGE_COLOR" -msgstr "Edge Color" - -msgid "VisuGUI::MEN_EDIT_CONTAINER" -msgstr "Edit..." - -msgid "VisuGUI::MEN_EDIT_PRS" -msgstr "Edit..." - -msgid "VisuGUI::MEN_HIDE" -msgstr "Hide" - -msgid "VisuGUI::MEN_EXPORT_TABLE" -msgstr "Export Table" - -msgid "VisuGUI::MEN_INSIDEFRAME" -msgstr "Insideframe" - -msgid "VisuGUI::MEN_ISO_SURFACES" -msgstr "Iso Surfaces" - -msgid "VisuGUI::MEN_LINE_WIDTH" -msgstr "Line Width" - -msgid "VisuGUI::MEN_OPACITY" -msgstr "Opacity" - -msgid "VisuGUI::MEN_POINTS" -msgstr "Points" - -msgid "VisuGUI::MEN_PROPERTIES" -msgstr "Properties" - -msgid "VisuGUI::MEN_RENAME" -msgstr "Rename..." - -msgid "VisuGUI::MEN_RENAME_CONTAINER" -msgstr "Rename..." - -msgid "VisuGUI::MEN_RENAME_TABLE" -msgstr "Rename..." - -msgid "VisuGUI::MEN_REPRESENTATION" -msgstr "Representation" - -msgid "VisuGUI::MEN_SELECTION_INFO" -msgstr "Selection Info..." - -msgid "VisuGUI::MEN_SHOW_TABLE" -msgstr "Show Table" - -msgid "VisuGUI::MEN_SHRINK" -msgstr "Shrink" - -msgid "VisuGUI::MEN_SHADING" -msgstr "Shading On" - -msgid "VisuGUI::MEN_NOSHADING" -msgstr "Shading Off" - -msgid "VisuGUI::MEN_STREAM_LINES" -msgstr "Stream Lines" - -msgid "VisuGUI::MEN_SURFACE" -msgstr "Surface" - -msgid "VisuGUI::MEN_SURFACEFRAME" -msgstr "Surfaceframe" - -msgid "VisuGUI::MEN_SWEEP" -msgstr "Sweep" - -msgid "VisuGUI::MEN_UNSHRINK" -msgstr "Unshrink" - -msgid "VisuGUI::MEN_VECTORS" -msgstr "Vectors" - -msgid "VisuGUI::MEN_WIREFRAME" -msgstr "Wireframe" - -msgid "VisuGUI::MEN_DELETE_VIEWPARAMS" -msgstr "Delete view parameters" - -msgid "VisuGUI::MEN_RESTORE_VIEWPARAMS" -msgstr "Restore view parameters" - -msgid "VisuGUI::MEN_SAVE_VIEWPARAMS" -msgstr "Save view parameters" - -msgid "VisuGUI::MEN_COPY_PRS" -msgstr "Copy" - -msgid "VisuGUI::MEN_SELECTION" -msgstr "Selection" - -msgid "VisuGUI::MEN_DISPLAY_SELECTION" -msgstr "Display Selection" - -msgid "VisuGUI::MEN_ERASE_ALL" -msgstr "Erase All" - -msgid "VisuGUI::MEN_SCALING" -msgstr "Scaling" - -msgid "VisuGUI::MEN_CUBE_AXES" -msgstr "Graduated axes" - -msgid "VisuGUI::MEN_GLOBAL_SELECTION" -msgstr "Global Selection" - -msgid "VisuGUI::MEN_PARTIAL_SELECTION" -msgstr "Partial Selection" - -msgid "VisuGUI::MEN_IMPORT_MED_STRUCTURE" -msgstr "Import Structure" - -msgid "VisuGUI::MEN_IMPORT_MED_TIMESTAMP" -msgstr "Import TimeStamp" - -msgid "VisuGUI::MEN_IMPORT_MED_FIELD" -msgstr "Import Field" - -msgid "VisuGUI::MEN_LOAD_COMPONENT_DATA" -msgstr "Load Component Data" - -msgid "VisuGUI::MEN_DELETE_OBJS" -msgstr "Delete" - -msgid "VisuGUI::MEN_PLOT_3D" -msgstr "Plot3D" - -msgid "VisuGUI::MEN_TRANSLATE_PRS" -msgstr "Translate Presentation" - -msgid "VisuGUI::MEN_CLIPPING" -msgstr "Clipping planes" - -msgid "VisuGUI::MEN_MERGE_SCALAR_BARS" -msgstr "Merge Scalar Range" - -msgid "VisuGUI::MEN_FREE_SCALAR_BARS" -msgstr "Use Field Range" - -msgid "VisuGUI::MEN_ARRANGE_ACTORS" -msgstr "Arrange Actors" - -msgid "VisuGUI::MEN_PLOT3D_FROM_CUTPLANE" -msgstr "Plot3d" - -msgid "VisuGUI::MEN_CACHE_PROPERTIES" -msgstr "Properties" - - -msgid "VisuGUI::ERR_ERROR_DURING_EXPORT" -msgstr "Error has been occured during exporting to file" - -msgid "VisuGUI::ERR_ACTIVATE_VIEW3D" -msgstr "Please activate 3D view before" - -msgid "VisuGUI::ERR_SCALARBAR_PARAMS" -msgstr "Warning! The parameters is incorrect" - -msgid "VisuGUI::FLT_ALL_FILES" -msgstr "All Files (*.*)" - -msgid "VisuGUI::FLT_MED_FILES" -msgstr "MED Files (*.med)" - -msgid "VisuGUI::FLT_DISTRIBUTED_MED_FILES" -msgstr "Distributed MED Files (*_maitre.med)" - -msgid "VisuGUI::FLT_TABLE_FILES" -msgstr "Tables (*.xls *.txt *.tab)" - - -msgid "VisuGUI::DLG_OPACITY_TITLE" -msgstr "Opacity" - -msgid "VisuGUI::DLG_OPACITY_CMT1" -msgstr "Set value between" - -msgid "VisuGUI::DLG_OPACITY_CMT2" -msgstr "0 (transparent) and 100 (opaque)" - -msgid "VisuGUI::DLG_LINEWIDTH_TITLE" -msgstr "Line Width" - -msgid "VisuGUI::DLG_LINEWIDTH_CMT1" -msgstr "Set value between" - -msgid "VisuGUI::DLG_LINEWIDTH_CMT2" -msgstr "1 (thin) and 10 (thick)" - - -#: VisuGUI_CursorDlg.cxx - -msgid "VisuGUI_CursorDlg::&OK" -msgstr "" - -msgid "VisuGUI_CursorDlg::&Cancel" -msgstr "" - -msgid "VisuGUI_CursorDlg::TextLabel1" -msgstr "Set value between" - -msgid "VisuGUI_CursorDlg::TextLabel2" -msgstr "minimal and maximal" - - -#: VisuGUI_CutLinesDlg.cxx - -msgid "VisuGUI_CutLinesDlg::LBL_INVERT_CURVES" -msgstr "Invert all curves" - -msgid "VisuGUI_CutLinesDlg::LBL_ABSOLUTE_LENGTH" -msgstr "Use absolute length" - -msgid "VisuGUI_CutLinesDlg::LBL_GENERATE_CURVES" -msgstr "Generate Curves" - -msgid "VisuGUI_CutLinesDlg::LBL_GENERATE_TABLE" -msgstr "Generate Data Table" - -msgid "VisuGUI_CutLinesDlg::LBL_LINES_CUT" -msgstr "Cut planes" -#?msgstr "Cut lines" - -msgid "VisuGUI_CutLinesDlg::LBL_LINES_PLANE" -msgstr "Plane of lines" - -msgid "VisuGUI_CutLinesDlg::LBL_NB_PLANS" -msgstr "Number of planes:" - -msgid "VisuGUI_CutLinesDlg::LBL_POS" -msgstr "Displacement (0...1):" - -msgid "VisuGUI_CutLinesDlg::LBL_ROTATION" -msgstr "Rotations" - -msgid "VisuGUI_CutLinesDlg::LBL_ROT_X" -msgstr "Rotation around X (Y to Z):" - -msgid "VisuGUI_CutLinesDlg::LBL_ROT_Y" -msgstr "Rotation around Y (Z to X):" - -msgid "VisuGUI_CutLinesDlg::LBL_ROT_Z" -msgstr "Rotation around Z (X to Y):" - -msgid "VisuGUI_CutLinesDlg::LBL_SHOW_PREVIEW" -msgstr "Show preview" - -msgid "VisuGUI_CutLinesDlg::TXT_ORIENTATION" -msgstr "Orientation" - -msgid "VisuGUI_CutLinesDlg::BASE_PLANE_POS" -msgstr "Base plane position" - -msgid "VisuGUI_CutLinesDlg::SET_DEFAULT" -msgstr "Set default" - -msgid "VisuGUI_CutLinesDlg::PARALLEL_XOY" -msgstr "|| X-Y" - -msgid "VisuGUI_CutLinesDlg::PARALLEL_YOZ" -msgstr "|| Y-Z" - -msgid "VisuGUI_CutLinesDlg::PARALLEL_ZOX" -msgstr "|| Z-X" - - -#: VisuGUI_CutPlanesDlg.cxx - -msgid "VisuGUI_CutPlanesDlg::&Cancel" -msgstr "" - -msgid "VisuGUI_CutPlanesDlg::&OK" -msgstr "" - -msgid "VisuGUI_CutPlanesPane::PARALLEL_XOY" -msgstr "// X-Y" - -msgid "VisuGUI_CutPlanesPane::PARALLEL_YOZ" -msgstr "// Y-Z" - -msgid "VisuGUI_CutPlanesPane::PARALLEL_ZOX" -msgstr "// Z-X" - -msgid "VisuGUI_CutPlanesPane::LBL_POS" -msgstr "Displacement (0...1):" - -msgid "VisuGUI_CutPlanesPane::LBL_SHOW_PREVIEW" -msgstr "Show preview" - -msgid "VisuGUI_CutPlanesPane::LBL_NB_PLANS" -msgstr "Number of planes:" - -msgid "VisuGUI_CutPlanesPane::TXT_ORIENTATION" -msgstr "Orientation" - -msgid "VisuGUI_CutPlanesPane::LBL_ROT_X" -msgstr "Rotation around X (Y to Z):" - -msgid "VisuGUI_CutPlanesPane::LBL_ROT_Y" -msgstr "Rotation around Y (Z to X):" - -msgid "VisuGUI_CutPlanesPane::LBL_ROT_Z" -msgstr "Rotation around Z (X to Y):" - -msgid "VisuGUI_CutPlanesPane::LBL_ROTATION" -msgstr "Rotations" - - -#: VisuGUI_DeformedShapeDlg.cxx - -msgid "VisuGUI_DeformedShapeDlg::&Cancel" -msgstr "" - -msgid "VisuGUI_DeformedShapeDlg::&OK" -msgstr "" - -msgid "VisuGUI_DeformedShapeDlg::DLG_TITLE" -msgstr "Deformed Shape" - -msgid "VisuGUI_DeformedShapeDlg::DEFORMED_SHAPE_TAB" -msgstr "Deformed Shape" - -msgid "VisuGUI_DeformedShapeDlg::SCALAR_BAR_TAB" -msgstr "Scalar Bar" - -msgid "VisuGUI_DeformedShapeDlg::INPUT_TAB" -msgstr "Input" - -msgid "VisuGUI_DeformedShapeDlg::MAGNITUDE_COLORING" -msgstr "Magnitude coloring" - -msgid "VisuGUI_DeformedShapeDlg::SCALE_FACTOR" -msgstr "Scale Factor:" - - -#: VisuGUI_ScalarMapOnDeformedShapeDlg.cxx - -msgid "VisuGUI_ScalarMapOnDeformedShapeDlg::DLG_TITLE" -msgstr "Scalar Map on Deformed Shape" - -msgid "VisuGUI_ScalarMapOnDeformedShapeDlg::&Cancel" -msgstr "" - -msgid "VisuGUI_ScalarMapOnDeformedShapeDlg::&OK" -msgstr "" - -msgid "VisuGUI_ScalarMapOnDeformedShapeDlg::SCALAR_MAP_ON_DEFORMED_SHAPE_TAB" -msgstr "Scalar Map on Deformed Shape" - -msgid "VisuGUI_ScalarMapOnDeformedShapeDlg::SCALAR_BAR_TAB" -msgstr "Scalar Bar" - -msgid "VisuGUI_ScalarMapOnDeformedShapeDlg::INPUT_TAB" -msgstr "Input" - -msgid "VisuGUI_ScalarMapOnDeformedShapeDlg::SCALE_FACTOR" -msgstr "Scale Factor:" - -msgid "VisuGUI_ScalarMapOnDeformedShapeDlg::FIELD_ITEM" -msgstr "Scalar Field:" - -msgid "VisuGUI_ScalarMapOnDeformedShapeDlg::TIMESTAMP_ITEM" -msgstr "Current Time Stamp:" - -#: VisuGUI_EditContainerDlg.cxx - -msgid "VisuGUI_EditContainerDlg::&Cancel" -msgstr "" - -msgid "VisuGUI_EditContainerDlg::&OK" -msgstr "" - -msgid "VisuGUI_EditContainerDlg::LBL_STUDY" -msgstr "Study" - -msgid "VisuGUI_EditContainerDlg::LBL_CONTAINER" -msgstr "Container" - -msgid "VisuGUI_EditContainerDlg::TXT_TABLE" -msgstr "Table" - -msgid "VisuGUI_EditContainerDlg::TXT_CURVE" -msgstr "Curve" - - -#: VisuGUI_FileDlg.cxx - -msgid "VisuGUI_FileDlg::FULL_LOAD" -msgstr "Full loading for current file" - - -#: VisuGUI_IsoSurfacesDlg.cxx - -msgid "VisuGUI_IsoSurfacesDlg::&OK" -msgstr "" - -msgid "VisuGUI_IsoSurfacesDlg::&Cancel" -msgstr "" - -msgid "VisuGUI_IsoSurfPane::MSG_MINMAX_VALUES" -msgstr "Min value can not be higher or equal to Max value" - -msgid "VisuGUI_IsoSurfPane::MAX_VALUE" -msgstr "Maximum value:" - -msgid "VisuGUI_IsoSurfPane::MIN_VALUE" -msgstr "Minimum value:" - -msgid "VisuGUI_IsoSurfPane::NB_SURFACES" -msgstr "Number of surfaces:" - -msgid "VisuGUI_IsoSurfacesDlg::DEFINE_ISOSURFACES" -msgstr "Iso Surfaces Definition" - -msgid "VisuGUI_IsoSurfPane::SHOW_LEVEL_LABELS" -msgstr "Show level labels" - - -#: VisuGUI_NonIsometricDlg.cxx - -msgid "VisuGUI_NonIsometricDlg::O&K" -msgstr "" - -msgid "VisuGUI_NonIsometricDlg::&Apply" -msgstr "" - -msgid "VisuGUI_NonIsometricDlg::&Cancel" -msgstr "" - -msgid "VisuGUI_NonIsometricDlg::&Reset" -msgstr "" - -msgid "VisuGUI_NonIsometricDlg::DLG_TITLE" -msgstr "Scaling" - -msgid "VisuGUI_NonIsometricDlg::LBL_X" -msgstr "X :" - -msgid "VisuGUI_NonIsometricDlg::LBL_Y" -msgstr "Y :" - -msgid "VisuGUI_NonIsometricDlg::LBL_Z" -msgstr "Z :" - - -#: VisuGUI_InputPane.cxx - -msgid "VisuGUI_InputPane::PRS_DATA_SOUIRCE" -msgstr "Data Source" - -msgid "VisuGUI_InputPane::MED_FILE" -msgstr "Source File :" - -msgid "VisuGUI_InputPane::MESH" -msgstr "Mesh :" - -msgid "VisuGUI_InputPane::ENTITY" -msgstr "Entity :" - -msgid "VisuGUI_InputPane::FIELD" -msgstr "Field :" - -msgid "VisuGUI_InputPane::TIME_STAMP" -msgstr "Time Stamp :" - -msgid "VisuGUI_InputPane::REINITIALIZE" -msgstr "Auto Update" - -msgid "PRS_ON_GROUPS" -msgstr "Use Only Groups" - - -#: VisuGUI_ScalarBarDlg.cxx - -msgid "VisuGUI_ScalarBarDlg::&OK" -msgstr "" - -msgid "VisuGUI_ScalarBarDlg::&Cancel" -msgstr "" - -msgid "VisuGUI_ScalarBarDlg::DLG_PREF_TITLE" -msgstr "Scalar Bar Preferences" - -msgid "VisuGUI_ScalarBarDlg::DLG_PROP_TITLE" -msgstr "Scalar Bar Properties" - -msgid "VisuGUI_ScalarBarPane::SCALAR_RANGE_GRP" -msgstr "Scalar range" - -msgid "VisuGUI_ScalarBarPane::LOGARITHMIC_SCALING" -msgstr "Logarithmic scaling" - -msgid "VisuGUI_ScalarBarPane::FIELD_RANGE_BTN" -msgstr "Use field range" - -msgid "VisuGUI_ScalarBarPane::IMPOSED_RANGE_BTN" -msgstr "Use imposed range" - -msgid "VisuGUI_ScalarBarPane::LBL_MIN" -msgstr "Min:" - -msgid "VisuGUI_ScalarBarPane::LBL_MAX" -msgstr "Max:" - -msgid "VisuGUI_ScalarBarPane::COLORS_LABELS_GRP" -msgstr "Colors and labels" - -msgid "VisuGUI_ScalarBarPane::LBL_NB_COLORS" -msgstr "Nb. of colors:" - -msgid "VisuGUI_ScalarBarPane::LBL_NB_LABELS" -msgstr "Nb. of labels:" - -msgid "VisuGUI_ScalarBarPane::ORIENTATION_GRP" -msgstr "Orientation" - -msgid "VisuGUI_ScalarBarPane::VERTICAL_BTN" -msgstr "Vertical" - -msgid "VisuGUI_ScalarBarPane::HORIZONTAL_BTN" -msgstr "Horizontal" - -msgid "VisuGUI_ScalarBarPane::ORIGIN_GRP" -msgstr "Origin" - -msgid "VisuGUI_ScalarBarPane::LBL_X" -msgstr "X:" - -msgid "VisuGUI_ScalarBarPane::LBL_Y" -msgstr "Y:" - -msgid "VisuGUI_ScalarBarPane::LBL_SHOW_PREVIEW" -msgstr "Show preview" - -msgid "VisuGUI_ScalarBarPane::DIMENSIONS_GRP" -msgstr "Dimensions" - -msgid "VisuGUI_ScalarBarPane::LBL_WIDTH" -msgstr "Width:" - -msgid "VisuGUI_ScalarBarPane::LBL_HEIGHT" -msgstr "Height:" - -msgid "VisuGUI_ScalarBarPane::SAVE_DEFAULT_CHK" -msgstr "Save as default values" - -msgid "VisuGUI_ScalarBarPane::MSG_MINMAX_VALUES" -msgstr "Min value can not be higher or equal to Max value" - -msgid "VisuGUI_ScalarBarPane::WRN_LOGARITHMIC_RANGE" -msgstr "Logarithmic scaling: use imposed range values > 0" - -msgid "VisuGUI_ScalarBarPane::WRN_LOGARITHMIC_FIELD_RANGE" -msgstr "Logarithmic scaling: field range contains negative values, use imposed range instead" - -msgid "VisuGUI_TextPrefDlg::&OK" -msgstr "" - -msgid "VisuGUI_TextPrefDlg::&Cancel" -msgstr "" - -msgid "VisuGUI_TextPrefDlg::TIT_TEXT_PREF" -msgstr "Text properties" - -msgid "VisuGUI_TextPrefDlg::LBL_TITLE" -msgstr "Title" - -msgid "VisuGUI_TextPrefDlg::LBL_BOLD" -msgstr "Bold" - -msgid "VisuGUI_TextPrefDlg::LBL_ITALIC" -msgstr "Italic" - -msgid "VisuGUI_TextPrefDlg::LBL_SHADOW" -msgstr "Shadow" - -msgid "VisuGUI_TextPrefDlg::LBL_LABELS" -msgstr "Labels" - -msgid "VisuGUI_BarPrefDlg::&OK" -msgstr "" - -msgid "VisuGUI_BarPrefDlg::&Cancel" -msgstr "" - -msgid "VisuGUI_BarPrefDlg::TIT_BAR_PREF" -msgstr "Bar properties" - -msgid "VisuGUI_BarPrefDlg::LBL_TITLE_W" -msgstr "Title width (%)" - -msgid "VisuGUI_BarPrefDlg::LBL_TITLE_H" -msgstr "Title height (%)" - -msgid "VisuGUI_BarPrefDlg::LBL_LABEL_W" -msgstr "Label width (%)" - -msgid "VisuGUI_BarPrefDlg::LBL_LABEL_H" -msgstr "Label height (%)" - -msgid "VisuGUI_BarPrefDlg::LBL_BAR_W" -msgstr "Bar width (%)" - -msgid "VisuGUI_BarPrefDlg::LBL_BAR_H" -msgstr "Bar height (%)" - -msgid "VisuGUI_BarPrefDlg::LBL_SHOW_UNITS" -msgstr "Display units" - -msgid "VisuGUI_BarPrefDlg::LBL_UNITS_FORMAT" -msgstr "Format:" - -msgid "VisuGUI_BarPrefDlg::MSG_LABEL_FORMAT" -msgstr "Labels format is invalid." - -msgid "VisuGUI_BarPrefDlg::MSG_BIG_SCALE" -msgstr "The common (Title, Label, Bar) width or height should not be greater then 100%." - -msgid "VisuGUI_BarPrefDlg::AUTO" -msgstr "auto" - - -#: VisuGUI_StreamLinesDlg.cxx - -msgid "VisuGUI_StreamLinesDlg::&OK" -msgstr "" - -msgid "VisuGUI_StreamLinesDlg::&Cancel" -msgstr "" - -msgid "VisuGUI_StreamLinesDlg::DLG_TITLE" -msgstr "Stream lines Preferences" - -msgid "VisuGUI_StreamLinesDlg::SOURCE_GRP" -msgstr "Source" - -msgid "VisuGUI_StreamLinesDlg::LBL_SOURCE_TYPE" -msgstr "Source type" - -msgid "VisuGUI_StreamLinesDlg::LBL_USED_POINTS" -msgstr "Used points (0..1)" - -msgid "VisuGUI_StreamLinesDlg::LBL_STEP_LENGTH" -msgstr "Step Length" - -msgid "VisuGUI_StreamLinesDlg::LBL_INTEGRATION_STEP" -msgstr "Integration Step" - -msgid "VisuGUI_StreamLinesDlg::LBL_PROPAGATION_TIME" -msgstr "Propagation Time" - -msgid "VisuGUI_StreamLinesDlg::LBL_DIRECTION" -msgstr "Direction" - -msgid "VisuGUI_StreamLinesDlg::MAGNITUDE_COLORING_CHK" -msgstr "Magnitude coloring" - -msgid "VisuGUI_StreamLinesDlg::USE_COLOR_BTN" -msgstr "Use Color" - - -#: VisuGUI_SweepPrefDlg.cxx - -msgid "VisuGUI_SweepPrefDlg::&OK" -msgstr "" - -msgid "VisuGUI_SweepPrefDlg::&Cancel" -msgstr "" - -msgid "VisuGUI_SweepPrefDlg::DLG_TITLE" -msgstr "Sweeping Preferences" - -msgid "VisuGUI_SweepPrefDlg::LBL_TIME_STEP" -msgstr "Time step (second):" - -msgid "VisuGUI_SweepPrefDlg::LBL_NB_CYCLES" -msgstr "Number of cycles:" - -msgid "VisuGUI_SweepPrefDlg::LBL_NB_STEPS" -msgstr "Number of steps:" - - -#: VisuGUI_TimeAnimation.cxx - -msgid "VisuGUI_TimeAnimationDlg::&OK" -msgstr "" - -msgid "VisuGUI_TimeAnimationDlg::ERROR" -msgstr "Error" - -msgid "VisuGUI_TimeAnimationDlg::MSG_NO_ANIMATIONDATA" -msgstr "There is no data for animation" - -msgid "VisuGUI_TimeAnimationDlg::MSG_NO_AVI_MAKER" -msgstr "Tool jpeg2yuv, necessary for AVI recording, is not available.\nPlease, refer to the documentation." - - -#: VisuGUI_VectorsDlg.cxx - -msgid "VisuGUI_VectorsDlg::&OK" -msgstr "" - -msgid "VisuGUI_VectorsDlg::&Cancel" -msgstr "" - -msgid "VisuGUI_VectorsDlg::DLG_TITLE" -msgstr "Vector Field Representation" - -msgid "VisuGUI_VectorsDlg::LBL_SCALE_FACTOR" -msgstr "Scale factor:" - -msgid "VisuGUI_VectorsDlg::LBL_LINE_WIDTH" -msgstr "Line width:" - -msgid "VisuGUI_VectorsDlg::MAGNITUDE_COLORING_CHK" -msgstr "Magnitude coloring" - -msgid "VisuGUI_VectorsDlg::SEL_COLOR_BTN" -msgstr "Select Color" - -msgid "VisuGUI_VectorsDlg::USE_GLYPHS_CHK" -msgstr "Use glyphs" - -msgid "VisuGUI_VectorsDlg::GLYPH_TYPE_GRP" -msgstr "Glyph type" - -msgid "VisuGUI_VectorsDlg::ARROWS_BTN" -msgstr "Arrows" - -msgid "VisuGUI_VectorsDlg::CONES2_BTN" -msgstr "Cones (2)" - -msgid "VisuGUI_VectorsDlg::CONES6_BTN" -msgstr "Cones (6)" - -msgid "VisuGUI_VectorsDlg::GLYPH_POSITION_GRP" -msgstr "Glyph position" - -msgid "VisuGUI_VectorsDlg::TAIL_BTN" -msgstr "Tail" - -msgid "VisuGUI_VectorsDlg::CENTER_BTN" -msgstr "Center" - -msgid "VisuGUI_VectorsDlg::HEAD_BTN" -msgstr "Head" - - -#: VisuGUI_NameDlg.cxx - -msgid "VisuGUI_NameDlg::TLT_RENAME" -msgstr "Rename" - -msgid "VisuGUI_NameDlg::NAME_LBL" -msgstr "Name: " - -#: VisuGUI_TableDlg.cxx - -msgid "VisuGUI_TableDlg::VIEW_TABLE_TLT" -msgstr "View Table" - -msgid "VisuGUI_TableDlg::EDIT_TABLE_TLT" -msgstr "Edit Table" - -msgid "VisuGUI_TableDlg::TABLE_OF_INTEGER_TLT" -msgstr "Table of integer" - -msgid "VisuGUI_TableDlg::TABLE_OF_REAL_TLT" -msgstr "Table of real" - -msgid "VisuGUI_TableDlg::ERR_TABLE_NOT_AVAILABLE" -msgstr "Table is not available" - -msgid "VisuGUI_TableWidget::UNITS_TLT" -msgstr "Units" - -msgid "VisuGUI_TableWidget::ADD_ROW_BTN" -msgstr "Add Row" - -msgid "VisuGUI_TableWidget::REMOVE_ROW_BTN" -msgstr "Remove Row(s)" - -msgid "VisuGUI_TableWidget::ADD_COLUMN_BTN" -msgstr "Add Column" - -msgid "VisuGUI_TableWidget::REMOVE_COLUMN_BTN" -msgstr "Remove Column(s)" - -msgid "VisuGUI_TableWidget::ADJUST_CELLS_BTN" -msgstr "Adjust Cells" - -msgid "VisuGUI_TableWidget::SELECT_ALL_BTN" -msgstr "Select All" - -msgid "VisuGUI_TableWidget::CLEAR_BTN" -msgstr "Clear" - -msgid "VisuGUI_TableWidget::SET_TITLE_TLT" -msgstr "Set title" - -msgid "VisuGUI_TableWidget::TITLE_LBL" -msgstr "Title:" - -# -------------- Clipping -------------- - -#Title -msgid "VisuGUI_ClippingDlg::TITLE" -msgstr "Change Clipping" - -msgid "VisuGUI_ClippingDlg::GRP_PLANES" -msgstr "Clipping planes" - -msgid "VisuGUI_ClippingDlg::BUT_NEW" -msgstr "New" - -msgid "VisuGUI_ClippingDlg::BUT_DELETE" -msgstr "Delete" - -msgid "VisuGUI_ClippingDlg::GRP_PARAMETERS" -msgstr "Parameters" - -msgid "VisuGUI_ClippingDlg::TAB_NON_STRUCTURED" -msgstr "Non structured" - -msgid "VisuGUI_ClippingDlg::TAB_IJK_STRUCTURED" -msgstr "IJK (Structured)" - -msgid "VisuGUI_ClippingDlg::SHOW_PREVIEW_CHK" -msgstr "Show preview" - -msgid "VisuGUI_ClippingDlg::AUTO_APPLY_CHK" -msgstr "Auto Apply" - -msgid "VisuGUI_ClippingDlg::PARALLEL_XOY_COMBO_ITEM" -msgstr "|| X-Y" - -msgid "VisuGUI_ClippingDlg::PARALLEL_YOZ_COMBO_ITEM" -msgstr "|| Y-Z" - -msgid "VisuGUI_ClippingDlg::PARALLEL_ZOX_COMBO_ITEM" -msgstr "|| Z-X" - -msgid "VisuGUI_ClippingDlg::LBL_ORIENTATION" -msgstr "Orientation" - -msgid "VisuGUI_ClippingDlg::LBL_DISTANCE" -msgstr "Distance" - -msgid "VisuGUI_ClippingDlg::LBL_ROTATION_YZ" -msgstr "Rotation around X (Y to Z):" - -msgid "VisuGUI_ClippingDlg::LBL_ROTATION_ZY" -msgstr "Rotation around X (Z to Y):" - -msgid "VisuGUI_ClippingDlg::LBL_ROTATION_ZX" -msgstr "Rotation around Y (Z to X):" - -msgid "VisuGUI_ClippingDlg::LBL_ROTATION_XZ" -msgstr "Rotation around Y (X to Z):" - -msgid "VisuGUI_ClippingDlg::LBL_ROTATION_XY" -msgstr "Rotation around Z (X to Y):" - -msgid "VisuGUI_ClippingDlg::LBL_ROTATION_YX" -msgstr "Rotation around Z (Y to X):" - -msgid "VisuGUI_ClippingDlg::GRP_IJK_AXIS" -msgstr "Axis" - -msgid "VisuGUI_ClippingDlg::I_RADIO_BTN" -msgstr "I" - -msgid "VisuGUI_ClippingDlg::J_RADIO_BTN" -msgstr "J" - -msgid "VisuGUI_ClippingDlg::K_RADIO_BTN" -msgstr "K" - -msgid "VisuGUI_ClippingDlg::LBL_IJK_INDEX" -msgstr "Index (from 0 to ...)" - -msgid "VisuGUI_ClippingDlg::LBL_IJK_INDEX_TO_arg" -msgstr "Index (from 0 to %1) " - -msgid "VisuGUI_ClippingDlg::REVERSE_NORMAL_CHK" -msgstr "Reverse normal" - -msgid "VisuGUI_ClippingDlg::PLANES_COMBO_ITEM_i" -msgstr "Plane# %1" - -msgid "VisuGUI_ClippingDlg::PLANES_COMBO_ITEM_no" -msgstr "No planes" - -msgid "VisuGUI_ClippingDlg::WRN_EMPTY_RESULTING_PRS" -msgstr "Impossible to use given clipping planes because of VTK restrictions. \n Please, provide non-empty resulting presentation." - -# -------------- Plot 3D -------------- - -msgid "VisuGUI_Plot3DDlg::TITLE" -msgstr "Plot3D Definition" - -msgid "VisuGUI_Plot3DDlg::PLOT3D_TAB_TITLE" -msgstr "Plot 3D" - -msgid "VisuGUI_Plot3DDlg::SCALAR_BAR_TAB_TITLE" -msgstr "Scalar Bar" - -msgid "VisuGUI_Plot3DDlg::INPUT_TAB_TITLE" -msgstr "Input" - -msgid "VisuGUI_Plot3DPane::ORIENTATION" -msgstr "Orientation" - -msgid "VisuGUI_Plot3DPane::ROTATIONS" -msgstr "Rotations" - -msgid "VisuGUI_Plot3DPane::ROTATION_X" -msgstr "Rotation around X (Y to Z):" - -msgid "VisuGUI_Plot3DPane::ROTATION_Y" -msgstr "Rotation around Y (Z to X):" - -msgid "VisuGUI_Plot3DPane::ROTATION_Z" -msgstr "Rotation around Z (X to Y):" - -msgid "VisuGUI_Plot3DPane::POSITION" -msgstr "Position" - -msgid "VisuGUI_Plot3DPane::POSITION_VALUE" -msgstr "Value: " - -msgid "VisuGUI_Plot3DPane::RELATIVE" -msgstr "Relative" - -msgid "VisuGUI_Plot3DPane::SCALE" -msgstr "Scale Factor:" - -msgid "VisuGUI_Plot3DPane::PRESENTATION_TYPE" -msgstr "Presentation type" - -msgid "VisuGUI_Plot3DPane::SURFACE" -msgstr "Surface" - -msgid "VisuGUI_Plot3DPane::CONTOUR" -msgstr "Contour" - -msgid "VisuGUI_Plot3DPane::NUMBER_CONTOURS" -msgstr "Number of contours:" - -msgid "VisuGUI_Plot3DPane::PREVIEW" -msgstr "Preview cutting plane" - -# -------------------------------------- - -msgid "TIT_OFFSETDLG" -msgstr "Translate Presentation" - -msgid "BTN_RESET" -msgstr "Reset" - -# -------------------------------------- - -msgid "VisuGUI_CubeAxesDlg::CAPTION" -msgstr "Graduated axes" - -msgid "VisuGUI_AxisWg::AXIS_NAME" -msgstr "Axis name" - -msgid "VisuGUI_AxisWg::IS_VISIBLE" -msgstr "Is visible" - -msgid "VisuGUI_CubeAxesDlg::X_AXIS" -msgstr "X axis" - -msgid "VisuGUI_CubeAxesDlg::Y_AXIS" -msgstr "Y axis" - -msgid "VisuGUI_CubeAxesDlg::Z_AXIS" -msgstr "Z axis" - -msgid "VisuGUI_AxisWg::NAME" -msgstr "Name" - -msgid "VisuGUI_AxisWg::FONT" -msgstr "Font" - -msgid "VisuGUI_AxisWg::LABELS" -msgstr "Labels" - -msgid "VisuGUI_AxisWg::NUMBER" -msgstr "Number" - -msgid "VisuGUI_AxisWg::OFFSET" -msgstr "Offset" - -msgid "VisuGUI_AxisWg::TICK_MARKS" -msgstr "Tick marks" - -msgid "VisuGUI_AxisWg::LENGTH" -msgstr "Length" - -msgid "VisuGUI_FontWg::ARIAL" -msgstr "Arial" - -msgid "VisuGUI_FontWg::COURIER" -msgstr "Courier" - -msgid "VisuGUI_FontWg::TIMES" -msgstr "Times" - -msgid "VisuGUI_FontWg::BOLD" -msgstr "Bold" - -msgid "VisuGUI_FontWg::ITALIC" -msgstr "Italic" - -msgid "VisuGUI_FontWg::SHADOW" -msgstr "Shadow" - -msgid "VisuGUI_CubeAxesDlg::IS_VISIBLE" -msgstr "Is visible" - - -#: VisuGUI_SetupPlot2dDlg.cxx:71 -msgid "ATTRIBUTES_LBL" -msgstr "Attributes" - -#: VisuGUI_SetupPlot2dDlg.cxx:68 -msgid "AXIS_LBL" -msgstr "Axis" - -msgid "ASSIGNED" -msgstr "Assigned" - -#: VisuGUI_SetupPlot2dDlg.cxx:69 -msgid "DATA_LBL" -msgstr "Data" - -#: VisuGUI_SetupPlot2dDlg.cxx:49 -msgid "TLT_SETUP_PLOT2D" -msgstr "Setup Plot 2d" - -#: VisuGUI_SetupPlot2dDlg.cxx:70 -msgid "UNITS_LBL" -msgstr "Units" - -#: VisuGUI_SetupPlot2dDlg.cxx:445 -msgid "VisuGUI_ItemContainer::H" -msgstr " H " - -#: VisuGUI_SetupPlot2dDlg.cxx:450 -msgid "VisuGUI_ItemContainer::V" -msgstr " V " - -#: VisuGUI_SetupPlot2dDlg.cxx:458 -msgid "VisuGUI_ItemContainer::AUTO_CHECK_LBL" -msgstr "Auto assign" - -#: VisuGUI_SetupPlot2dDlg.cxx:475 -msgid "VisuGUI_ItemContainer::CIRCLE_MARKER_LBL" -msgstr "Circle" - -#: VisuGUI_SetupPlot2dDlg.cxx:482 -msgid "VisuGUI_ItemContainer::CROSS_MARKER_LBL" -msgstr "Cross" - -#: VisuGUI_SetupPlot2dDlg.cxx:467 -msgid "VisuGUI_ItemContainer::DAHSDOTDOT_LINE_LBL" -msgstr "DashDotDot" - -#: VisuGUI_SetupPlot2dDlg.cxx:466 -msgid "VisuGUI_ItemContainer::DASHDOT_LINE_LBL" -msgstr "DashDot" - -#: VisuGUI_SetupPlot2dDlg.cxx:464 -msgid "VisuGUI_ItemContainer::DASH_LINE_LBL" -msgstr "Dash" - -#: VisuGUI_SetupPlot2dDlg.cxx:477 -msgid "VisuGUI_ItemContainer::DIAMOND_MARKER_LBL" -msgstr "Diamond" - -#: VisuGUI_SetupPlot2dDlg.cxx:465 -msgid "VisuGUI_ItemContainer::DOT_LINE_LBL" -msgstr "Dot" - -#: VisuGUI_SetupPlot2dDlg.cxx:478 -msgid "VisuGUI_ItemContainer::DTRIANGLE_MARKER_LBL" -msgstr "Downward triangle" - -#: VisuGUI_SetupPlot2dDlg.cxx:480 -msgid "VisuGUI_ItemContainer::LTRIANGLE_MARKER_LBL" -msgstr "Leftward triangle" - -#: VisuGUI_SetupPlot2dDlg.cxx:462 -msgid "VisuGUI_ItemContainer::NONE_LINE_LBL" -msgstr "None" - -#: VisuGUI_SetupPlot2dDlg.cxx:474 -msgid "VisuGUI_ItemContainer::NONE_MARKER_LBL" -msgstr "None" - -#: VisuGUI_SetupPlot2dDlg.cxx:476 -msgid "VisuGUI_ItemContainer::RECTANGLE_MARKER_LBL" -msgstr "Rectangle" - -#: VisuGUI_SetupPlot2dDlg.cxx:481 -msgid "VisuGUI_ItemContainer::RTRIANGLE_MARKER_LBL" -msgstr "Rightward triangle" - -#: VisuGUI_SetupPlot2dDlg.cxx:463 -msgid "VisuGUI_ItemContainer::SOLID_LINE_LBL" -msgstr "Solid" - -#: VisuGUI_SetupPlot2dDlg.cxx:479 -msgid "VisuGUI_ItemContainer::UTRIANGLE_MARKER_LBL" -msgstr "Upward triangle" - -#: VisuGUI_SetupPlot2dDlg.cxx:483 -msgid "VisuGUI_ItemContainer::XCROSS_MARKER_LBL" -msgstr "Diagonal cross" - -#: VisuGUI_SetupPlot2dDlg.cxx:404 -msgid "VisuGUI_SetupPlot2dDlg::BUT_NO" -msgstr "No" - -#: VisuGUI_SetupPlot2dDlg.cxx:403 -msgid "VisuGUI_SetupPlot2dDlg::BUT_YES" -msgstr "Yes" - -#: VisuGUI_SetupPlot2dDlg.cxx:402 -msgid "VisuGUI_SetupPlot2dDlg::QUE_WANT_SAME_UNITS" -msgstr "Do you want to choose all items with the same units for vertical axis?" - -msgid "INF_VISU" -msgstr "Post-Pro Info" - -msgid "IMPORT_DONE" -msgstr "Importing is done" - -msgid "VisuGUI_Module::MEN_VISUALISATION" -msgstr "Visualization" - -msgid "VisuGUI_Module::TOOL_IMPORT" -msgstr "Import Toolbar" - -msgid "VisuGUI_Module::TOOL_VISUALISATION" -msgstr "Visualization Toolbar" - -msgid "VisuGUI_Module::MEN_SAVE_CONFIGURATION" -msgstr "Store current configuration" - -msgid "VisuGUI_Module::MEN_OVERWRITE_CONFIGURATION" -msgstr "Overwrite current configuration" - -msgid "VisuGUI_Module::MEN_RESTORE_CONFIGURATION" -msgstr "Restore current configuration" - -msgid "VisuGUI_Module::MEN_GAUSS" -msgstr "Gauss" - -msgid "VisuGUI_Module::MEN_GAUSS_NEW_VIEWER" -msgstr "Points view" - -msgid "VisuGUI_Module::MEN_GAUSS_CREATE_PRS" -msgstr "Gauss Points" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_TAB_TTL" -msgstr "Gauss Points" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_PRIMITIVE_GROUP_TTL" -msgstr "Primitive" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_PRIMITIVE_TYPE" -msgstr "Primitive Type" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_POINTSPRITE" -msgstr "Point sprite" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_OPENGLPOINT" -msgstr "OpenGL point" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_GEOMSPHERE" -msgstr "Geometrical sphere" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_CLAMP" -msgstr "Maximum Size (Clamp)" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_MAIN_TEXTURE" -msgstr "Main Texture (16x16)" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_ALPHA_TEXTURE" -msgstr "Alpha Channel Texture (16x16)" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_ALPHA_THRESHOLD" -msgstr "Alpha Channel Threshold" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_RESOLUTION" -msgstr "Geometrical sphere resolution" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_FACE_LIMIT" -msgstr "Notify when number of faces exceeds" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_SIZE_GROUP_TTL" -msgstr "Size" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_MIN_SIZE" -msgstr "Range value for min size (%)" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_MAX_SIZE" -msgstr "Range value for max size (%)" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_MAGNIFICATION" -msgstr "Magnification (%)" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_INCREMENT" -msgstr "+/- Ratio" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_GEOM_GROUP_TTL" -msgstr "Geometry" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_SIZE" -msgstr "Size of points (%)" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_COLOR" -msgstr "Color" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_DEFORMED_SHAPE_GROUP_TTL" -msgstr "Deformed Shape" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_SCALE_FACTOR" -msgstr "Scale factor" - -msgid "VisuGUI_Module::VISU_GAUSS_SCALAR_BAR_PREF_TAB_TTL" -msgstr "Gauss Points Scalar Bar" - -msgid "VisuGUI_Module::VISU_GAUSS_SCALAR_BAR_PREF_GROUP_TTL" -msgstr "Gauss Points Scalar Bar" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_ACTIVE_BAR" -msgstr "Active bar" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_LOCAL" -msgstr "Local" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_GLOBAL" -msgstr "Global" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_DISPLAY_GLOBAL" -msgstr "Display global bar" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_SCALAR_BAR_MODE" -msgstr "Scalar bar mode" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_BICOLOR" -msgstr "Bicolor" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_RAINBOW" -msgstr "Rainbow" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_SPACING" -msgstr "Spacing" - -msgid "VisuGUI_Module::VISU_GAUSS_INSIDE_CURSOR_PREF_TAB_TTL" -msgstr "Inside Cursor" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_MAGNIFICATION_GROUP_TTL" -msgstr "Magnification (Inside and Outside)" - -msgid "VisuGUI_Module::VISU_GAUSS_OUTSIDE_CURSOR_PREF_TAB_TTL" -msgstr "Outside Cursor" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_UNIFORM_COLOR" -msgstr "Uniform Color" - -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_CURSOR_SIZE" -msgstr "Size of the cursor" - -msgid "VisuGUI_Module::VISU_PICKING_PREF_PYRAMID_HEIGHT" -msgstr "Height of the pyramids" - -msgid "VisuGUI_Module::VISU_PICKING_PREF_SELECTION_COLOR" -msgstr "Selection cursor color" - -msgid "VisuGUI_Module::VISU_PICKING_PREF_TOLERANCE_GROUP_TTL" -msgstr "Tolerance" - -msgid "VisuGUI_Module::VISU_PICKING_PREF_POINT_SELECTION_TOLERANCE" -msgstr "Point selection tolerance" - -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_PICKING_PREF_POSITION" -msgstr "Position" - -msgid "VisuGUI_Module::VISU_PICKING_PREF_BELOW_POINT" -msgstr "Centered below the point" - -msgid "VisuGUI_Module::VISU_PICKING_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_PICKING_PREF_PARENT_MESH_TTL" -msgstr "Parent mesh element" - -msgid "VisuGUI_Module::VISU_PICKING_PREF_DISPLAY_PARENT_MESH" -msgstr "Display parent mesh element" - -msgid "VisuGUI_Module::VISU_MOUSE_PREF_TAB_TLT" -msgstr "Navigation" - -msgid "VisuGUI_Module::VISU_MOUSE_PREF_GROUP_TLT" -msgstr "Mouse" - -msgid "VisuGUI_Module::VISU_MOUSE_PREF" -msgstr "Mouse behaviour" - -msgid "VisuGUI_Module::VISU_MOUSE_PREF_STANDARD" -msgstr "Salome standard controls" - -msgid "VisuGUI_Module::VISU_MOUSE_PREF_KEYBOARD_FREE" -msgstr "Keyboard free" - -msgid "VisuGUI_Module::VISU_KEYBOARD_PREF_GROUP_TTL" -msgstr "Keyboard" - -msgid "VisuGUI_Module::VISU_KEYBOARD_PREF" -msgstr "[+]/[-] Speed increment" - -msgid "VisuGUI_Module::VISU_SPACEMOUSE_PREF" -msgstr "Spacemouse" - -msgid "VisuGUI_Module::VISU_SPACEMOUSE_PREF_1" -msgstr "Decrease speed increment" - -msgid "VisuGUI_Module::VISU_SPACEMOUSE_PREF_2" -msgstr "Increase speed increment" - -msgid "VisuGUI_Module::VISU_SPACEMOUSE_PREF_3" -msgstr "Decrease Gauss points magnification" - -msgid "VisuGUI_Module::VISU_SPACEMOUSE_PREF_4" -msgstr "Increase Gauss points magnification" - -msgid "VisuGUI_Module::VISU_SPACEMOUSE_PREF_5" -msgstr "Dominant / combined switch" - -msgid "VisuGUI_Module::VISU_SPACEMOUSE_PREF_BTN_1" -msgstr "Button 1" - -msgid "VisuGUI_Module::VISU_SPACEMOUSE_PREF_BTN_2" -msgstr "Button 2" - -msgid "VisuGUI_Module::VISU_SPACEMOUSE_PREF_BTN_3" -msgstr "Button 3" - -msgid "VisuGUI_Module::VISU_SPACEMOUSE_PREF_BTN_4" -msgstr "Button 4" - -msgid "VisuGUI_Module::VISU_SPACEMOUSE_PREF_BTN_5" -msgstr "Button 5" - -msgid "VisuGUI_Module::VISU_SPACEMOUSE_PREF_BTN_6" -msgstr "Button 6" - -msgid "VisuGUI_Module::VISU_SPACEMOUSE_PREF_BTN_7" -msgstr "Button 7" - -msgid "VisuGUI_Module::VISU_SPACEMOUSE_PREF_BTN_8" -msgstr "Button 8" - -msgid "VisuGUI_Module::VISU_SPACEMOUSE_PREF_BTN_10" -msgstr "Button 10" - -msgid "VisuGUI_Module::VISU_SPACEMOUSE_PREF_BTN_11" -msgstr "Button 11" - -msgid "VisuGUI_Module::VISU_SPACEMOUSE_PREF_BTN_*" -msgstr "Button *" - -msgid "VisuGUI_Module::VISU_CAMERA_PREF_GROUP_TTL" -msgstr "Camera movements" - -msgid "VisuGUI_Module::VISU_CAMERA_MOVE_PREF" -msgstr "Number of steps between two positions" - -msgid "VisuGUI_Module::VISU_RECORDER_PREF_TAB_TTL" -msgstr "Recorder" - -msgid "VisuGUI_Module::VISU_RECORDER_PREF_GROUP_TTL" -msgstr "Settings" - -msgid "VisuGUI_Module::VISU_RECORDER_PREF_RECORDING_MODE" -msgstr "Mode" - -msgid "VisuGUI_Module::VISU_RECORDER_PREF_SKIPPED_FRAMES" -msgstr "Recording at a given FPS" - -msgid "VisuGUI_Module::VISU_RECORDER_PREF_ALL_DISLPAYED_FRAMES" -msgstr "Recording all displayed frames" - -msgid "VisuGUI_Module::VISU_RECORDER_PREF_FPS" -msgstr "FPS" - -msgid "VisuGUI_Module::VISU_RECORDER_PREF_QUALITY" -msgstr "Quality" - -msgid "VisuGUI_Module::VISU_RECORDER_PREF_PROGRESSIVE" -msgstr "Progressive" - -msgid "VisuGUI_Slider::TOOLBAR_TITLE" -msgstr "Slider" - -msgid "VisuGUI_Slider::MORE" -msgstr "More..." - -msgid "VisuGUI_Slider::CACHE_MEMORY" -msgstr "Cache:" - -msgid "VisuGUI_Slider::FREE_MEMORY" -msgstr "Free:" - -msgid "VisuGUI_Slider::SPEED" -msgstr "Speed:" - -msgid "VisuGUI_Slider::AVI" -msgstr "AVI" - -msgid "VisuGUI_GaussPointsDlg::DLG_PREF_TITLE" -msgstr "Gauss Points Preferences" - -msgid "VisuGUI_GaussPointsDlg::DLG_PROP_TITLE" -msgstr "Gauss Points Properties" - -msgid "VisuGUI_BuildProgressDlg::DLG_BUILD_PROGRESS_TITLE" -msgstr "Build progress" - -msgid "VisuGUI_BuildProgressDlg::IMPORT_SETTINGS" -msgstr "Settings" - -msgid "VisuGUI_BuildProgressDlg::FILE_NAME" -msgstr "Import file : " - -msgid "VisuGUI_BuildProgressDlg::BUILD_AT_ONCE" -msgstr "Build at once" - -msgid "VisuGUI_BuildProgressDlg::BUILD_ALL" -msgstr "Build all" - -msgid "VisuGUI_BuildProgressDlg::IMPORT_PROGRESS" -msgstr "Import progress" - -msgid "VisuGUI_BuildProgressDlg::BUILD_ENTITIES" -msgstr "Build entities" - -msgid "VisuGUI_BuildProgressDlg::BUILD_FIELDS" -msgstr "Build fields" - -msgid "VisuGUI_BuildProgressDlg::BUILD_GROUPS" -msgstr "Build groups" - -msgid "VisuGUI_BuildProgressDlg::BUILD_MINMAX" -msgstr "Build min/max" - -msgid "VisuGUI_BuildProgressDlg::IMPORT_TIME" -msgstr "Time" - -msgid "VisuGUI_BuildProgressDlg::TIME" -msgstr "Elapsed time : " - -msgid "VisuGUI_BuildProgressDlg::IMPORT_FROM_FILE" -msgstr "Import from File" - -msgid "VisuGUI_BuildProgressDlg::FLT_ALL_FILES" -msgstr "All Files (*.*)" - -msgid "VisuGUI_BuildProgressDlg::FLT_MED_FILES" -msgstr "MED Files (*.med)" - -msgid "VisuGUI_BuildProgressDlg::CLOSE_AT_FINISH" -msgstr "Close dialog at finish" - -msgid "VisuGUI_BuildProgressDlg::START" -msgstr "Start" - -msgid "VisuGUI_BuildProgressDlg::CLOSE" -msgstr "Close" - -msgid "VisuGUI_BuildProgressDlg::HELP" -msgstr "Help" - -msgid "VisuGUI_BuildProgressDlg::ERR_ERROR_IN_THE_FILE" -msgstr "Error in the file" - -msgid "VVTK_RecorderDlg::DLG_RECORDER_TITLE" -msgstr "Recorder" - -msgid "VVTK_RecorderDlg::SETTINGS" -msgstr "Settings" - -msgid "VVTK_RecorderDlg::FILE_NAME" -msgstr "Save to file : " - -msgid "VVTK_RecorderDlg::FLT_ALL_FILES" -msgstr "All Files (*.*)" - -msgid "VVTK_RecorderDlg::FLT_AVI_FILES" -msgstr "AVI Files (*.avi)" - -msgid "VVTK_RecorderDlg::RECORDING_MODE" -msgstr "Mode : " - -msgid "VVTK_RecorderDlg::SKIPPED_FRAMES" -msgstr "Recording at a given FPS" - -msgid "VVTK_RecorderDlg::ALL_DISLPAYED_FRAMES" -msgstr "Recording all displayed frames" - -msgid "VVTK_RecorderDlg::FPS" -msgstr "FPS : " - -msgid "VVTK_RecorderDlg::QUALITY" -msgstr "Quality : " - -msgid "VVTK_RecorderDlg::PROGRESSIVE" -msgstr "Progressive" - -msgid "VVTK_RecorderDlg::START" -msgstr "Start" - -msgid "VVTK_RecorderDlg::CLOSE" -msgstr "Close" - -msgid "VisuGUI_TransparencyDlg::TRANSPARENCY_TITLE" -msgstr "Change Transparency" - -msgid "VisuGUI_TransparencyDlg::TRANSPARENCY_TRANSPARENT" -msgstr "Transparent" - -msgid "VisuGUI_TransparencyDlg::TRANSPARENCY_OPAQUE" -msgstr "Opaque" - -msgid "VisuGUI_TransparencyDlg::BUT_CLOSE" -msgstr "Close" - -msgid "VisuGUI_CacheDlg::CACHE_TITLE" -msgstr "Cache properties" - -msgid "VisuGUI_CacheDlg::MEMORY_MODE" -msgstr "Memory mode" - -msgid "VisuGUI_CacheDlg::MINIMAL_MEMORY" -msgstr "Minimal memory" - -msgid "VisuGUI_CacheDlg::LIMITED_MEMORY" -msgstr "Limited memory" - -msgid "VisuGUI_CacheDlg::MEMORY STATE" -msgstr "Memory state" - -msgid "VisuGUI_CacheDlg::USED_BY_CACHE" -msgstr "Used by cache" - -msgid "VisuGUI_CacheDlg::FREE" -msgstr "Free" - -msgid "VVTK_ViewManager::VTK_VIEW_TITLE" -msgstr "Gauss scene:%1 - viewer:%2" - -msgid "VVTK_MainWindow::LBL_TOOLBAR_RECORD_LABEL" -msgstr "Recording Operations" - -msgid "VVTK_MainWindow::MNU_VVTK_RECORDING_START" -msgstr "Start recording" - -msgid "VVTK_MainWindow::DSC_VVTK_RECORDING_START" -msgstr "Start recording" - -msgid "VVTK_MainWindow::MNU_VVTK_RECORDING_PLAY" -msgstr "Play recording" - -msgid "VVTK_MainWindow::DSC_VVTK_RECORDING_PLAY" -msgstr "Play recording" - -msgid "VVTK_MainWindow::MNU_VVTK_RECORDING_PAUSE" -msgstr "Pause recording" - -msgid "VVTK_MainWindow::DSC_VVTK_RECORDING_PAUSE" -msgstr "Pause recording" - -msgid "VVTK_MainWindow::MNU_VVTK_RECORDING_STOP" -msgstr "Stop recording" - -msgid "VVTK_MainWindow::DSC_VVTK_RECORDING_STOP" -msgstr "Stop recording" - -msgid "VVTK_MainWindow::MSG_NO_AVI_MAKER" -msgstr "Tool jpeg2yuv, necessary for AVI recording, is not available.\nPlease, refer to the documentation." - -msgid "VVTK_MainWindow1::LBL_TOOLBAR_GAUSS_LABEL" -msgstr "Gauss Viewer Tools" - -msgid "VVTK_MainWindow1::MNU_VVTK_INTERACTOR_STYLE_SWITCH" -msgstr "Interaction Style Switch" - -msgid "VVTK_MainWindow1::DSC_VVTK_INTERACTOR_STYLE_SWITCH" -msgstr "Interaction Style Switch" - -msgid "VVTK_MainWindow1::MNU_VVTK_SELECTION_MODE_SWITCH" -msgstr "Selection Mode Switch" - -msgid "VVTK_MainWindow1::DSC_VVTK_SELECTION_MODE_SWITCH" -msgstr "Selection Mode Switch" - -msgid "VVTK_MainWindow1::MNU_VVTK_PLANE_SEGMENTATION_SWITCH" -msgstr "Plane Segmentation" - -msgid "VVTK_MainWindow1::DSC_VVTK_PLANE_SEGMENTATION_SWITCH" -msgstr "Plane Segmentation" - -msgid "VVTK_MainWindow1::MNU_VVTK_SPHERE_SEGMENTATION_SWITCH" -msgstr "Sphere Segmentation" - -msgid "VVTK_MainWindow1::DSC_VVTK_SPHERE_SEGMENTATION_SWITCH" -msgstr "Sphere Segmentation" - -msgid "VVTK_PrimitiveBox::PRIMITIVE_TITLE" -msgstr "Primitive" - -msgid "VVTK_PrimitiveBox::POINT_SPRITE" -msgstr "Point Sprite" - -msgid "VVTK_PrimitiveBox::OPENGL_POINT" -msgstr "OpenGL Point" - -msgid "VVTK_PrimitiveBox::GEOMETRICAL_SPHERE" -msgstr "Geometrical Sphere" - -msgid "VVTK_PrimitiveBox::CLAMP" -msgstr "Maximum Size (Clamp) : " - -msgid "VVTK_PrimitiveBox::MAIN_TEXTURE" -msgstr "Main Texture (16x16) : " - -msgid "VVTK_PrimitiveBox::ALPHA_TEXTURE" -msgstr "Alpha Channel Texture (16x16) : " - -msgid "VVTK_PrimitiveBox::ALPHA_THRESHOLD" -msgstr "Alpha Channel Threshold : " - -msgid "VVTK_PrimitiveBox::RESOLUTION" -msgstr "Resolution : " - -msgid "VVTK_PrimitiveBox::FACE_NUMBER" -msgstr "Number of faces : " - -msgid "VVTK_PrimitiveBox::FACE_LIMIT" -msgstr "Notify when number of faces exceeds : " - -msgid "VVTK_SizeBox::SIZE_TITLE" -msgstr "Size" - -msgid "VVTK_SizeBox::OUTSIDE_SIZE" -msgstr "Percentage of normal size(%) : " - -msgid "VVTK_SizeBox::GEOM_SIZE" -msgstr "Size of points (%) : " - -msgid "VVTK_SizeBox::MIN_SIZE" -msgstr "Range values for min size (%) : " - -msgid "VVTK_SizeBox::MAX_SIZE" -msgstr "max size (%) : " - -msgid "VVTK_SizeBox::MAGNIFICATION" -msgstr "Magnification (%) : " - -msgid "VVTK_SizeBox::INCREMENT" -msgstr "+/- Ratio : " - -msgid "VVTK_SizeBox::COLOR_TITLE" -msgstr "Color" - -msgid "VVTK_SizeBox::UNIFORM_COLOR" -msgstr "Uniform Color" - -msgid "VVTK_SizeBox::COLOR" -msgstr "Color : " - -msgid "VisuGUI_GaussPointsDlg::&Cancel" -msgstr "" - -msgid "VisuGUI_GaussPointsDlg::&OK" -msgstr "" - -msgid "VisuGUI_GaussPointsDlg::WARNING" -msgstr "Warning" - -msgid "VisuGUI_GaussPointsDlg::DLG_TITLE" -msgstr "Gauss Points" - -msgid "VisuGUI_GaussPointsDlg::GAUSS_POINTS_TAB" -msgstr "Gauss Points" - -msgid "VisuGUI_GaussPointsDlg::SCALAR_BAR_TAB" -msgstr "Scalar Bar" - -msgid "VisuGUI_GaussPointsDlg::INPUT_TAB" -msgstr "Input" - -msgid "VisuGUI_GaussPointsDlg::PRS_TITLE" -msgstr "Presentation" - -msgid "VisuGUI_GaussPointsDlg::RESULTS" -msgstr "Results" - -msgid "VisuGUI_GaussPointsDlg::GEOMETRY" -msgstr "Geometry" - -msgid "VisuGUI_GaussPointsDlg::DEFORMED_SHAPE" -msgstr "Deformed Shape" - -msgid "VisuGUI_GaussPointsDlg::DEFORMED_SHAPE_TITLE" -msgstr "Deformed Shape" - -msgid "VisuGUI_GaussPointsDlg::SCALE_FACTOR" -msgstr "Scale Factor :" - -msgid "VisuGUI_GaussScalarBarPane::ACTIVE_BAR_GRP" -msgstr "Active bar" - -msgid "VisuGUI_GaussScalarBarPane::LOCAL" -msgstr "Local" - -msgid "VisuGUI_GaussScalarBarPane::GLOBAL" -msgstr "Global" - -msgid "VisuGUI_GaussScalarBarPane::DISPLAYED" -msgstr "Displayed" - -msgid "VisuGUI_GaussScalarBarPane::SCALAR_RANGE_GRP" -msgstr "Scalar range" - -msgid "VisuGUI_GaussScalarBarPane::LOGARITHMIC_SCALING" -msgstr "Logarithmic scaling" - -msgid "VisuGUI_GaussScalarBarPane::FIELD_RANGE_BTN" -msgstr "Use field range" - -msgid "VisuGUI_GaussScalarBarPane::IMPOSED_RANGE_BTN" -msgstr "Use imposed range" - -msgid "VisuGUI_GaussScalarBarPane::LBL_MIN" -msgstr "Min:" - -msgid "VisuGUI_GaussScalarBarPane::LBL_MAX" -msgstr "Max:" - -msgid "VisuGUI_GaussScalarBarPane::COLORS_LABELS_GRP" -msgstr "Colors and labels" - -msgid "VisuGUI_GaussScalarBarPane::BICOLOR" -msgstr "Bicolor" - -msgid "VisuGUI_GaussScalarBarPane::RAINBOW" -msgstr "Rainbow" - -msgid "VisuGUI_GaussScalarBarPane::LBL_NB_COLORS" -msgstr "Nb. of colors:" - -msgid "VisuGUI_GaussScalarBarPane::LBL_NB_LABELS" -msgstr "Nb. of labels:" - -msgid "VisuGUI_GaussScalarBarPane::ORIENTATION_GRP" -msgstr "Orientation" - -msgid "VisuGUI_GaussScalarBarPane::VERTICAL_BTN" -msgstr "Vertical" - -msgid "VisuGUI_GaussScalarBarPane::HORIZONTAL_BTN" -msgstr "Horizontal" - -msgid "VisuGUI_GaussScalarBarPane::ORIGIN_GRP" -msgstr "Origin" - -msgid "VisuGUI_GaussScalarBarPane::LBL_X" -msgstr "X:" - -msgid "VisuGUI_GaussScalarBarPane::LBL_Y" -msgstr "Y:" - -msgid "VisuGUI_GaussScalarBarPane::DIMENSIONS_GRP" -msgstr "Dimensions" - -msgid "VisuGUI_GaussScalarBarPane::LBL_WIDTH" -msgstr "Width:" - -msgid "VisuGUI_GaussScalarBarPane::LBL_HEIGHT" -msgstr "Height:" - -msgid "VisuGUI_GaussScalarBarPane::LBL_SPACING" -msgstr "Spacing:" - -msgid "VisuGUI_GaussScalarBarPane::SAVE_DEFAULT_CHK" -msgstr "Save as default values" - -msgid "VVTK_ViewWindow::LBL_TOOLBAR_LABEL" -msgstr "GAUSS viewer tools" - -msgid "VVTK_SegmentationCursorDlg::SEGMENTATION_CURSOR_DLG_TITLE" -msgstr "Segmentation Cursor" - -msgid "VVTK_SegmentationCursorDlg::ORIGIN_TITLE" -msgstr "Origin" - -msgid "VVTK_SegmentationCursorDlg::ORIGIN_X" -msgstr "X: " - -msgid "VVTK_SegmentationCursorDlg::ORIGIN_Y" -msgstr "Y: " - -msgid "VVTK_SegmentationCursorDlg::ORIGIN_Z" -msgstr "Z: " - -msgid "VVTK_SegmentationCursorDlg::DIRECTION_TITLE" -msgstr "Direction" - -msgid "VVTK_SegmentationCursorDlg::DIRECTION_DX" -msgstr "DX: " - -msgid "VVTK_SegmentationCursorDlg::DIRECTION_DY" -msgstr "DY: " - -msgid "VVTK_SegmentationCursorDlg::DIRECTION_DZ" -msgstr "DZ: " - -msgid "VVTK_SegmentationCursorDlg::DEPTH_TITLE" -msgstr "Depth" - -msgid "VVTK_SegmentationCursorDlg::DEPTH" -msgstr "Depth of the cursor: " - -msgid "VVTK_SegmentationCursorDlg::RADIUS_TITLE" -msgstr "Radius" - -msgid "VVTK_SegmentationCursorDlg::RADIUS" -msgstr "Radius of the cursor :" - -msgid "VVTK_SegmentationCursorDlg::RATIO" -msgstr "+/- Ratio :" - -msgid "VVTK_SegmentationCursorDlg::SEGMENTATION_CURSOR_TAB" -msgstr "Segmentation Cursor" - -msgid "VVTK_SegmentationCursorDlg::GAUSS_POINTS_TAB" -msgstr "Gauss Points" - -msgid "VVTK_SegmentationCursorDlg::INSIDE_GAUSS_POINTS" -msgstr "Inside Cursor Gauss Points Presentation" - -msgid "VVTK_SegmentationCursorDlg::OUTSIDE_GAUSS_POINTS" -msgstr "Outside Cursor Gauss Points Presentation" - -msgid "VVTK_SegmentationCursorDlg::MAGNIFICATION_TITLE" -msgstr "Magnification" - -msgid "VVTK_SegmentationCursorDlg::MAGNIFICATION" -msgstr "Magnification (%) : " - -msgid "VVTK_SegmentationCursorDlg::INCREMENT" -msgstr "+/- Ratio : " - -msgid "VVTK_PickingDlg::PICKING_DLG_TITLE" -msgstr "Picking" - -msgid "VVTK_PickingDlg::CURSOR_TITLE" -msgstr "Cursor" - -msgid "VVTK_PickingDlg::CURSOR_SIZE" -msgstr "Size of the cursor :" - -msgid "VVTK_PickingDlg::PYRAMID_HEIGHT" -msgstr "Height of the pyramids :" - -msgid "VVTK_PickingDlg::SELECTION_COLOR" -msgstr "Selection cursor color :" - -msgid "VVTK_PickingDlg::TOLERANCE_TITLE" -msgstr "Tolerance" - -msgid "VVTK_PickingDlg::POINT_TOLERANCE" -msgstr "Point tolerance :" - -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 :" - -msgid "VVTK_PickingDlg::PARENT_MESH_TITLE" -msgstr "Parent mesh element" - -msgid "VVTK_PickingDlg::DISPLAY_PARENT_MESH" -msgstr "Display parent mesh element" - -msgid "VisuGUI_Module::TOT_DESK_FILE_SAVE_GUI_STATE" -msgstr "Save VISU state" - -msgid "VisuGUI_Module::MEN_DESK_FILE_SAVE_GUI_STATE" -msgstr "Save VISU state" - -msgid "VisuGUI_Module::PRP_DESK_FILE_SAVE_GUI_STATE" -msgstr "Saves current state of viewers, displayed objects, etc." - -msgid "VISU_MESH" -msgstr "Mesh" - -msgid "VISU_SCALAR_MAP" -msgstr "Scalar Map" - -msgid "VISU_ISO_SURFACES" -msgstr "Iso Surfaces" - -msgid "VISU_CUT_PLANES" -msgstr "Cut Planes" - -msgid "VISU_CUT_LINES" -msgstr "Cut Lines" - -msgid "VISU_DEFORMED_SHAPE" -msgstr "Deformed Shape" - -msgid "VISU_VECTORS" -msgstr "Vectors" - -msgid "VISU_STREAM_LINES" -msgstr "Stream Lines" - -msgid "VISU_PLOT3D" -msgstr "Plot3D" - -msgid "VISU_SCALAR_MAP_ON_DEFORMED_SHAPE" -msgstr "Scalar Map on Def. Shape" - -# MULTIPR -msgid "VisuGUI::MEN_MULTIPR_VIEW_FULL_RES" -msgstr "Display at full resolution" - -msgid "VisuGUI::MEN_MULTIPR_VIEW_MEDIUM_RES" -msgstr "Display at medium resolution" - -msgid "VisuGUI::MEN_MULTIPR_VIEW_LOW_RES" -msgstr "Display at low resolution" - -msgid "VisuGUI::MEN_MULTIPR_VIEW_HIDE" -msgstr "Hide" - -msgid "VisuGUI::MEN_HOLO_RENDER" -msgstr "Holo render" diff --git a/src/VISUGUI/VISU_msg_en.ts b/src/VISUGUI/VISU_msg_en.ts index 6070c77b..48789802 100644 --- a/src/VISUGUI/VISU_msg_en.ts +++ b/src/VISUGUI/VISU_msg_en.ts @@ -1029,6 +1029,10 @@ Please, refer to the documentation. MEN_SHOW Show + + MEN_SHOW_SCALAR_BAR + Show Scalar Bar + MEN_DISPLAY_ONLY Show Only @@ -1053,6 +1057,10 @@ Please, refer to the documentation. MEN_HIDE Hide + + MEN_HIDE_SCALAR_BAR + Hide Scalar Bar + MEN_ERASE_ALL Hide All diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 801b83de..aecbeb7c 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -1393,6 +1393,56 @@ VisuGUI } } +//---------------------------------------------------------------------------- +void +VisuGUI +::OnShowScalarBar() +{ + SetScalarBarVisibility(true); +} + +void +VisuGUI +::OnHideScalarBar() +{ + SetScalarBarVisibility(false); +} + +void +VisuGUI +::SetScalarBarVisibility(bool theVisibility) +{ + printf ("\nOnHideScalarBar"); + LightApp_SelectionMgr* aSelectionMgr = GetSelectionMgr(this); + SALOME_ListIO aListIO; + aSelectionMgr->selectedObjects(aListIO); + + SALOME_ListIteratorOfListIO It (aListIO); + + bool update = false; + for (; It.More(); It.Next()) { + Handle(SALOME_InteractiveObject)& anIO = It.Value(); + std::vector aPrsList = GetPrs3dList(this, anIO); + if (!aPrsList.empty()) { + for (int i = 0, n = aPrsList.size(); i < n; i++) { + VISU::Prs3d_i* aPrsObject = aPrsList[i]; + if (aPrsObject) { + VISU::ScalarMap_i* aScalar = dynamic_cast(aPrsObject); + if (aScalar) { + aScalar->SetBarVisible( theVisibility ); + RecreateActor(this, aScalar); + update = true; + } + } + } + } + } + if (update) { + if (SVTK_ViewWindow* vw = GetActiveViewWindow(this)) + vw->Repaint(); + } +} + //---------------------------------------------------------------------------- void VisuGUI @@ -2400,6 +2450,14 @@ VisuGUI tr("MEN_DISPLAY_ONLY"), "", 0, aParent, false, this, SLOT(OnDisplayOnlyPrs())); + createAction( VISU_SHOW_SCALAR_BAR, tr("MEN_SHOW_SCALAR_BAR"), QIcon(), + tr("MEN_SHOW_SCALAR_BAR"), "", 0, aParent, false, + this, SLOT(OnShowScalarBar())); + + createAction( VISU_HIDE_SCALAR_BAR, tr("MEN_HIDE_SCALAR_BAR"), QIcon(), + tr("MEN_HIDE_SCALAR_BAR"), "", 0, aParent, false, + this, SLOT(OnHideScalarBar())); + createAction( VISU_COPY_PRS, tr("MEN_COPY_PRS"), QIcon(), tr("MEN_COPY_PRS"), "", 0, aParent, false, this, SLOT(OnCopyPresentation())); @@ -2793,6 +2851,9 @@ VisuGUI mgr->insert( action( VISU_DISPLAY ), -1, -1, -1 ); // display mgr->insert( action( VISU_DISPLAY_ONLY ), -1, -1, -1 ); // display only + mgr->insert( action( VISU_HIDE_SCALAR_BAR ), -1, -1, -1 ); // hide scalar bar + mgr->insert( action( VISU_SHOW_SCALAR_BAR ), -1, -1, -1 ); // show scalar bar + // "Representation" submenu int parentId = mgr->insert( tr( "MEN_REPRESENTATION" ), -1, -1 ); mgr->insert( action( VISU_POINTS ) , parentId, -1, -1 ); // points @@ -2896,10 +2957,16 @@ VisuGUI " or (client='ObjectBrowser' and ((type='VISU::TTABLE' and nbChildren>0) or" " ($type in {'VISU::TCURVE' 'VISU::TCONTAINER'})))) ) or" + aComponent; + QString aScalarBarHideRule = "( selcount>0 and ($type in {'VISU::TMESH' 'VISU::TPOINTMAP3D'" + aPrsAll + "}) and isScalarMapAct=1 and " + aPrsVisible + " and isScalarBarVisible )"; + QString aScalarBarShowRule = "( selcount>0 and ($type in {'VISU::TMESH' 'VISU::TPOINTMAP3D'" + aPrsAll + "}) and isScalarMapAct=1 and " + aPrsVisible + " and (not isScalarBarVisible) )"; + mgr->setRule( action( VISU_ERASE ), anEraseRule ); mgr->setRule( action( VISU_DISPLAY ), aDisplayRule ); mgr->setRule( action( VISU_DISPLAY_ONLY ), aDOnlyRule ); + mgr->setRule( action( VISU_HIDE_SCALAR_BAR ), aScalarBarHideRule ); + mgr->setRule( action( VISU_SHOW_SCALAR_BAR ), aScalarBarShowRule ); + aRule = "selcount>0 and $type in {'VISU::TMESH' 'VISU::TPOINTMAP3D' 'VISU::TGAUSSPOINTS'" + aPrsAll + "}"; mgr->setRule( action( VISU_TRANSLATE_PRS ), aRule ); diff --git a/src/VISUGUI/VisuGUI.h b/src/VISUGUI/VisuGUI.h index 444ec045..5461c134 100644 --- a/src/VISUGUI/VisuGUI.h +++ b/src/VISUGUI/VisuGUI.h @@ -154,6 +154,8 @@ protected slots: void OnShowTable(); void OnShowTablePlot(); + void OnShowScalarBar(); + void OnHideScalarBar(); void OnCreateTable(); void OnDeleteObjects(); void OnPlotData(); @@ -208,6 +210,7 @@ private: void createToolBars(); void createPopupMenus(); void createPanels(); + void SetScalarBarVisibility( bool ); void activateAppropriateViewer( Handle(SALOME_InteractiveObject) theIO ); int addVtkFontPref( const QString& label, const int pId, const QString& param, const bool useSize ); diff --git a/src/VISUGUI/VisuGUI_ActionsDef.h b/src/VISUGUI/VisuGUI_ActionsDef.h index 05b17c0f..e772b39f 100644 --- a/src/VISUGUI/VisuGUI_ActionsDef.h +++ b/src/VISUGUI/VisuGUI_ActionsDef.h @@ -58,6 +58,9 @@ #define VISU_DISPLAY_ONLY 4032 //#define VISU_DELETE_PRS 4033 +#define VISU_SHOW_SCALAR_BAR 4034 +#define VISU_HIDE_SCALAR_BAR 4035 + #define VISU_COPY_PRS 4037 #define VISU_CURVE_PROPS 4040 #define VISU_RENAME 4041 diff --git a/src/VISUGUI/VisuGUI_PopupTools.cxx b/src/VISUGUI/VisuGUI_PopupTools.cxx deleted file mode 100644 index 0a564c0d..00000000 --- a/src/VISUGUI/VisuGUI_PopupTools.cxx +++ /dev/null @@ -1,623 +0,0 @@ -// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE -// -// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -// -// VISU VISUGUI : GUI of VISU component -// File : VisuGUI_PopupTools.cxx -// Author : Sergey Anikin -// Module : VISU -// -#include "VisuGUI_PopupTools.h" - -#include "VisuGUI_ViewTools.h" -#include "VisuGUI_Tools.h" - -#include "VISU_Result_i.hh" -#include "VISU_Gen_i.hh" - -#include "VISU_Actor.h" -#include "VISU_ScalarMapAct.h" - -#include "SalomeApp_Study.h" -#include "LightApp_Study.h" - -using namespace VISU; - -////////////////////////////////////////////////// -// Class: VisuGUI_Selection -////////////////////////////////////////////////// - - -//--------------------------------------------------------------- -QVariant VisuGUI_Selection::parameter( const int ind, const QString& p ) const -{ - QVariant val( LightApp_Selection::parameter( ind, p ) ); - if ( !val.isValid() ) { - if ( p == "type" ) val = QVariant( type( ind ) ); - else if ( p == "nbComponents" ) val = QVariant( nbComponents( ind ) ); - else if ( p == "medEntity" ) val = QVariant( medEntity( ind ) ); - else if ( p == "medSource" ) val = QVariant( medSource( ind ) ); - else if ( p == "representation" ) val = QVariant( representation( ind ) ); - else if ( p == "nbTimeStamps" ) val = QVariant( nbTimeStamps( ind ) ); - else if ( p == "nbChildren" ) val = QVariant( nbChildren( ind ) ); - else if ( p == "nbNamedChildren") val = QVariant( nbNamedChildren( ind ) ); - else if ( p == "isVisible" ) val = QVariant( isVisible( ind ) ); - else if ( p == "isShrunk" ) val = QVariant( isShrunk( ind ) ); - else if ( p == "hasActor" ) val = QVariant( hasActor( ind ) ); - else if ( p == "isShading" ) val = QVariant( isShading( ind ) ); - else if ( p == "isScalarMapAct" ) val = QVariant( isScalarMapAct( ind ) ); - else if ( p == "isVisuComponent") val = QVariant( isVisuComponent( ind ) ); - else if ( p == "fullResolution" ) val = QVariant( fullResolution( ind ) ); - else if ( p == "mediumResolution" ) val = QVariant( mediumResolution( ind ) ); - else if ( p == "lowResolution" ) val = QVariant( lowResolution( ind ) ); - else if ( p == "resolutionState" ) val = QVariant( resolutionState( ind ) ); - } - - return val; -} - - -//--------------------------------------------------------------- -// Macro for converting VISU enumeration items into corresponding strings -#define ENUM2STRING( x, y ) \ - case y: \ - x = QString( #y ); \ - break - -QString VisuGUI_Selection::type( const int ind ) const -{ - QString aResStr; - SalomeApp_Study* aStudy = GetStudy(); - if ( !aStudy ) - return aResStr; - - VISU::TObjectInfo anObjectInfo = VISU::GetObjectByEntry(aStudy, (const char*)entry( ind ).toLatin1()); - VISU::Storable::TRestoringMap aMap = VISU::Storable::GetStorableMap(anObjectInfo.mySObject); - - VISU::Base_i* aBase = anObjectInfo.myBase; - if(aBase){ - VISU::VISUType aType = aBase->GetType(); - if(aType == VISU::TCOLOREDPRS3DHOLDER){ - CORBA::Object_var anObject = ClientSObjectToObject(anObjectInfo.mySObject); - VISU::ColoredPrs3dHolder_var aHolder = VISU::ColoredPrs3dHolder::_narrow(anObject); - aType = aHolder->GetPrsType(); - } - switch (aType) { - ENUM2STRING( aResStr, VISU::TVISUGEN ); - ENUM2STRING( aResStr, VISU::TRESULT ); - ENUM2STRING( aResStr, VISU::TTABLE ); - ENUM2STRING( aResStr, VISU::TCURVE ); - ENUM2STRING( aResStr, VISU::TCONTAINER ); - ENUM2STRING( aResStr, VISU::TMESH ); - ENUM2STRING( aResStr, VISU::TSCALARMAP ); - ENUM2STRING( aResStr, VISU::TISOSURFACES ); - ENUM2STRING( aResStr, VISU::TDEFORMEDSHAPE ); - ENUM2STRING( aResStr, VISU::TSCALARMAPONDEFORMEDSHAPE ); - ENUM2STRING( aResStr, VISU::TDEFORMEDSHAPEANDSCALARMAP ); - ENUM2STRING( aResStr, VISU::TCUTPLANES ); - ENUM2STRING( aResStr, VISU::TCUTLINES ); - ENUM2STRING( aResStr, VISU::TVECTORS ); - ENUM2STRING( aResStr, VISU::TSTREAMLINES ); - ENUM2STRING( aResStr, VISU::TPLOT3D ); - ENUM2STRING( aResStr, VISU::TANIMATION ); - ENUM2STRING( aResStr, VISU::TPOINTMAP3D ); - } - } - - if(aResStr.isNull()){ - VISU::VISUType aType = VISU::Storable::RestoringMap2Type(aMap); - switch (aType) { - ENUM2STRING( aResStr, VISU::TENTITY ); - ENUM2STRING( aResStr, VISU::TFAMILY ); - ENUM2STRING( aResStr, VISU::TGROUP ); - ENUM2STRING( aResStr, VISU::TVIEW3D ); - ENUM2STRING( aResStr, VISU::TFIELD ); - ENUM2STRING( aResStr, VISU::TTIMESTAMP ); - } - } - - if(aResStr.isNull()){ - bool anIsExist; - QString aVal = VISU::Storable::FindValue(aMap, "myComment", &anIsExist); - if ( anIsExist && aVal != "MESH" ) - aResStr = "VISU::T" + aVal; - } - - return aResStr; -} - - -//--------------------------------------------------------------- -QString VisuGUI_Selection::nbComponents( const int ind ) const -{ - QString aResStr; - SalomeApp_Study* aStudy = GetStudy(); - if ( !aStudy ) - return aResStr; - - VISU::TObjectInfo anObjectInfo = VISU::GetObjectByEntry(aStudy, (const char*)entry( ind ).toLatin1()); - VISU::Storable::TRestoringMap aMap = VISU::Storable::GetStorableMap(anObjectInfo.mySObject); - - bool isExist; - QString aVal = VISU::Storable::FindValue(aMap,"myNumComponent",&isExist); - if ( isExist ) - aResStr = aVal; - return aResStr; -} - - -//--------------------------------------------------------------- -QString VisuGUI_Selection::resolutions( const int ind ) const -{ - QString aResStr; - SalomeApp_Study* aStudy = GetStudy(); - if ( !aStudy ) - return aResStr; - - VISU::TObjectInfo anObjectInfo = VISU::GetObjectByEntry(aStudy, entry( ind ).toLatin1().data()); - VISU::Storable::TRestoringMap aMap = VISU::Storable::GetStorableMap(anObjectInfo.mySObject); - - bool isExist; - QString aVal = VISU::Storable::FindValue(aMap,"myResolutions",&isExist); - if ( isExist ) - aResStr = aVal; - - return aResStr; -} - - -//--------------------------------------------------------------- -QString VisuGUI_Selection::resolution( const int ind, char theResoltuion ) const -{ - QString aResStr; - - QString aResolutions = resolutions( ind ); - if(aResolutions.isEmpty()) - return aResStr; - - if(aResolutions.indexOf(theResoltuion) != -1) - aResStr = "1"; - else - aResStr = "0"; - - return aResStr; -} - - -//--------------------------------------------------------------- -QString VisuGUI_Selection::fullResolution( const int ind ) const -{ - return resolution( ind, 'F'); -} - - -//--------------------------------------------------------------- -QString VisuGUI_Selection::mediumResolution( const int ind ) const -{ - return resolution( ind, 'M'); -} - - -//--------------------------------------------------------------- -QString VisuGUI_Selection::lowResolution( const int ind ) const -{ - return resolution( ind, 'L'); -} - - -//--------------------------------------------------------------- -QString VisuGUI_Selection::resolutionState( const int ind ) const -{ - QString aResStr; - SalomeApp_Study* aStudy = GetStudy(); - if ( !aStudy ) - return aResStr; - - VISU::TObjectInfo anObjectInfo = VISU::GetObjectByEntry(aStudy, entry( ind ).toLatin1().data()); - VISU::Storable::TRestoringMap aMap = VISU::Storable::GetStorableMap(anObjectInfo.mySObject); - - bool isExist; - QString aVal = VISU::Storable::FindValue(aMap,"myState",&isExist); - if ( isExist ) { - if ( aVal.toInt() == VISU::Result::FULL ) - aResStr = "F"; - if ( aVal.toInt() == VISU::Result::MEDIUM ) - aResStr = "M"; - if ( aVal.toInt() == VISU::Result::LOW ) - aResStr = "L"; - if ( aVal.toInt() == VISU::Result::HIDDEN ) - aResStr = "H"; - } - - return aResStr; -} - - -//--------------------------------------------------------------- -QString VisuGUI_Selection::medEntity( const int ind ) const -{ - SalomeApp_Study* aStudy = GetStudy(); - if ( !aStudy ) - return QString(); - - VISU::TObjectInfo anObjectInfo = VISU::GetObjectByEntry(aStudy, (const char*)entry( ind ).toLatin1()); - VISU::Storable::TRestoringMap aMap = VISU::Storable::GetStorableMap(anObjectInfo.mySObject); - - bool isExist; - QString aVal = VISU::Storable::FindValue(aMap,"myEntityId",&isExist); - if ( isExist ) { - using namespace VISU; - TEntity anEntityId = TEntity(aVal.toInt()); - switch(anEntityId){ - case NODE_ENTITY : - return "NODE_ENTITY"; - case EDGE_ENTITY : - return "EDGE_ENTITY"; - case FACE_ENTITY : - return "FACE_ENTITY"; - case CELL_ENTITY : - return "CELL_ENTITY"; - default: - return QString(); - } - } - return QString(); -} - -QString VisuGUI_Selection::medSource( const int ind ) const -{ - _PTR(Study) aStudyDS = GetStudy()->studyDS(); - if(_PTR(SObject) aSObject = aStudyDS->FindObjectID((const char*)entry(ind).toLatin1())){ - VISU::Result_var aRes; - if(VISU::Result_i* aResult = CheckResult(myModule,aSObject,aRes)){ - using namespace VISU; - Result_i::ECreationId aCreationId = aResult->GetCreationId(); - switch(aCreationId){ - case Result_i::eImportFile : - return "eImportFile"; - case Result_i::eCopyAndImportFile : - return "eCopyAndImportFile"; - case Result_i::eImportMed : - return "eImportMed"; - case Result_i::eImportMedField : - return "eImportMedField"; - default: - return QString(); - } - } - } - return QString(); -} - -QString VisuGUI_Selection::nbTimeStamps( const int ind ) const -{ - QString aResStr; - SalomeApp_Study* aStudy = GetStudy(); - if ( !aStudy ) - return aResStr; - - VISU::TObjectInfo anObjectInfo = VISU::GetObjectByEntry(aStudy, (const char*)entry( ind ).toLatin1()); - VISU::Storable::TRestoringMap aMap = VISU::Storable::GetStorableMap(anObjectInfo.mySObject); - - bool isExist; - const QString& aVal = VISU::Storable::FindValue(aMap,"myNbTimeStamps",&isExist); - if ( isExist ) - aResStr = aVal; - return aResStr; -} - - -//---------------------------------------------------------------------------- -template -struct TPopupDispatcher -{ - QString - operator()(const SalomeApp_Module* theModule, - const QString& theEntry) - { - if(SUIT_ViewManager* aViewManager = theModule->getApp()->activeViewManager()){ - QString aType = aViewManager->getType(); - TPopupFunctor aFunctor; - if(aType == SVTK_Viewer::Type()) - return aFunctor.template Get(theModule, theEntry); - else if(aType == VVTK_Viewer::Type()) - return aFunctor.template Get(theModule, theEntry); - } - return QString(); - } -}; - - -//---------------------------------------------------------------------------- -template -bool -GetPrs3dSelectionInfo(const SalomeApp_Module* theModule, - const QString& theEntry, - VISU::Prs3d_i*& thePrs3d, - SVTK_ViewWindow*& theViewWindow, - VISU_Actor*& thenActor) -{ - VISU::TObjectInfo anObjectInfo = VISU::GetObjectByEntry(GetAppStudy(theModule), (const char*)theEntry.toLatin1()); - thePrs3d = GetPrs3dFromBase(anObjectInfo.myBase); - if(!thePrs3d) - return false; - - typedef typename TViewer::TViewWindow TViewWindow; - theViewWindow = GetActiveViewWindow(theModule); - if(!theViewWindow) - return false; - - thenActor = FindActor(theViewWindow, thePrs3d); - if(!thenActor) - return false; - - return true; -} - - -//---------------------------------------------------------------------------- -struct TViewFunctor -{ - template - QString - Get(const SalomeApp_Module* theModule, - const QString& theEntry) - { - VISU_Actor* anActor = NULL; - VISU::Prs3d_i* aPrs3d = NULL; - VISU_ActorBase* anActorBase = NULL; - VISU::PointMap3d_i* aPointMap3d = NULL; - SVTK_ViewWindow* aViewWindow = NULL; - if(GetPrs3dSelectionInfo(theModule, theEntry, aPrs3d, aViewWindow, anActor)) { - return get(aPrs3d, aViewWindow, anActor); - } else { - aViewWindow = GetActiveViewWindow(theModule); - VISU::TSelectionInfo aSelectionInfo = VISU::GetSelectedObjects(theModule); - if ( aSelectionInfo.empty() ) - return QString(); - VISU::TSelectionItem aSelectionItem = aSelectionInfo.front(); - aPointMap3d = dynamic_cast(aSelectionItem.myObjectInfo.myBase); - anActorBase = VISU::FindActorBase(aViewWindow, aPointMap3d); - return getPointMap(aPointMap3d, aViewWindow, anActorBase); - } - } - - QString - virtual - get(VISU::Prs3d_i* thePrs3d, - SVTK_ViewWindow* theViewWindow, - VISU_Actor* theActor) - { - return QString(); - } - - QString - virtual - getPointMap(VISU::PointMap3d_i* thePrs3d, - SVTK_ViewWindow* theViewWindow, - VISU_ActorBase* theActor) - { - return QString(); - } -}; - - -//---------------------------------------------------------------------------- -struct TGetRepesentationFunctor: TViewFunctor -{ - QString - virtual - get(VISU::Prs3d_i* thePrs3d, - SVTK_ViewWindow* theViewWindow, - VISU_Actor* theActor) - { - QString aResStr; - switch (theActor->GetRepresentation()) { - ENUM2STRING( aResStr, VISU::POINT ); - ENUM2STRING( aResStr, VISU::WIREFRAME ); - ENUM2STRING( aResStr, VISU::SHADED ); - ENUM2STRING( aResStr, VISU::INSIDEFRAME ); - ENUM2STRING( aResStr, VISU::SURFACEFRAME ); - } - return aResStr; - } - - QString - virtual - getPointMap(VISU::PointMap3d_i* thePrs3d, - SVTK_ViewWindow* theViewWindow, - VISU_ActorBase* theActorBase) - { - QString aResStr = ""; - if (theActorBase) { - switch (theActorBase->GetRepresentation()) { - ENUM2STRING( aResStr, VISU::WIREFRAME ); // = 1 - ENUM2STRING( aResStr, VISU::SHADED ); // = 2 - } - } - return aResStr; - } -}; - -QString VisuGUI_Selection::representation( const int ind ) const -{ - return TPopupDispatcher()(myModule, entry(ind)); -} - -//---------------------------------------------------------------------------- -SalomeApp_Study* VisuGUI_Selection::GetStudy() const - -{ - LightApp_Study* aLightStudy = const_cast( study() ); - return dynamic_cast( aLightStudy ); -} - -//---------------------------------------------------------------------------- -int VisuGUI_Selection::nbChild( const int ind, const bool named ) const -{ - int cnt = 0; - SalomeApp_Study* aSStudy = GetStudy(); - if ( !aSStudy ) - return cnt; - _PTR(Study) aStudy = GetCStudy( aSStudy ); - if ( aStudy ){ - _PTR(SObject) SO = aStudy->FindObjectID( (const char*)entry( ind ).toLatin1() ); - if ( SO ){ - for ( _PTR(ChildIterator) Iter = aStudy->NewChildIterator( SO ); Iter->More(); Iter->Next() ) { - _PTR(SObject) refSO; - if ( !Iter->Value()->ReferencedObject( refSO ) && ( !named || Iter->Value()->GetName().size() ) ) - cnt++; - } - } - } - return cnt; -} - -//---------------------------------------------------------------------------- -QString VisuGUI_Selection::nbChildren( const int ind ) const -{ - QString aResStr; - aResStr.setNum( nbChild( ind, false ) ); - return aResStr; -} - -//---------------------------------------------------------------------------- -QString VisuGUI_Selection::nbNamedChildren( const int ind ) const -{ - QString aResStr; - aResStr.setNum( nbChild( ind, true ) ); - return aResStr; -} - - -//---------------------------------------------------------------------------- -struct TIsVisibleFunctor: TViewFunctor -{ - QString - virtual - get(VISU::Prs3d_i* thePrs3d, - SVTK_ViewWindow* theViewWindow, - VISU_Actor* theActor) - { - return theActor->GetVisibility() ? "true" : "false"; - } -}; - -QString VisuGUI_Selection::isVisible( const int ind ) const -{ - return TPopupDispatcher()(myModule, entry(ind)); -} - - -//---------------------------------------------------------------------------- -struct TIsShrunkFunctor: TViewFunctor -{ - QString - virtual - get(VISU::Prs3d_i* thePrs3d, - SVTK_ViewWindow* theViewWindow, - VISU_Actor* theActor) - { - return theActor->IsShrunk() ? "1" : "0"; - } - - QString - virtual - getPointMap(VISU::PointMap3d_i* thePointMap, - SVTK_ViewWindow* theViewWindow, - VISU_ActorBase* theActorBase) - { - if (theActorBase) - return theActorBase->IsShrunk() ? "1" : "0"; - else return "0"; - } -}; - -QString VisuGUI_Selection::isShrunk( const int ind ) const -{ - return TPopupDispatcher()(myModule, entry(ind)); -} - - -//---------------------------------------------------------------------------- -QString VisuGUI_Selection::hasActor( const int ind ) const -{ - return representation( ind ).isEmpty() ? "0" : "1"; -} - - -//---------------------------------------------------------------------------- -struct TIsShadingFunctor: TViewFunctor -{ - QString - virtual - get(VISU::Prs3d_i* thePrs3d, - SVTK_ViewWindow* theViewWindow, - VISU_Actor* theActor) - { - if(VISU_ScalarMapAct* anActor = dynamic_cast(theActor)) - return anActor->IsShading() ? "1" : "0"; - return QString(); - } -}; - -QString VisuGUI_Selection::isShading( const int ind ) const -{ - return TPopupDispatcher()(myModule, entry(ind)); -} - - -//---------------------------------------------------------------------------- -struct TIsScalarMapActFunctor: TViewFunctor -{ - QString - virtual - get(VISU::Prs3d_i* thePrs3d, - SVTK_ViewWindow* theViewWindow, - VISU_Actor* theActor) - { - return dynamic_cast(theActor)? "1" : "0"; - } -}; - - -//--------------------------------------------------------------- -QString VisuGUI_Selection::isScalarMapAct( const int ind ) const -{ - return TPopupDispatcher()(myModule, entry(ind)); -} - - -//---------------------------------------------------------------------------- -bool VisuGUI_Selection::isVisuComponent( const int ind ) const -{ - SalomeApp_Study* study = GetStudy(); - if ( !study ) - return false; - - _PTR(SObject) obj = study->studyDS()->FindObjectID( (const char*)entry( ind ).toLatin1() ); - if ( !obj ) - return false; - CORBA::Object_var anObj = VISU::ClientSObjectToObject( obj ); - if( CORBA::is_nil( anObj ) ) - return false; - - return dynamic_cast( VISU::GetServant( anObj ).in() ); -} diff --git a/src/VISUGUI/VisuGUI_PopupTools.h b/src/VISUGUI/VisuGUI_PopupTools.h deleted file mode 100644 index 4730ba3b..00000000 --- a/src/VISUGUI/VisuGUI_PopupTools.h +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE -// -// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -// -// VISU VISUGUI : GUI of VISU component -// File : VisuGUI_PopupTools.h -// Author : Sergey Anikin -// Module : VISU -// -#ifndef VisuGUI_PopupTools_HeaderFile -#define VisuGUI_PopupTools_HeaderFile - -#include - -////////////////////////////////////////////////// -// Class: VisuGUI_Selection -////////////////////////////////////////////////// - -class SalomeApp_Module; -class SalomeApp_Study; - -class VisuGUI_Selection : public LightApp_Selection -{ -public: - VisuGUI_Selection( SalomeApp_Module* theModule ) - : LightApp_Selection(), myModule( theModule ) {}; - virtual ~VisuGUI_Selection() {}; - - virtual QVariant parameter( const int, const QString& ) const; - -private: - QString type( const int ) const; - QString nbComponents( const int ) const; - QString medEntity( const int ) const; - QString medSource( const int ) const; - QString nbTimeStamps( const int ) const; - QString representation( const int ) const; - QString nbChildren( const int ) const; - QString nbNamedChildren( const int ) const; - QString isVisible( const int ) const; - QString isShrunk( const int ) const; - QString hasActor( const int ) const; - QString isShading( const int ) const; - QString isScalarMapAct( const int ) const; - bool isVisuComponent( const int ) const; - - QString fullResolution( const int ) const; - QString mediumResolution( const int ) const; - QString lowResolution( const int ) const; - QString resolutionState( const int ) const; - -private: - int nbChild( const int, const bool ) const; - SalomeApp_Study* GetStudy() const; - - QString resolutions( const int ) const; - QString resolution( const int, char theResoltuion ) const; - -private: - SalomeApp_Module* myModule; -}; - -#endif diff --git a/src/VISUGUI/VisuGUI_Selection.cxx b/src/VISUGUI/VisuGUI_Selection.cxx index 1c5db753..398f1744 100644 --- a/src/VISUGUI/VisuGUI_Selection.cxx +++ b/src/VISUGUI/VisuGUI_Selection.cxx @@ -74,6 +74,7 @@ QVariant VisuGUI_Selection::parameter( const int ind, const QString& p ) const else if ( p == "hasCurves" ) val = QVariant( hasCurves( ind ) ); else if ( p == "isPlot2dViewer" ) val = QVariant( Plot2dViewerType( ind ) ); else if ( p == "isValuesLabeled" ) val = QVariant( isValuesLabeled( ind ) ); + else if ( p == "isScalarBarVisible" ) val = QVariant( isScalarBarVisible( ind ) ); } return val; @@ -721,3 +722,23 @@ QString VisuGUI_Selection::isValuesLabeled( const int ind ) const { return TPopupDispatcher()(myModule, entry(ind)); } + +//---------------------------------------------------------------------------- +struct TIsScalarBarVisibleFunctor: TViewFunctor +{ + QString + virtual + get(VISU::Prs3d_i* thePrs3d, + SVTK_ViewWindow* theViewWindow, + VISU_Actor* theActor) + { + if(VISU_ScalarMapAct* anActor = dynamic_cast(theActor)) + return anActor->GetBarVisibility() ? "true" : "false"; + return QString(); + } +}; + +bool VisuGUI_Selection::isScalarBarVisible( const int ind ) const +{ + return TPopupDispatcher()(myModule, entry(ind)) == "true"; +} diff --git a/src/VISUGUI/VisuGUI_Selection.h b/src/VISUGUI/VisuGUI_Selection.h index 15871ae2..dede2e8f 100644 --- a/src/VISUGUI/VisuGUI_Selection.h +++ b/src/VISUGUI/VisuGUI_Selection.h @@ -59,6 +59,7 @@ private: bool hasActor( const int ) const; QString isShading( const int ) const; QString isScalarMapAct( const int ) const; + bool isScalarBarVisible( const int ) const; bool isVisuComponent( const int ) const; QString isValuesLabeled( const int ) const;