documentation improvement

This commit is contained in:
mpa 2015-04-17 12:59:55 +03:00
parent ff7507fd9d
commit e14c11e2d7
14 changed files with 66 additions and 27 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

@ -7,7 +7,9 @@ edges or combine them.
\image html image56.jpg Only Faces \image html image56.jpg Only Faces
\image html image58.gif Only Edges \image html image58.png Only Edges
\image html image59.png Edges + Faces
If the mesh contains a lot of elements, select <b>Choose...</b> item, If the mesh contains a lot of elements, select <b>Choose...</b> item,

View File

@ -2,8 +2,8 @@
\page mesh_preferences_page Mesh preferences \page mesh_preferences_page Mesh preferences
In the Mesh module you can set mesh preferences, which can be used in In the Mesh module you can set mesh preferences, which can be used right now
later sessions with this module. or in later sessions with this module according to the preferences.
<h2>General Preferences</h2> <h2>General Preferences</h2>
@ -39,12 +39,13 @@ later sessions with this module.
mesh nodes, at which they are considered coincident by <b>Double nodes</b> mesh nodes, at which they are considered coincident by <b>Double nodes</b>
quality control. quality control.
- <b>Display mode</b> - allows to set Wireframe, Shading, Nodes or Shrink - <b>Display mode</b>
- <b>Default display mode</b> - allows to set Wireframe, Shading, Nodes or Shrink
presentation mode as default. presentation mode as default.
- <b>Representation of the 2D quadratic elements</b> - <b>Representation of the 2D quadratic elements</b>
- <b>Representation of the 2D quadratic elements</b> combobox - allows - <b>Default mode of the 2D quadratic elements</b> combobox - allows
to select lines or arcs for representation of quadratic elements. to select lines or arcs for representation of quadratic elements as default.
- <b>Maximum Angle</b> - maximum deviation angle used by the - <b>Maximum Angle</b> - maximum deviation angle used by the
application to build arcs. application to build arcs.
@ -130,13 +131,17 @@ later sessions with this module.
\image html pref22.png \image html pref22.png
- <b>Nodes</b> - <b>Nodes</b> allows to define default parameters for nodes, which will be applied
for a new created mesh only. Customization of already created meshes can be done using
\ref colors_size_page "Properties dialog box" that is called by click on popup menu of mesh.
- <b>Color</b> - allows to select the color of nodes. Click on the - <b>Color</b> - allows to select the color of nodes. Click on the
colored line to access to the <b>Select Color</b> dialog box. colored line to access to the <b>Select Color</b> dialog box.
- <b>Type of marker</b> - allows to define the shape of nodes. - <b>Type of marker</b> - allows to define the shape of nodes.
- <b>Scale of marker</b> - allows to define the size of nodes. - <b>Scale of marker</b> - allows to define the size of nodes.
- <b>Elements</b> - <b>Elements</b> allows to define default parameters for different elements, which will be applied
for a new created mesh only. Customization of already created meshes can be done using
\ref colors_size_page "Properties dialog box" that is called by click on popup menu of mesh.
- <b>Surface color</b> - allows to select the surface color of 2D elements - <b>Surface color</b> - allows to select the surface color of 2D elements
(seen in Shading mode). Click on the colored line to access to the (seen in Shading mode). Click on the colored line to access to the
<b>Select Color</b> dialog box. <b>Select Color</b> dialog box.
@ -149,8 +154,8 @@ later sessions with this module.
- <b>Reversed volume color</b> - allows to select the surface color - <b>Reversed volume color</b> - allows to select the surface color
of reversed 3D elements. Use the slider to select the color generated basing on of reversed 3D elements. Use the slider to select the color generated basing on
the <b>Volume color</b> by changing its brightness and saturation. the <b>Volume color</b> by changing its brightness and saturation.
- <b>0D elements</b> - allows to choose color of 0D mesh elements. - <b>0D element color</b> - allows to choose color of 0D mesh elements.
- <b>Balls</b> - allows to choose color of discrete mesh elements (balls). - <b>Ball color</b> - allows to choose color of discrete mesh elements (balls).
- <b>Outline color</b> - allows to select the color of element - <b>Outline color</b> - allows to select the color of element
borders. borders.
- <b>Wireframe color</b> - allows to select the color of borders of - <b>Wireframe color</b> - allows to select the color of borders of
@ -167,10 +172,11 @@ later sessions with this module.
- <b>Shrink coef.</b> - allows to define relative space of elements - <b>Shrink coef.</b> - allows to define relative space of elements
compared to gaps between them in shrink mode. compared to gaps between them in shrink mode.
- <b>Groups</b> allows to define groups default properties: - <b>Groups</b>
- <b>Names color</b> - specifies color of group names to be used in - <b>Names color</b> - specifies color of group names to be used in
3D viewer. 3D viewer.
- <b>Default color</b> - specifies default group color. - <b>Default color</b> - specifies default group color, which is used
when creating new mesh group (see \ref creating_groups_page "Create Group dialog box").
- <b>Numbering</b> allows to define properties of numbering functionality: - <b>Numbering</b> allows to define properties of numbering functionality:
- <b>Nodes</b> - specifies text properties of nodes numbering - <b>Nodes</b> - specifies text properties of nodes numbering
@ -178,7 +184,9 @@ later sessions with this module.
- <b>Elements</b> - same for elements. - <b>Elements</b> - same for elements.
- <b>Orientation of Faces</b> - allows to define the behavior of - <b>Orientation of Faces</b> - allows to define the behavior of
<b>Orientation of faces</b> functionality: <b>Orientation of faces</b> functionality, which will be applied
for a new created mesh only. Customization of already created meshes can be done using
\ref colors_size_page "Properties dialog box" that is called by click on popup menu of mesh.
- \b Color - allows to define the color of orientation vertors; - \b Color - allows to define the color of orientation vertors;
- \b Scale - allows to define the size of orientation vectors; - \b Scale - allows to define the size of orientation vectors;
- <b>3D Vector</b> checkbox allows to choose between 2D planar - <b>3D Vector</b> checkbox allows to choose between 2D planar
@ -191,7 +199,7 @@ later sessions with this module.
- <b>Selection</b> - performed with mouse-indexing (preselection) - <b>Selection</b> - performed with mouse-indexing (preselection)
and left-clicking on an object, whose appearance changes as defined in and left-clicking on an object, whose appearance changes as defined in
the <b>Preferences</b>. the <b>Preferences</b>.
- <b>Object Color</b> - allows to select the color of mesh (edges and - <b>Object color</b> - allows to select the color of mesh (edges and
borders of meshes) of the selected entity. Click on the colored line borders of meshes) of the selected entity. Click on the colored line
to access to the <b>Select Color</b> dialog box. to access to the <b>Select Color</b> dialog box.
- <b>Element color</b> - allows to select the color of surface of selected - <b>Element color</b> - allows to select the color of surface of selected
@ -200,7 +208,7 @@ later sessions with this module.
- <b>Preselection</b> - performed with mouse-indexing on an object, - <b>Preselection</b> - performed with mouse-indexing on an object,
whose appearance changes as defined in the <b>Preferences</b>. whose appearance changes as defined in the <b>Preferences</b>.
- <b>Highlight Color</b> - allows to select the color of mesh (edges and - <b>Highlight color</b> - allows to select the color of mesh (edges and
borders of meshes) of the entity . Click on the colored line to access borders of meshes) of the entity . Click on the colored line to access
to the <b>Select Color</b> dialog box. to the <b>Select Color</b> dialog box.
@ -211,6 +219,11 @@ later sessions with this module.
\image html pref24.png \image html pref24.png
\note The following settings are default and will be applied for
a new created mesh only. Customization of already created meshes
can be done using local \ref scalar_bar_dlg "Scalar Bar Properties dialog box"
that is called by click on popup menu of mesh.
- <b>Font</b> - in this menu you can set type, face and color for - <b>Font</b> - in this menu you can set type, face and color for
the font of <b>Title</b> and <b>Labels</b>. the font of <b>Title</b> and <b>Labels</b>.

View File

@ -4930,7 +4930,7 @@ void SMESHGUI::createPreferences()
setPreferenceProperty( doubleNodesTol, "max", 1000000.0 ); setPreferenceProperty( doubleNodesTol, "max", 1000000.0 );
setPreferenceProperty( doubleNodesTol, "step", 0.0000001 ); setPreferenceProperty( doubleNodesTol, "step", 0.0000001 );
int dispgroup = addPreference( tr( "PREF_DISPLAY_MODE" ), genTab ); int dispgroup = addPreference( tr( "PREF_DISPLAY_MODE_GROUP" ), genTab );
setPreferenceProperty( dispgroup, "columns", 2 ); setPreferenceProperty( dispgroup, "columns", 2 );
int dispmode = addPreference( tr( "PREF_DISPLAY_MODE" ), dispgroup, LightApp_Preferences::Selector, "SMESH", "display_mode" ); int dispmode = addPreference( tr( "PREF_DISPLAY_MODE" ), dispgroup, LightApp_Preferences::Selector, "SMESH", "display_mode" );
QStringList modes; QStringList modes;
@ -4946,7 +4946,7 @@ void SMESHGUI::createPreferences()
setPreferenceProperty( dispmode, "strings", modes ); setPreferenceProperty( dispmode, "strings", modes );
setPreferenceProperty( dispmode, "indexes", indices ); setPreferenceProperty( dispmode, "indexes", indices );
int arcgroup = addPreference( tr( "QUADRATIC_REPRESENT_MODE" ), genTab ); int arcgroup = addPreference( tr( "QUADRATIC_REPRESENT_MODE_GROUP" ), genTab );
setPreferenceProperty( arcgroup, "columns", 2 ); setPreferenceProperty( arcgroup, "columns", 2 );
int quadraticmode = addPreference( tr( "QUADRATIC_REPRESENT_MODE" ), arcgroup, LightApp_Preferences::Selector, "SMESH", "quadratic_mode" ); int quadraticmode = addPreference( tr( "QUADRATIC_REPRESENT_MODE" ), arcgroup, LightApp_Preferences::Selector, "SMESH", "quadratic_mode" );
QStringList quadraticModes; QStringList quadraticModes;

View File

@ -2318,7 +2318,7 @@ Check algorithm documentation for supported geometry</translation>
</message> </message>
<message> <message>
<source>PREF_NUMBERING_ELEM</source> <source>PREF_NUMBERING_ELEM</source>
<translation>Edges: Color</translation> <translation>Elements: Color</translation>
</message> </message>
<message> <message>
<source>PREF_NUMBERING_FONT</source> <source>PREF_NUMBERING_FONT</source>
@ -4354,17 +4354,25 @@ Please, create VTK viewer and try again</translation>
<translation>Display entity</translation> <translation>Display entity</translation>
</message> </message>
<message> <message>
<source>QUADRATIC_REPRESENT_MODE</source> <source>QUADRATIC_REPRESENT_MODE_GROUP</source>
<translation>Representation of the 2D quadratic elements</translation> <translation>Representation of the 2D quadratic elements</translation>
</message> </message>
<message>
<source>QUADRATIC_REPRESENT_MODE</source>
<translation>Default mode of the 2D quadratic elements</translation>
</message>
<message> <message>
<source>MAX_ARC_ANGLE</source> <source>MAX_ARC_ANGLE</source>
<translation>Maximum angle</translation> <translation>Maximum angle</translation>
</message> </message>
<message> <message>
<source>PREF_DISPLAY_MODE</source> <source>PREF_DISPLAY_MODE_GROUP</source>
<translation>Display mode</translation> <translation>Display mode</translation>
</message> </message>
<message>
<source>PREF_DISPLAY_MODE</source>
<translation>Default display mode</translation>
</message>
<message> <message>
<source>PREF_ELEMENTS</source> <source>PREF_ELEMENTS</source>
<translation>Elements</translation> <translation>Elements</translation>
@ -4575,7 +4583,7 @@ Please, create VTK viewer and try again</translation>
</message> </message>
<message> <message>
<source>PREF_COLOR_0D</source> <source>PREF_COLOR_0D</source>
<translation>0D elements</translation> <translation>0D element color</translation>
</message> </message>
<message> <message>
<source>PREF_SIZE_0D</source> <source>PREF_SIZE_0D</source>
@ -4583,7 +4591,7 @@ Please, create VTK viewer and try again</translation>
</message> </message>
<message> <message>
<source>PREF_BALL_COLOR</source> <source>PREF_BALL_COLOR</source>
<translation>Balls</translation> <translation>Ball color</translation>
</message> </message>
<message> <message>
<source>PREF_BALL_SIZE</source> <source>PREF_BALL_SIZE</source>

View File

@ -2314,7 +2314,7 @@ Référez-vous à la documentation sur l&apos;algorithme et la géométrie suppo
</message> </message>
<message> <message>
<source>PREF_NUMBERING_ELEM</source> <source>PREF_NUMBERING_ELEM</source>
<translation>Arêtes: couleur</translation> <translation>Éléments: couleur</translation>
</message> </message>
<message> <message>
<source>PREF_NUMBERING_FONT</source> <source>PREF_NUMBERING_FONT</source>
@ -4350,6 +4350,10 @@ Ouvrez une fenêtre VTK et essayez de nouveau</translation>
<source>PREF_DISPLAY_ENTITY</source> <source>PREF_DISPLAY_ENTITY</source>
<translation>Eléments à visualiser</translation> <translation>Eléments à visualiser</translation>
</message> </message>
<message>
<source>QUADRATIC_REPRESENT_MODE_GROUP</source>
<translation>Mode des éléments quadratiques 2D par défaut</translation>
</message>
<message> <message>
<source>QUADRATIC_REPRESENT_MODE</source> <source>QUADRATIC_REPRESENT_MODE</source>
<translation>Représentation des éléments quadratiques 2D</translation> <translation>Représentation des éléments quadratiques 2D</translation>
@ -4359,9 +4363,13 @@ Ouvrez une fenêtre VTK et essayez de nouveau</translation>
<translation>Angle maximal</translation> <translation>Angle maximal</translation>
</message> </message>
<message> <message>
<source>PREF_DISPLAY_MODE</source> <source>PREF_DISPLAY_MODE_GROUP</source>
<translation>Mode de visualisation</translation> <translation>Mode de visualisation</translation>
</message> </message>
<message>
<source>PREF_DISPLAY_MODE</source>
<translation>Mode de visualisation par défaut</translation>
</message>
<message> <message>
<source>PREF_ELEMENTS</source> <source>PREF_ELEMENTS</source>
<translation>Eléments</translation> <translation>Eléments</translation>
@ -4572,7 +4580,7 @@ Ouvrez une fenêtre VTK et essayez de nouveau</translation>
</message> </message>
<message> <message>
<source>PREF_COLOR_0D</source> <source>PREF_COLOR_0D</source>
<translation>Eléments 0D</translation> <translation>Couleur d&apos;elément 0D</translation>
</message> </message>
<message> <message>
<source>PREF_SIZE_0D</source> <source>PREF_SIZE_0D</source>
@ -4580,7 +4588,7 @@ Ouvrez une fenêtre VTK et essayez de nouveau</translation>
</message> </message>
<message> <message>
<source>PREF_BALL_COLOR</source> <source>PREF_BALL_COLOR</source>
<translation>Particulaires</translation> <translation>Couleur des particulaires</translation>
</message> </message>
<message> <message>
<source>PREF_BALL_SIZE</source> <source>PREF_BALL_SIZE</source>

View File

@ -4300,6 +4300,10 @@
<source>PREF_DISPLAY_ENTITY</source> <source>PREF_DISPLAY_ENTITY</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<source>QUADRATIC_REPRESENT_MODE_GROUP</source>
<translation>2 D 2 </translation>
</message>
<message> <message>
<source>QUADRATIC_REPRESENT_MODE</source> <source>QUADRATIC_REPRESENT_MODE</source>
<translation>2 D 2 </translation> <translation>2 D 2 </translation>
@ -4309,9 +4313,13 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<source>PREF_DISPLAY_MODE</source> <source>PREF_DISPLAY_MODE_GROUP</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<source>PREF_DISPLAY_MODE</source>
<translation></translation>
</message>
<message> <message>
<source>PREF_ELEMENTS</source> <source>PREF_ELEMENTS</source>
<translation></translation> <translation></translation>