VTK-m  2.0
Namespaces | Classes | Functions
vtkm::worklet::flying_edges Namespace Reference

Namespaces

 data
 

Classes

struct  ComputePass1
 
struct  ComputePass2
 
struct  ComputePass4X
 
struct  ComputePass4XWithNormals
 
struct  ComputePass4Y
 
struct  ComputePass5Y
 
struct  FlyingEdges3D
 
struct  launchComputePass1
 
struct  launchComputePass4
 
struct  Pass4TrimState
 
struct  select_AxisToSum
 
struct  select_AxisToSum< vtkm::cont::DeviceAdapterTagCuda >
 
struct  select_AxisToSum< vtkm::cont::DeviceAdapterTagKokkos >
 
struct  SumXAxis
 
struct  SumYAxis
 

Functions

template<typename ValueType , typename StorageTagField , typename StorageTagVertices , typename StorageTagNormals , typename CoordinateType , typename NormalType >
vtkm::cont::CellSetSingleType execute (const vtkm::cont::CellSetStructured< 3 > &cells, const vtkm::cont::ArrayHandleUniformPointCoordinates &coordinateSystem, const std::vector< ValueType > &isovalues, const vtkm::cont::ArrayHandle< ValueType, StorageTagField > &inputField, vtkm::cont::ArrayHandle< vtkm::Vec< CoordinateType, 3 >, StorageTagVertices > &points, vtkm::cont::ArrayHandle< vtkm::Vec< NormalType, 3 >, StorageTagNormals > &normals, vtkm::worklet::contour::CommonState &sharedState)
 
vtkm::cont::CellSetStructured< 2 > make_metaDataMesh2D (SumXAxis, const vtkm::Id3 &pdims)
 
vtkm::cont::CellSetStructured< 2 > make_metaDataMesh2D (SumYAxis, const vtkm::Id3 &pdims)
 
VTKM_EXEC vtkm::Id3 compute_ijk (SumXAxis, const vtkm::Id3 &executionSpaceIJK)
 
VTKM_EXEC vtkm::Id3 compute_ijk (SumYAxis, const vtkm::Id3 &executionSpaceIJK)
 
VTKM_EXEC vtkm::Id3 compute_cdims (SumXAxis, const vtkm::Id3 &executionSpacePDims, vtkm::Id numOfXPoints)
 
VTKM_EXEC vtkm::Id3 compute_cdims (SumYAxis, const vtkm::Id3 &executionSpacePDims, vtkm::Id numOfYPoints)
 
VTKM_EXEC vtkm::Id3 compute_pdims (SumXAxis, const vtkm::Id3 &executionSpacePDims, vtkm::Id numOfXPoints)
 
VTKM_EXEC vtkm::Id3 compute_pdims (SumYAxis, const vtkm::Id3 &executionSpacePDims, vtkm::Id numOfYPoints)
 
VTKM_EXEC vtkm::Id compute_start (SumXAxis, const vtkm::Id3 &ijk, const vtkm::Id3 &dims)
 
VTKM_EXEC vtkm::Id compute_start (SumYAxis, const vtkm::Id3 &ijk, const vtkm::Id3 &dims)
 
VTKM_EXEC vtkm::Id4 compute_neighbor_starts (SumXAxis, const vtkm::Id3 &ijk, const vtkm::Id3 &pdims)
 
VTKM_EXEC vtkm::Id4 compute_neighbor_starts (SumYAxis, const vtkm::Id3 &ijk, const vtkm::Id3 &pdims)
 
VTKM_EXEC vtkm::Id compute_inc (SumXAxis, const vtkm::Id3 &)
 
VTKM_EXEC vtkm::Id compute_inc (SumYAxis, const vtkm::Id3 &dims)
 
template<typename WholeEdgeField >
VTKM_EXEC vtkm::UInt8 getEdgeCase (const WholeEdgeField &edges, const vtkm::Id4 &startPos, vtkm::Id inc)
 
template<typename WholeEdgeField , typename FieldInPointId >
VTKM_EXEC bool computeTrimBounds (vtkm::Id rightMax, const WholeEdgeField &edges, const FieldInPointId &axis_mins, const FieldInPointId &axis_maxs, const vtkm::Id4 &startPos, vtkm::Id inc, vtkm::Id &left, vtkm::Id &right)
 
template<typename Device , typename WholeEdgeField >
VTKM_EXEC void write_edge (Device, vtkm::Id write_index, WholeEdgeField &edges, vtkm::UInt8 edgeCase)
 
template<typename WholeEdgeField >
VTKM_EXEC void write_edge (vtkm::cont::DeviceAdapterTagCuda, vtkm::Id write_index, WholeEdgeField &edges, vtkm::UInt8 edgeCase)
 
VTKM_EXEC vtkm::Id3 compute_incs3d (const vtkm::Id3 &dims)
 
constexpr VTKM_EXEC vtkm::Id increment_cellId (SumXAxis, vtkm::Id cellId, vtkm::Id)
 
constexpr VTKM_EXEC vtkm::Id increment_cellId (SumYAxis, vtkm::Id cellId, vtkm::Id y_point_axis_inc)
 
VTKM_EXEC bool case_includes_axes (vtkm::UInt8 const *const edgeUses)
 
template<typename WholeConnField , typename WholeCellIdField >
VTKM_EXEC void generate_tris (vtkm::Id inputCellId, vtkm::UInt8 edgeCase, vtkm::UInt8 numTris, vtkm::Id *edgeIds, vtkm::Id &triId, const WholeConnField &conn, const WholeCellIdField &cellIds)
 
template<typename AxisToSum , typename FieldInPointId3 >
VTKM_EXEC void init_voxelIds (AxisToSum, vtkm::Id writeOffset, vtkm::UInt8 edgeCase, const FieldInPointId3 &axis_sums, vtkm::Id *edgeIds)
 
VTKM_EXEC void advance_voxelIds (vtkm::UInt8 const *const edgeUses, vtkm::Id *edgeIds)
 
VTKM_EXEC bool fully_interior (const vtkm::Vec< vtkm::UInt8, 3 > &boundaryStatus)
 

Function Documentation

◆ advance_voxelIds()

VTKM_EXEC void vtkm::worklet::flying_edges::advance_voxelIds ( vtkm::UInt8 const *const  edgeUses,
vtkm::Id edgeIds 
)
inline

◆ case_includes_axes()

VTKM_EXEC bool vtkm::worklet::flying_edges::case_includes_axes ( vtkm::UInt8 const *const  edgeUses)
inline

◆ compute_cdims() [1/2]

VTKM_EXEC vtkm::Id3 vtkm::worklet::flying_edges::compute_cdims ( SumXAxis  ,
const vtkm::Id3 executionSpacePDims,
vtkm::Id  numOfXPoints 
)
inline

◆ compute_cdims() [2/2]

VTKM_EXEC vtkm::Id3 vtkm::worklet::flying_edges::compute_cdims ( SumYAxis  ,
const vtkm::Id3 executionSpacePDims,
vtkm::Id  numOfYPoints 
)
inline

◆ compute_ijk() [1/2]

VTKM_EXEC vtkm::Id3 vtkm::worklet::flying_edges::compute_ijk ( SumXAxis  ,
const vtkm::Id3 executionSpaceIJK 
)
inline

◆ compute_ijk() [2/2]

VTKM_EXEC vtkm::Id3 vtkm::worklet::flying_edges::compute_ijk ( SumYAxis  ,
const vtkm::Id3 executionSpaceIJK 
)
inline

◆ compute_inc() [1/2]

VTKM_EXEC vtkm::Id vtkm::worklet::flying_edges::compute_inc ( SumXAxis  ,
const vtkm::Id3  
)
inline

◆ compute_inc() [2/2]

VTKM_EXEC vtkm::Id vtkm::worklet::flying_edges::compute_inc ( SumYAxis  ,
const vtkm::Id3 dims 
)
inline

◆ compute_incs3d()

VTKM_EXEC vtkm::Id3 vtkm::worklet::flying_edges::compute_incs3d ( const vtkm::Id3 dims)
inline

◆ compute_neighbor_starts() [1/2]

VTKM_EXEC vtkm::Id4 vtkm::worklet::flying_edges::compute_neighbor_starts ( SumXAxis  ,
const vtkm::Id3 ijk,
const vtkm::Id3 pdims 
)
inline

◆ compute_neighbor_starts() [2/2]

VTKM_EXEC vtkm::Id4 vtkm::worklet::flying_edges::compute_neighbor_starts ( SumYAxis  ,
const vtkm::Id3 ijk,
const vtkm::Id3 pdims 
)
inline

◆ compute_pdims() [1/2]

VTKM_EXEC vtkm::Id3 vtkm::worklet::flying_edges::compute_pdims ( SumXAxis  ,
const vtkm::Id3 executionSpacePDims,
vtkm::Id  numOfXPoints 
)
inline

◆ compute_pdims() [2/2]

VTKM_EXEC vtkm::Id3 vtkm::worklet::flying_edges::compute_pdims ( SumYAxis  ,
const vtkm::Id3 executionSpacePDims,
vtkm::Id  numOfYPoints 
)
inline

◆ compute_start() [1/2]

VTKM_EXEC vtkm::Id vtkm::worklet::flying_edges::compute_start ( SumXAxis  ,
const vtkm::Id3 ijk,
const vtkm::Id3 dims 
)
inline

◆ compute_start() [2/2]

VTKM_EXEC vtkm::Id vtkm::worklet::flying_edges::compute_start ( SumYAxis  ,
const vtkm::Id3 ijk,
const vtkm::Id3 dims 
)
inline

◆ computeTrimBounds()

template<typename WholeEdgeField , typename FieldInPointId >
VTKM_EXEC bool vtkm::worklet::flying_edges::computeTrimBounds ( vtkm::Id  rightMax,
const WholeEdgeField &  edges,
const FieldInPointId &  axis_mins,
const FieldInPointId &  axis_maxs,
const vtkm::Id4 startPos,
vtkm::Id  inc,
vtkm::Id left,
vtkm::Id right 
)
inline

◆ execute()

template<typename ValueType , typename StorageTagField , typename StorageTagVertices , typename StorageTagNormals , typename CoordinateType , typename NormalType >
vtkm::cont::CellSetSingleType vtkm::worklet::flying_edges::execute ( const vtkm::cont::CellSetStructured< 3 > &  cells,
const vtkm::cont::ArrayHandleUniformPointCoordinates coordinateSystem,
const std::vector< ValueType > &  isovalues,
const vtkm::cont::ArrayHandle< ValueType, StorageTagField > &  inputField,
vtkm::cont::ArrayHandle< vtkm::Vec< CoordinateType, 3 >, StorageTagVertices > &  points,
vtkm::cont::ArrayHandle< vtkm::Vec< NormalType, 3 >, StorageTagNormals > &  normals,
vtkm::worklet::contour::CommonState sharedState 
)

◆ fully_interior()

VTKM_EXEC bool vtkm::worklet::flying_edges::fully_interior ( const vtkm::Vec< vtkm::UInt8, 3 > &  boundaryStatus)
inline

◆ generate_tris()

template<typename WholeConnField , typename WholeCellIdField >
VTKM_EXEC void vtkm::worklet::flying_edges::generate_tris ( vtkm::Id  inputCellId,
vtkm::UInt8  edgeCase,
vtkm::UInt8  numTris,
vtkm::Id edgeIds,
vtkm::Id triId,
const WholeConnField &  conn,
const WholeCellIdField &  cellIds 
)
inline

◆ getEdgeCase()

template<typename WholeEdgeField >
VTKM_EXEC vtkm::UInt8 vtkm::worklet::flying_edges::getEdgeCase ( const WholeEdgeField &  edges,
const vtkm::Id4 startPos,
vtkm::Id  inc 
)
inline

◆ increment_cellId() [1/2]

constexpr VTKM_EXEC vtkm::Id vtkm::worklet::flying_edges::increment_cellId ( SumXAxis  ,
vtkm::Id  cellId,
vtkm::Id   
)
inlineconstexpr

◆ increment_cellId() [2/2]

constexpr VTKM_EXEC vtkm::Id vtkm::worklet::flying_edges::increment_cellId ( SumYAxis  ,
vtkm::Id  cellId,
vtkm::Id  y_point_axis_inc 
)
inlineconstexpr

◆ init_voxelIds()

template<typename AxisToSum , typename FieldInPointId3 >
VTKM_EXEC void vtkm::worklet::flying_edges::init_voxelIds ( AxisToSum  ,
vtkm::Id  writeOffset,
vtkm::UInt8  edgeCase,
const FieldInPointId3 &  axis_sums,
vtkm::Id edgeIds 
)
inline

◆ make_metaDataMesh2D() [1/2]

vtkm::cont::CellSetStructured<2> vtkm::worklet::flying_edges::make_metaDataMesh2D ( SumXAxis  ,
const vtkm::Id3 pdims 
)
inline

◆ make_metaDataMesh2D() [2/2]

vtkm::cont::CellSetStructured<2> vtkm::worklet::flying_edges::make_metaDataMesh2D ( SumYAxis  ,
const vtkm::Id3 pdims 
)
inline

◆ write_edge() [1/2]

template<typename Device , typename WholeEdgeField >
VTKM_EXEC void vtkm::worklet::flying_edges::write_edge ( Device  ,
vtkm::Id  write_index,
WholeEdgeField &  edges,
vtkm::UInt8  edgeCase 
)
inline

◆ write_edge() [2/2]

template<typename WholeEdgeField >
VTKM_EXEC void vtkm::worklet::flying_edges::write_edge ( vtkm::cont::DeviceAdapterTagCuda  ,
vtkm::Id  write_index,
WholeEdgeField &  edges,
vtkm::UInt8  edgeCase 
)
inline