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

#include <CellLocatorUniformGrid.h>

Classes

struct  LastCell
 

Public Member Functions

 CellLocatorUniformGrid (const vtkm::Id3 cellDims, const vtkm::Vec3f origin, const vtkm::Vec3f invSpacing, const vtkm::Vec3f maxPoint)
 
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 Attributes

vtkm::Id3 CellDims
 
vtkm::Id3 MaxCellIds
 
vtkm::Vec3f Origin
 
vtkm::Vec3f InvSpacing
 
vtkm::Vec3f MaxPoint
 

Constructor & Destructor Documentation

◆ CellLocatorUniformGrid()

vtkm::exec::CellLocatorUniformGrid::CellLocatorUniformGrid ( const vtkm::Id3  cellDims,
const vtkm::Vec3f  origin,
const vtkm::Vec3f  invSpacing,
const vtkm::Vec3f  maxPoint 
)
inline

Member Function Documentation

◆ FindCell() [1/2]

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

◆ FindCell() [2/2]

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

◆ IsInside()

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

Member Data Documentation

◆ CellDims

vtkm::Id3 vtkm::exec::CellLocatorUniformGrid::CellDims
private

◆ InvSpacing

vtkm::Vec3f vtkm::exec::CellLocatorUniformGrid::InvSpacing
private

◆ MaxCellIds

vtkm::Id3 vtkm::exec::CellLocatorUniformGrid::MaxCellIds
private

◆ MaxPoint

vtkm::Vec3f vtkm::exec::CellLocatorUniformGrid::MaxPoint
private

◆ Origin

vtkm::Vec3f vtkm::exec::CellLocatorUniformGrid::Origin
private

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