28
Selection in ParaView Utkarsh Ayachit Kitware Inc.

Selection in ParaView

  • Upload
    gwen

  • View
    71

  • Download
    0

Embed Size (px)

DESCRIPTION

Selection in ParaView. Utkarsh Ayachit Kitware Inc. Selection. Mechanism to identify subset of a dataset Focus on selected subset Inspect properties of the subset Further process subset alone Track subset over time. Focus on subset. Track subset over time. Selection in ParaView. - PowerPoint PPT Presentation

Citation preview

Page 1: Selection in ParaView

Selection in ParaView

Utkarsh Ayachit

Kitware Inc.

Page 2: Selection in ParaView

Selection

• Mechanism to identify subset of a dataset• Focus on selected subset

• Inspect properties of the subset• Further process subset alone

• Track subset over time

Page 3: Selection in ParaView

Focus on subset

Page 4: Selection in ParaView

Track subset over time

Page 5: Selection in ParaView

Selection in ParaView

• What are we selecting?• Data produced by a source

• Active Selection• One application wide selection• All views show the same selection if possible• Creating a new selection results in removing the old one• Transient: cannot be saved in state files, does not respect

undo/redo.

Page 6: Selection in ParaView

Selection Components

• Selection Inspector• Inspect the active selection

• Spreadsheet View• Inspect the selected data

Page 7: Selection in ParaView

Active Selection Inspector

• Accessible through View | Selection Inspector

• Used to create/modify active selection

• Shows the properties of the active selection

• Control how the active selection is shown

Page 8: Selection in ParaView

Create new selection

Active selectionproperties

Selected cells ids

Selection type

Selection displayProperties/Labeling

Page 9: Selection in ParaView

Spreadsheet View

• Used to view the raw cell/point data

• To create: split an existing view and select “Spreadsheet view”

• Display tab provides option to view only selected items

Page 10: Selection in ParaView

What is shown in the view

Show only selected items

Select block to inspect

Attribute shown

Page 11: Selection in ParaView

Selecting using 3D View

• Surface cells/points• Cells/Points within a frustum• Blocks in a composite dataset

Page 12: Selection in ParaView

Select Cells on surface

• Used to select any set of visible cells on the surface of a dataset

• Representation should be points / wireframe / surface / surface with edges

• With 3D view active, use the ‘Select Cells On’ tool button (shortcut ‘S’) to enter selection mode

• Click and drag to select cells

Page 13: Selection in ParaView

Select Points on surface

• Same as selecting cells on surface except use ‘Select Points On’ tool button.

Page 14: Selection in ParaView

Selection Linking

• Selection is linked among all views (whenever possible)

• Active selection is shown in all view (whenever possible)

Page 15: Selection in ParaView

Select Cells Through

• Select all cells intersecting a frustum

• Use ‘Select Cells Through’ • Selection Inspector has a

check button to show the selection frustum

• Use ‘Select Points Through’ for selecting points

Page 16: Selection in ParaView

Select Blocks

• Select blocks in a composite dataset

Page 17: Selection in ParaView

Composite Datasets

• Composite datasets are datasets comprising of other datasets.

• Group together assemblies: vtkMultiBlockDataSet

• Adaptive mesh refinement: vtkHierarchicalBoxDataSet

Page 18: Selection in ParaView

Select Blocks

• Use ‘Select Block’ (shortcut ‘B’) to select blocks in a composite dataset

• Keep Ctrl pressed when clicking to add to existing selected blocks

Page 19: Selection in ParaView

Selecting using Spreadsheet View

• Can create Point/Cell index based selections (depending on what attribute is being shown)

• Click to select rows as one would in any spreadsheet application

• Can use modifiers such as Ctrl, Shift while selecting

• Selection is shown in all views

Page 20: Selection in ParaView

Selecting using Selection Inspector

• Create new selections• Convert selections

• id based to global id based• frustum to id based

• Modify existing selection

Page 21: Selection in ParaView

Location based selection

• Select cell enclosing the location or select point closet to the location within a threshold

• Created using the Selection Inspector and changing the selection type to Locations

• Provides widgets to specify locations

Page 22: Selection in ParaView

Threshold based selection

• Select cells or points that have an attribute value within the specified range

• Created using Selection Inspector

Page 23: Selection in ParaView

Labeling Selected Items

• Label selected cells/points using Selection Inspector

• Choose the array/id to label with

Page 24: Selection in ParaView

Extract Selection

• Extract selected subset for further processing

• Create ‘Extract Selection’ filter• Make selection and ‘Copy

Active Selection’• Hit ‘Apply’

Page 25: Selection in ParaView

Extract Selection

• Once a selection is extracted it’s treated as a first class data source.

• One can apply filters to it as usual.

• Extracted selection get saved in state files.

Page 26: Selection in ParaView

Plot Selection over Time

• Plot data variable changes over time for a set of cells or points

• Use ‘Plot Selection Over Time’ filter

• Make selection and ‘Copy Active Selection’

• Output can be shown on a XY plot

Page 27: Selection in ParaView

Plot Selection over Time

• Changes for each cell/point selected can be plotted, one at a time, by choosing the block on the Display Tab

Page 28: Selection in ParaView

Conclusion

• Selection provides mechanism to focus on a subset of the dataset• Selection identifies the cells/points in the output of a filter/source• Active selection is shown in all views (when applicable)• Selection inspector can be used to create/modify the active selection• Spreadsheet view can be used to explore the attribute values for the

selected items• Extracting a selection makes it possible to further processes the

selected subset