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

#include <CellLocatorUniformGrid.h>

Classes

struct  LastCell
 

Public Member Functions

VTKM_CONT CellLocatorUniformGrid (const vtkm::Id3 cellDims, const vtkm::Vec3f origin, const vtkm::Vec3f invSpacing, const vtkm::Vec3f maxPoint)
 
VTKM_EXEC bool IsInside (const vtkm::Vec3f &point) const
 
VTKM_EXEC vtkm::ErrorCode FindCell (const vtkm::Vec3f &point, vtkm::Id &cellId, vtkm::Vec3f &parametric, LastCell &vtkmNotUsed(lastCell)) const
 
VTKM_EXEC 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_CONT 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_EXEC vtkm::ErrorCode vtkm::exec::CellLocatorUniformGrid::FindCell ( const vtkm::Vec3f point,
vtkm::Id cellId,
vtkm::Vec3f parametric 
) const
inline

◆ FindCell() [2/2]

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

◆ IsInside()

VTKM_EXEC 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: