VTK-m  2.0
Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
vtkm::worklet::Probe Class Reference

#include <Probe.h>

Classes

class  FindCellWorklet
 
struct  HiddenCellsWorklet
 
struct  HiddenPointsWorklet
 
class  InterpolatePointField
 
class  ProbeUniformPoints
 
struct  RunImplCaller
 
struct  RunSelectLocator
 

Public Member Functions

template<typename CellSetType , typename PointsArrayType >
void Run (const CellSetType &cells, const vtkm::cont::CoordinateSystem &coords, const PointsArrayType &points)
 
template<typename T , typename Storage , typename InputCellSetTypeList = VTKM_DEFAULT_CELL_SET_LIST>
vtkm::cont::ArrayHandle< T > ProcessPointField (const vtkm::cont::ArrayHandle< T, Storage > &field, const T &invalidValue, InputCellSetTypeList icsTypes=InputCellSetTypeList()) const
 Intepolate the input point field data at the points of the geometry. More...
 
vtkm::cont::ArrayHandle< vtkm::IdGetCellIds () const
 
vtkm::cont::ArrayHandle< vtkm::UInt8GetHiddenPointsField () const
 Get an array of flags marking the invalid points (points that do not fall inside any of the cells of the input). More...
 
template<typename CellSetType >
vtkm::cont::ArrayHandle< vtkm::UInt8GetHiddenCellsField (CellSetType cellset) const
 Get an array of flags marking the invalid cells. More...
 

Private Member Functions

template<typename CellSetType , typename PointsType , typename PointsStorage >
void RunImpl (const CellSetType &cells, const vtkm::cont::CoordinateSystem &coords, const vtkm::cont::ArrayHandle< PointsType, PointsStorage > &points)
 
template<typename CellSetType >
void RunImpl (const CellSetType &cells, const vtkm::cont::CoordinateSystem &coords, const vtkm::cont::ArrayHandleUniformPointCoordinates::Superclass &points)
 

Private Attributes

vtkm::cont::ArrayHandle< vtkm::IdCellIds
 
vtkm::cont::ArrayHandle< vtkm::Vec3fParametricCoordinates
 
vtkm::cont::UnknownCellSet InputCellSet
 
vtkm::cont::Invoker Invoke
 

Static Private Attributes

static constexpr vtkm::UInt8 HIDDEN = 2
 

Member Function Documentation

◆ GetCellIds()

vtkm::cont::ArrayHandle<vtkm::Id> vtkm::worklet::Probe::GetCellIds ( ) const
inline

◆ GetHiddenCellsField()

template<typename CellSetType >
vtkm::cont::ArrayHandle<vtkm::UInt8> vtkm::worklet::Probe::GetHiddenCellsField ( CellSetType  cellset) const
inline

Get an array of flags marking the invalid cells.

Invalid cells are the cells with at least one invalid point. The flag value is the same as the HIDDEN flag in VTK and VISIT.

◆ GetHiddenPointsField()

vtkm::cont::ArrayHandle<vtkm::UInt8> vtkm::worklet::Probe::GetHiddenPointsField ( ) const
inline

Get an array of flags marking the invalid points (points that do not fall inside any of the cells of the input).

The flag value is the same as the HIDDEN flag in VTK and VISIT.

◆ ProcessPointField()

template<typename T , typename Storage , typename InputCellSetTypeList = VTKM_DEFAULT_CELL_SET_LIST>
vtkm::cont::ArrayHandle<T> vtkm::worklet::Probe::ProcessPointField ( const vtkm::cont::ArrayHandle< T, Storage > &  field,
const T &  invalidValue,
InputCellSetTypeList  icsTypes = InputCellSetTypeList() 
) const
inline

Intepolate the input point field data at the points of the geometry.

◆ Run()

template<typename CellSetType , typename PointsArrayType >
void vtkm::worklet::Probe::Run ( const CellSetType &  cells,
const vtkm::cont::CoordinateSystem coords,
const PointsArrayType &  points 
)
inline

◆ RunImpl() [1/2]

template<typename CellSetType , typename PointsType , typename PointsStorage >
void vtkm::worklet::Probe::RunImpl ( const CellSetType &  cells,
const vtkm::cont::CoordinateSystem coords,
const vtkm::cont::ArrayHandle< PointsType, PointsStorage > &  points 
)
inlineprivate

◆ RunImpl() [2/2]

template<typename CellSetType >
void vtkm::worklet::Probe::RunImpl ( const CellSetType &  cells,
const vtkm::cont::CoordinateSystem coords,
const vtkm::cont::ArrayHandleUniformPointCoordinates::Superclass &  points 
)
inlineprivate

Member Data Documentation

◆ CellIds

vtkm::cont::ArrayHandle<vtkm::Id> vtkm::worklet::Probe::CellIds
private

◆ HIDDEN

constexpr vtkm::UInt8 vtkm::worklet::Probe::HIDDEN = 2
staticconstexprprivate

◆ InputCellSet

vtkm::cont::UnknownCellSet vtkm::worklet::Probe::InputCellSet
private

◆ Invoke

vtkm::cont::Invoker vtkm::worklet::Probe::Invoke
private

◆ ParametricCoordinates

vtkm::cont::ArrayHandle<vtkm::Vec3f> vtkm::worklet::Probe::ParametricCoordinates
private

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