Selection Again: Difference between revisions
DaveDemarle (talk | contribs) (Selection for ParaView 3.2) |
DaveDemarle (talk | contribs) |
||
Line 10: | Line 10: | ||
== User Interface == | == User Interface == | ||
Keep the interaction we have in 3.0 that creates surface selections. We will call this creating the '''active selection'''. We add, probably via a dropdown menu next to the current rubber band icon, the ability to change from surface selection to other types of selection (at least frustum). Other operations, like choosing a set of bars in the histogram view, also create (resetting if necessary) the active selection. | Keep the interaction we have in 3.0 that creates surface selections. We will call this creating the '''active selection'''. We add, probably via a dropdown menu next to the current rubber band icon, the ability to change from creating a surface selection to creating one of the other types of selection (at least frustum). Other operations, like choosing a set of bars in the histogram view, also create (resetting if necessary) the active selection. | ||
We will create a '''selection inspector''' panel which displays the active selection and allows the user to manually change it. When the selection is manually changed, there will be visual feedback in the appropriate view or views that show the selection. For surface selection the panel will be a list of those ids that were discovered with a rubber band operation. Ids can be added to or deleted from the list. For frustum selection the panel will be associated with a vtkBoxWidget like 3D widget that will show the bounds of the frustum and make it editable. Additional controls will be included on the panel. "Invert Selection" and "Preserve Topology" controls can be common to all selection types. Other controls, appropriate to each selection type will appear dependent on the active selection's type. "Partially Within" will appear for frustum selection for example. "Array Name" will be shown for threshold and value selection. | We will create a '''selection inspector''' panel which displays the active selection and allows the user to manually change it. When the selection is manually changed, there will be visual feedback in the appropriate view or views that show the selection. For surface selection the panel will be a list of those ids that were discovered with a rubber band operation. Ids can be added to or deleted from the list. For frustum selection the panel will be associated with a vtkBoxWidget like 3D widget that will show the bounds of the frustum and make it editable. Additional controls will be included on the panel. "Invert Selection" and "Preserve Topology" controls can be common to all selection types. Other controls, appropriate to each selection type will appear dependent on the active selection's type. "Partially Within" will appear for frustum selection for example. "Array Name" will be shown for threshold and value selection. | ||
We will have a single '''extract selection''' filter that the user can apply to make the active selection permanent as the basis for additional filtering. When there is an active selection the filter will be created by copying in the contents of the active selection | We will have a single '''extract selection''' filter that the user can apply to make the active selection permanent as the basis for additional filtering. When there is an active selection the filter will be created by copying in the contents of the active selection. It will not clear the active selection. When there is no active selection the filter will start off empty, selecting nothing. This object inspector panel for the filter will contain only one button - "Copy Active Selection". That button will replace any existing contents with the active selection. The active selection will remain unchanged. Information about the data subset represented by the panel can be discovered in other windows in the application. | ||
== IMPLEMENTATION == | == IMPLEMENTATION == |
Revision as of 14:08, 25 July 2007
This page describes ongoing improvements to ParaView's selection capabilities.
Goals
- Keep it easy to quickly inspect portions of the data.
- Make it easy to use the portion of the data selected as input to additional filters.
- Conform to the paraview paradigm of create filter-manipulate values-apply.
- Reintroduce additional selection operations - frustum, threshold, location and value as time permits.
- Link selections among all appropriate views, editing selection in any one will show feedback in all others that show the same data.
User Interface
Keep the interaction we have in 3.0 that creates surface selections. We will call this creating the active selection. We add, probably via a dropdown menu next to the current rubber band icon, the ability to change from creating a surface selection to creating one of the other types of selection (at least frustum). Other operations, like choosing a set of bars in the histogram view, also create (resetting if necessary) the active selection.
We will create a selection inspector panel which displays the active selection and allows the user to manually change it. When the selection is manually changed, there will be visual feedback in the appropriate view or views that show the selection. For surface selection the panel will be a list of those ids that were discovered with a rubber band operation. Ids can be added to or deleted from the list. For frustum selection the panel will be associated with a vtkBoxWidget like 3D widget that will show the bounds of the frustum and make it editable. Additional controls will be included on the panel. "Invert Selection" and "Preserve Topology" controls can be common to all selection types. Other controls, appropriate to each selection type will appear dependent on the active selection's type. "Partially Within" will appear for frustum selection for example. "Array Name" will be shown for threshold and value selection.
We will have a single extract selection filter that the user can apply to make the active selection permanent as the basis for additional filtering. When there is an active selection the filter will be created by copying in the contents of the active selection. It will not clear the active selection. When there is no active selection the filter will start off empty, selecting nothing. This object inspector panel for the filter will contain only one button - "Copy Active Selection". That button will replace any existing contents with the active selection. The active selection will remain unchanged. Information about the data subset represented by the panel can be discovered in other windows in the application.
IMPLEMENTATION
pqSelectionManager pqRubberBandHelper
vtkSMSelectionProxy vtkSelectionSource
vtkExtractSelection