Ticket #3715 (closed: fixed)
vtkMDEWHexahedronFactory: 4D case, allow specifying which position to slice at in the 4th dimension
Reported by: | Janik Zikovsky | Owned by: | Owen Arnold |
---|---|---|---|
Priority: | major | Milestone: | Release 2.0 |
Component: | VATES | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Michael Reuter |
Description
The hexahedron factory allows slicing 4D cubes into 3D and right now it defaults to 4th dimension slice at t = 0.
A way to specify the T position in the GUI to display the cubes is needed; minor modifications to vtkMDEWHexahedronFactory are needed to pass through that value.
For iteration 31, probably.
Refs #3551
Change History
comment:3 Changed 9 years ago by Owen Arnold
This feature is already present. Timestep values are picked up from the PV time/animation control. Time values are piped through to the vtkThresholdingUnstructuredGrid factory. If it is passed a 3D workspace then the vtkThresholdingUnstructuredGridFactory will identify it in it's initialize method and delegate to a successor. If a sucessor is set to be a vtkThresholdingHexahedronFactory (which handles 3D) then the timestep is of no concern. This happens when the time dimension is integrated.
Have I got this right, or is there some other use-case that I'm not considering?
comment:4 Changed 9 years ago by Janik Zikovsky
I meant for the MDEW hexahedron display; the vtkThresholdingHexahedronFactory is only for a MDHistoWorkspace.
You can slice through the 4D of a MDEventWorkspace to show 3D and you could basically choose any "time" between the extents - it is not limited to a particular step because the recursive binning means you might have more detail at any other time. Therefore it seems like a slider would be a good way to go. Paraview's 'time' control with fixed number of steps is less well suited.
comment:5 Changed 9 years ago by Janik Zikovsky
- Status changed from accepted to verify
- Resolution set to fixed
comment:7 Changed 9 years ago by Michael Reuter
- Status changed from verify to verifying
- Tester set to Michael Reuter
Same issue for many of the other vtkDataSet types especially after rebinning/collapsing a dimension down.