Selection in an application over VTK: Difference between revisions
From ParaQ Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
# I want to select something in my VTK view and have the selection show up in my Qt View | # I want to select something in my VTK view and have the selection show up in my Qt View | ||
# I want to select something in my Qt view and have the selection show up in my VTK View | # I want to select something in my Qt view and have the selection show up in my VTK View | ||
# I want to select something in my Qt view and create a new vtk dataset | # I want to select something in my Qt view and create a new vtk dataset that is a subset of the current dataset. | ||
So I will need a filter that takes a selectionSet and a vtkDataset and produces a vtkDataset. This filter will be like vtkThreshold. Also it will need to have an In/Out ivar... meaning that I may want the selected items or everything but the selected items to come out as output. | So I will need a filter that takes a selectionSet and a vtkDataset and produces a vtkDataset. This filter will be like vtkThreshold. Also it will need to have an In/Out ivar... meaning that I may want the selected items or everything but the selected items to come out as output. |
Revision as of 16:26, 24 July 2006
Use Case Description
- I have two windows in the application. A VTK (QVTK) window with a vtkDataset, and a QTreeView.
- I want to select something in my VTK view and have the selection show up in my Qt View
- I want to select something in my Qt view and have the selection show up in my VTK View
- I want to select something in my Qt view and create a new vtk dataset that is a subset of the current dataset.
So I will need a filter that takes a selectionSet and a vtkDataset and produces a vtkDataset. This filter will be like vtkThreshold. Also it will need to have an In/Out ivar... meaning that I may want the selected items or everything but the selected items to come out as output.