User:Jcreer/SMS:UGrid Display Options: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOINDEX__
__NOINDEX__
{{Version SMS 13.1}}
The display options of UGrid data that SMS displays on the screen can be controlled through the ''UGrid Data'' tab of the [[SMS:Display Options|''Display Options'']] dialog. This dialog is opened by right-clicking on the [[File:UGrid 2D Folder.svg|16 px]] "UGrid Data" item in the [[SMS:Project Explorer|Project Explorer]] and selecting the '''Display Options''' command. It can also be accessed from the from the ''Display'' menu or the  '''Display Options''' [[File:Display Options Macro.svg|16 px]] macro. The following table describes the display options available for the UGrid module.
The display options of UGrid data that SMS displays on the screen can be controlled through the ''UGrid Data'' tab of the [[SMS:Display Options|''Display Options'']] dialog. This dialog is opened by right-clicking on the [[File:UGrid 2D Folder.svg|16 px]] "UGrid Data" item in the [[SMS:Project Explorer|Project Explorer]] and selecting the '''Display Options''' command. It can also be accessed from the from the ''Display'' menu or the  '''Display Options''' [[File:Display Options Macro.svg|16 px]] macro. The following table describes the display options available for the UGrid module.


Line 17: Line 18:
| Inactive points || Show points that correspond with an inactive dataset value.
| Inactive points || Show points that correspond with an inactive dataset value.
|-
|-
| UGrid shell || The UGrid shell item is used to display an edge for each of the edges on the exterior of the set of all cells (visible or invisible) which corresponds to a discontinuity in the UGrid exterior. This display option provides a helpful spatial context when displaying isosurfaces or cross sections.
| UGrid Boundary || Used to display an edge for each of the edges on the exterior of the set of all cells (visible or invisible) which corresponds to a discontinuity in the UGrid exterior. This display option provides a helpful spatial context when displaying isosurfaces or cross sections.
|-
|-
| Feature angle || The UGrid shell feature angle is used only when the ''UGrid Shell'' option is selected. This angle represents a threshold angle at which an edge of the shell will be displayed. If for example, an angle of 45 degrees is defined, any edge of the UGrid which divides two cell faces that are at an angle greater than 45 degrees to each other will not be displayed.
| Feature angle || The UGrid boundary feature angle is used only when the ''UGrid Boundary'' option is selected. This angle represents a threshold angle at which an edge of the shell will be displayed. If for example, an angle of 45 degrees is defined, any edge of the UGrid which divides two cell faces that are at an angle greater than 45 degrees to each other will not be displayed.
|-
|-
| Point numbers || The Point numbers item is used to display the ID associated with each point next to the point.
| Point numbers || The Point numbers item is used to display the ID associated with each point next to the point.
Line 40: Line 41:
|}
|}


[[File:Display3DUGrid.jpg|thumb|none|left|500 px|The ''Display Options'' dialog showing the ''3D UGrid'' tab.]]
[[File:Sms-ugrid-display.png|thumb|none|left|550 px|The ''Display Options'' dialog showing the ''3D UGrid'' tab.]]


==UGrid Clip Settings==
==UGrid Clip Settings==
[[File:UGridClipSettings.png|thumb|275 px|The ''UGrid Clip Settings'' dialog]]
[[File:Sms-ugrid-clip-settings.png|thumb|375 px|The ''UGrid Clip Settings'' dialog]]
The ''Ugrid Clip Settings'' dialog allows setting parameters for clipping the UGrid display. The dialog has the following options:
The ''Ugrid Clip Settings'' dialog allows setting parameters for clipping the UGrid display. The dialog has the following options:
*''Clip Type'' – Can be set to "Plane", "Scalar", or "Scalar Range".
*''Clip Type'' – Can be set to "Plane", "Scalar", or "Scalar Range".

Latest revision as of 21:20, 27 March 2019

The display options of UGrid data that SMS displays on the screen can be controlled through the UGrid Data tab of the Display Options dialog. This dialog is opened by right-clicking on the UGrid 2D Folder.svg "UGrid Data" item in the Project Explorer and selecting the Display Options command. It can also be accessed from the from the Display menu or the Display Options Display Options Macro.svg macro. The following table describes the display options available for the UGrid module.

When multiple UGrids exist in a project, each UGrid will be shown in the Display Options dialog. The display options for each UGrid in the project can be set separately.

Display Option Description
Cell edges The Cell edges item is used to display the edges of cells. The cells are drawn using the specified color.
Cell faces This option fills the cells with the material color.
Cell centers This option displays a point at the center of every cell.
Points Points are the corners of cells, or simply 3D points not attached to cells. A symbol can be displayed at these locations. If Point contours are on, the color of the symbol will be determined by the data and the contour options.
Inactive points Show points that correspond with an inactive dataset value.
UGrid Boundary Used to display an edge for each of the edges on the exterior of the set of all cells (visible or invisible) which corresponds to a discontinuity in the UGrid exterior. This display option provides a helpful spatial context when displaying isosurfaces or cross sections.
Feature angle The UGrid boundary feature angle is used only when the UGrid Boundary option is selected. This angle represents a threshold angle at which an edge of the shell will be displayed. If for example, an angle of 45 degrees is defined, any edge of the UGrid which divides two cell faces that are at an angle greater than 45 degrees to each other will not be displayed.
Point numbers The Point numbers item is used to display the ID associated with each point next to the point.
Cell numbers The cell numbers item is used to display the ID associated with each cell at the centroid of the cell.
Scalar values The Scalar Values item is used to display the scalar values of the active dataset for each node next to the node.
Face contours Most of the objects supported by SMS can be contoured by turning on the Contour Options in the Display Options dialog. When an object is contoured, the values associated with the active dataset for the object are used to generate the contours.
Point contours The same Contour Options but applied to points.
Vectors Vector arrows are displayed using the active vector dataset.
Isosurfaces Isosurfaces are the 3D equivalent of a contour line. An isosurface is a surface of constant value extracted from a 3D dataset.
Clip Creates a clipping widget that can be used to hide part of the UGrid. Clicking the Options button will bring up the UGrid Clip Settings dialog. The options include setting the widget to be a plane, which can be manipulated with the mouse in the Graphics Window, or to be a scalar or scalar range, which work like isosurfaces. Whole cells or partial cells can be clipped.
Copy Display Options to UGrid(s) The current UGrid Display Options can be copied to other UGrids. This button brings up a dialog to select the UGrids that the Display Options will be copied to.
The Display Options dialog showing the 3D UGrid tab.

UGrid Clip Settings

The UGrid Clip Settings dialog

The Ugrid Clip Settings dialog allows setting parameters for clipping the UGrid display. The dialog has the following options:

  • Clip Type – Can be set to "Plane", "Scalar", or "Scalar Range".
    • "Plane" – Defines a clipping plane that cuts through the Ugrid. Allows the Edit Clip Plane tool to be used.
    • "Scalar" – Defines the clipping area based on a single value.
    • "Scalar Range" – Defines the clipping area based on a minimum and maximum value.
  • Clip To – Set the clipping to use "Whole Cells" or "Partial Cells".
    • "Whole Cells" will display the entire cell when the majority of the cell is inside the clipping plane.
    • "Partial Cells" will create a smoother display as portions of cells inside the clipping plane will be displayed.
  • Scalar Value – Creates a clipping region based on the set scalar value.
  • Minimum Scalar Value – The lowers scalar value for the clipping range.
  • Maximum Scalar Value – The highest scalar value for the clipping range.
  • Plane Point X – Defines the location on the X axis of the the central clipping point.
  • Plane Point Y – Defines the location on the Y axis of the the central clipping point.
  • Plane Point Z – Defines the location on the Z axis of the the central clipping point.
  • Plane Normal X – Determines the X value used in the plane calculation.
  • Plane Normal Y – Determines the Y value used in the plane calculation.
  • Plane Normal X – Determines the Z value used in the plane calculation.
  • Inverted – The clipping area will be inverted when this option is set to "On".