VTK-m  2.0
Public Member Functions | List of all members
vtkm::worklet::contourtree_augmented::GetPointDimensions Struct Reference

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
 

Detailed Description

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.

Member Function Documentation

◆ operator()() [1/3]

template<typename T >
void vtkm::worklet::contourtree_augmented::GetPointDimensions::operator() ( const T &  ,
vtkm::Id3  
) const
inline

Raise ErrorBadValue if the input cell set is not a vtkm::cont::CellSetStructured<2> or <3>

◆ operator()() [2/3]

void vtkm::worklet::contourtree_augmented::GetPointDimensions::operator() ( const vtkm::cont::CellSetStructured< 2 > &  cells,
vtkm::Id3 pointDimensions 
) const
inline

Get the number of rows, cols, and slices of a vtkm::cont::CellSetStructured

Parameters
[in]cellsThe input vtkm::cont::CellSetStructured
[out]pointDimensionsmesh size (#cols, #rows #slices in old notation) with last dimension having a value of 1 for 2D data

◆ operator()() [3/3]

void vtkm::worklet::contourtree_augmented::GetPointDimensions::operator() ( const vtkm::cont::CellSetStructured< 3 > &  cells,
vtkm::Id3 pointDimensions 
) const
inline

Get the number of rows, cols, and slices of a vtkm::cont::CellSetStructured

Parameters
[in]cellsThe input vtkm::cont::CellSetStructured
[out]pointDimensionsmesh size (#cols, #rows #slices in old notation) with last dimension having a value of 1 for 2D data

The documentation for this struct was generated from the following file: