VTK-m
2.0
|
Helper struct to collect sizing information from a dataset. More...
#include <Types.h>
Public Member Functions | |
template<typename T > | |
void | operator() (const T &, vtkm::Id3 &) const |
Raise ErrorBadValue if the input cell set is not a vtkm::cont::CellSetStructured<2> or <3> More... | |
void | operator() (const vtkm::cont::CellSetStructured< 2 > &cells, vtkm::Id3 &pointDimensions) const |
void | operator() (const vtkm::cont::CellSetStructured< 3 > &cells, vtkm::Id3 &pointDimensions) const |
Helper struct to collect sizing information from a dataset.
The struct is used in the contour tree filter implementation to determine the rows, cols, slices parameters from the datasets so we can call the contour tree worklet properly.
|
inline |
Raise ErrorBadValue if the input cell set is not a vtkm::cont::CellSetStructured<2> or <3>
|
inline |
Get the number of rows, cols, and slices of a vtkm::cont::CellSetStructured
[in] | cells | The input vtkm::cont::CellSetStructured |
[out] | pointDimensions | mesh size (#cols, #rows #slices in old notation) with last dimension having a value of 1 for 2D data |
|
inline |
Get the number of rows, cols, and slices of a vtkm::cont::CellSetStructured
[in] | cells | The input vtkm::cont::CellSetStructured |
[out] | pointDimensions | mesh size (#cols, #rows #slices in old notation) with last dimension having a value of 1 for 2D data |