diff --git a/Common/DefaultOptions.h b/Common/DefaultOptions.h index 6b034e39b03dce0ffafc255d1842ae7da49d8eb6..9ab60e14b8f92e755b855619f64c2509e2e2315e 100644 --- a/Common/DefaultOptions.h +++ b/Common/DefaultOptions.h @@ -587,12 +587,12 @@ StringXNumber GeneralOptions_Number[] = { { F|O, "Verbosity" , opt_general_verbosity , 2. , "Level of information printed during processing (0=no information)" }, + { F|S, "VisibilityMode" , opt_general_visibility_mode , 0. , + "Default mode for the visibility browser (0=Geometry+Mesh, 1=Geometry, 2=Mesh)" }, { F|S, "VisibilityPositionX" , opt_general_visibility_position0 , 650. , "Horizontal position (in pixels) of the upper left corner of the visibility window" }, { F|S, "VisibilityPositionY" , opt_general_visibility_position1 , 150. , "Vertical position (in pixels) of the upper left corner of the visibility window" }, - { F|S, "VisibilityMode" , opt_general_visibility_mode , 0. , - "Default Visibility mode for visibility browser (Geometry+Mesh, Geometry or Mesh)" }, { F|O, "ZoomFactor" , opt_general_zoom_factor , 1.1 , "`Speed' of the middle mouse button zoom" }, diff --git a/doc/texinfo/gmsh.texi b/doc/texinfo/gmsh.texi index f84d67f49d6ac42838b0ddc6ca34e3f032668838..9d8941f22e1a6279d38f4a9f06d902253736a2df 100644 --- a/doc/texinfo/gmsh.texi +++ b/doc/texinfo/gmsh.texi @@ -1,5 +1,5 @@ \input texinfo.tex @c -*-texinfo-*- -@c $Id: gmsh.texi,v 1.89 2003-12-01 21:51:24 geuzaine Exp $ +@c $Id: gmsh.texi,v 1.90 2003-12-02 04:10:38 geuzaine Exp $ @c @c Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle @c @@ -37,7 +37,7 @@ @c ========================================================================= @c %**start of header @setfilename gmsh.info -@set EDITION 1.15 +@set EDITION 1.16 @set GMSH-VERSION 1.49 @set GMSH-WEB @uref{http://www.geuz.org/gmsh/} @set COPYRIGHT @copyright{} 1997-2003 Christophe Geuzaine, Jean-Fran@,{c}ois Remacle @@ -1677,6 +1677,24 @@ automatically after each geometrical transformation, unless Deletes all elementary entities (points, lines or surfaces) whose identification numbers are given in @var{expression-list}. +@item Hide @{ Point | Line | Surface | Volume @{ @var{expression-list} @}; @dots{} @} +Hide the entities listed in @var{expression-list}, if +@code{General.VisibilityMode} is set to @code{0} or @code{1}. + +@item Hide @var{char-expression}; +Hide the entity @var{char-expression}, if @code{General.VisibilityMode} is +set to @code{0} or @code{1} (@var{char-expression} can for example be +@code{"*"}). + +@item Show @{ Point | Line | Surface | Volume @{ @var{expression-list} @}; @dots{} @} +Show the entities listed in @var{expression-list}, if +@code{General.VisibilityMode} is set to @code{0} or @code{1}. + +@item Show @var{char-expression}; +Show the entity @var{char-expression}, if @code{General.VisibilityMode} is +set to @code{0} or @code{1} (@var{char-expression} can for example be +@code{"*"}). + @c todo: @c @item Intersect; @c Intersects all lines. @@ -1965,11 +1983,13 @@ Sets the mesh color of the entities listed in @var{expression-list} to @var{colo Deletes all currently loaded meshes. @item Hide @{ Point | Line | Surface | Volume @{ @var{expression-list} @}; @dots{} @} -Hide the entities listed in @var{expression-list}. +Hide the mesh of the entities listed in @var{expression-list}, if +@code{General.VisibilityMode} is set to @code{0} or @code{2}. @item Hide @var{char-expression}; -Hide the entity @var{char-expression} (@var{char-expression} can for example -be @code{"*"}). +Hide the mesh of the entity @var{char-expression}, if +@code{General.VisibilityMode} is set to @code{0} or @code{2} +(@var{char-expression} can for example be @code{"*"}). @item Recombine Surface @{ @var{expression-list} @} < = @var{expression} >; Recombines the triangular meshes of the surfaces listed in @@ -1983,11 +2003,13 @@ Saves the mesh in a file named @var{char-expression}, using the current @code{Mesh.Format} (@pxref{Mesh options}). @item Show @{ Point | Line | Surface | Volume @{ @var{expression-list} @}; @dots{} @} -Show the entities listed in @var{expression-list}. +Show the mesh of the entities listed in @var{expression-list}, if +@code{General.VisibilityMode} is set to @code{0} or @code{2}. @item Show @var{char-expression}; -Show the entity @var{char-expression} (@var{char-expression} can for example -be @code{"*"}). +Show the mesh of the entity @var{char-expression}, if +@code{General.VisibilityMode} is set to @code{0} or @code{2} +(@var{char-expression} can for example be @code{"*"}). @end ftable @c ------------------------------------------------------------------------- diff --git a/doc/texinfo/opt_general.texi b/doc/texinfo/opt_general.texi index e2840781e572a82a60419a877368f11cc9a20f72..31ee7f7f479e17a5cc2449c730f6679a7ab7a06a 100644 --- a/doc/texinfo/opt_general.texi +++ b/doc/texinfo/opt_general.texi @@ -609,6 +609,11 @@ Vertical position (in pixels) of the upper left corner of the visibility window@ Default value: @code{150}@* Saved in: @code{General.SessionFileName} +@item General.VisibilityMode +Default mode for the visibility browser (0=Geometry+Mesh, 1=Geometry, 2=Mesh)@* +Default value: @code{0}@* +Saved in: @code{General.SessionFileName} + @item General.ZoomFactor `Speed' of the middle mouse button zoom@* Default value: @code{1.1}@* diff --git a/doc/texinfo/opt_print.texi b/doc/texinfo/opt_print.texi index 9ca6e9c46d287bf1641f9ccabe112f0a6e140e6d..ff9f549d8d834a8152dc6ebb50e261dc65019ce4 100644 --- a/doc/texinfo/opt_print.texi +++ b/doc/texinfo/opt_print.texi @@ -26,7 +26,7 @@ Saved in: @code{General.OptionsFileName} @item Print.EpsLineWidthFactor Width factor for lines in PostScript/PDF output@* -Default value: @code{0.2}@* +Default value: @code{1}@* Saved in: @code{General.OptionsFileName} @item Print.EpsOcclusionCulling diff --git a/doc/texinfo/opt_view.texi b/doc/texinfo/opt_view.texi index ef50af607d449e7f93337bc6f79617b70722bc58..ba0a14534e9b16f010969d67846a1db510d6f123 100644 --- a/doc/texinfo/opt_view.texi +++ b/doc/texinfo/opt_view.texi @@ -24,7 +24,7 @@ Default post-processing view name@* Default value: @code{""}@* Saved in: @code{-} -@item View.AlphaChannelValue +@item View.AlphaChannel Global alpha channel value (used only if != 1)@* Default value: @code{1}@* Saved in: @code{General.OptionsFileName}