VTK-m  2.2
Classes | Public Member Functions | Private Types | Static Private Member Functions | Private Attributes | List of all members
vtkm::exec::CellLocatorRectilinearGrid Class Reference

#include <CellLocatorRectilinearGrid.h>

Classes

struct  LastCell
 

Public Member Functions

template<vtkm::IdComponent dimensions>
 CellLocatorRectilinearGrid (const vtkm::Id planeSize, const vtkm::Id rowSize, const vtkm::cont::CellSetStructured< dimensions > &cellSet, const RectilinearType &coords, vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
 
bool IsInside (const vtkm::Vec3f &point) const
 
vtkm::ErrorCode FindCell (const vtkm::Vec3f &point, vtkm::Id &cellId, vtkm::Vec3f &parametric, LastCell &) const
 
vtkm::ErrorCode FindCell (const vtkm::Vec3f &point, vtkm::Id &cellId, vtkm::Vec3f &parametric) const
 

Private Types

using AxisHandle = vtkm::cont::ArrayHandle< vtkm::FloatDefault >
 
using RectilinearType = vtkm::cont::ArrayHandleCartesianProduct< AxisHandle, AxisHandle, AxisHandle >
 
using AxisPortalType = typename AxisHandle::ReadPortalType
 
using RectilinearPortalType = typename RectilinearType::ReadPortalType
 

Static Private Member Functions

static vtkm::Id3 && ToId3 (vtkm::Id3 &&src)
 
static vtkm::Id3 ToId3 (vtkm::Id2 &&src)
 
static vtkm::Id3 ToId3 (vtkm::Id &&src)
 

Private Attributes

vtkm::Id PlaneSize
 
vtkm::Id RowSize
 
AxisPortalType AxisPortals [3]
 
vtkm::Id3 PointDimensions
 
vtkm::Vec3f MinPoint
 
vtkm::Vec3f MaxPoint
 
vtkm::Id Dimensions
 

Member Typedef Documentation

◆ AxisHandle

◆ AxisPortalType

◆ RectilinearPortalType

◆ RectilinearType

Constructor & Destructor Documentation

◆ CellLocatorRectilinearGrid()

template<vtkm::IdComponent dimensions>
vtkm::exec::CellLocatorRectilinearGrid::CellLocatorRectilinearGrid ( const vtkm::Id  planeSize,
const vtkm::Id  rowSize,
const vtkm::cont::CellSetStructured< dimensions > &  cellSet,
const RectilinearType coords,
vtkm::cont::DeviceAdapterId  device,
vtkm::cont::Token token 
)
inline

Member Function Documentation

◆ FindCell() [1/2]

vtkm::ErrorCode vtkm::exec::CellLocatorRectilinearGrid::FindCell ( const vtkm::Vec3f point,
vtkm::Id cellId,
vtkm::Vec3f parametric 
) const
inline

◆ FindCell() [2/2]

vtkm::ErrorCode vtkm::exec::CellLocatorRectilinearGrid::FindCell ( const vtkm::Vec3f point,
vtkm::Id cellId,
vtkm::Vec3f parametric,
LastCell  
) const
inline

◆ IsInside()

bool vtkm::exec::CellLocatorRectilinearGrid::IsInside ( const vtkm::Vec3f point) const
inline

◆ ToId3() [1/3]

static vtkm::Id3 vtkm::exec::CellLocatorRectilinearGrid::ToId3 ( vtkm::Id &&  src)
inlinestaticprivate

◆ ToId3() [2/3]

static vtkm::Id3 vtkm::exec::CellLocatorRectilinearGrid::ToId3 ( vtkm::Id2 &&  src)
inlinestaticprivate

◆ ToId3() [3/3]

static vtkm::Id3&& vtkm::exec::CellLocatorRectilinearGrid::ToId3 ( vtkm::Id3 &&  src)
inlinestaticprivate

Member Data Documentation

◆ AxisPortals

AxisPortalType vtkm::exec::CellLocatorRectilinearGrid::AxisPortals[3]
private

◆ Dimensions

vtkm::Id vtkm::exec::CellLocatorRectilinearGrid::Dimensions
private

◆ MaxPoint

vtkm::Vec3f vtkm::exec::CellLocatorRectilinearGrid::MaxPoint
private

◆ MinPoint

vtkm::Vec3f vtkm::exec::CellLocatorRectilinearGrid::MinPoint
private

◆ PlaneSize

vtkm::Id vtkm::exec::CellLocatorRectilinearGrid::PlaneSize
private

◆ PointDimensions

vtkm::Id3 vtkm::exec::CellLocatorRectilinearGrid::PointDimensions
private

◆ RowSize

vtkm::Id vtkm::exec::CellLocatorRectilinearGrid::RowSize
private

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