mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-11 00:13:07 +05:00
Implementation of "EDF 1702 GEOM: Displaying of GEOM object in 3D viewer while editing a group" and "EDF 1630 GEOM: Specific color when editing a group" issues.
This commit is contained in:
parent
0ac708f1b0
commit
549029bef0
Binary file not shown.
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 42 KiB |
Binary file not shown.
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 74 KiB |
@ -36,8 +36,10 @@ of values set in spin boxes.</li>
|
||||
<li><b>Deflection coefficient</b> - allows to define default deflection
|
||||
coefficient for lines and surfaces. A smaller coefficient provides
|
||||
better quality of a shape in the viewer.</li>
|
||||
<li><b>Default front material</b> - allows to define default front face material.</li>
|
||||
<li><b>Default back material</b> - allows to define default back face material.</li>
|
||||
<li><b>Show predefined materials in popup menu</b> - allows to customize the displaying of popup menu with list of
|
||||
predefined materials.</li>
|
||||
<li><b>Default material</b> - allows to define default material.</li>
|
||||
<li><b>Subshapes color for editing a group</b> - allows to select default color for subshapes in a group.</li>
|
||||
<li><b>Edges width</b> - allows to define default width of the edges.</li>
|
||||
<li><b>Isolines width</b> - allows to define default width of the isolines.</li>
|
||||
<li><b>Preview edges width</b> - allows to define width of the edges for preview.</li>
|
||||
|
@ -103,10 +103,19 @@ To \b Edit an existing group in the main menu select <b>New entity >
|
||||
Group > Edit</b>. This menu is designed in the same way as the
|
||||
<b>Create a group</b> menu.
|
||||
|
||||
\n <b>Dialog Box:</b>
|
||||
\n When a GEOM group is edited, the main shape appears in the 3D viewer in the same mode
|
||||
as it is displayed in the viewer. If the main shape was not displayed in the viewer, then
|
||||
the default mode defined in the preferences will be used.
|
||||
|
||||
\n <b>Working with Dialog Box:</b>
|
||||
|
||||
\image html editgroup.png
|
||||
|
||||
\n The subshapes already in the group are displayed in the 3D viewer with a specific color,
|
||||
defined via preferences. The IDs of the subshapes already in the group also are displayed in
|
||||
a specific color in the dialog box. When user adds some subshapes, the new IDs are
|
||||
displayed in the other color.
|
||||
|
||||
\n The \b Result of the operation will be a \b GEOM_Object.
|
||||
|
||||
\n <b>TUI Command:</b>
|
||||
|
@ -190,12 +190,12 @@ GroupGUI_GroupDlg::GroupGUI_GroupDlg (Mode mode, GeometryGUI* theGeometryGUI, QW
|
||||
|
||||
GroupGUI_GroupDlg::~GroupGUI_GroupDlg()
|
||||
{
|
||||
GEOM_Displayer* aDisplayer = getDisplayer();
|
||||
if (myIsHiddenMain) {
|
||||
GEOM_Displayer* aDisplayer = getDisplayer();
|
||||
aDisplayer->Display(myMainObj);
|
||||
aDisplayer->Display(myGroup);
|
||||
myIsHiddenMain = false;
|
||||
}
|
||||
aDisplayer->Display(myGroup);
|
||||
myDmMode = -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user