VTK-m  2.0
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
vtkm::rendering::raytracing::MortonCodeFace Class Reference

#include <MortonCodes.h>

Inheritance diagram for vtkm::rendering::raytracing::MortonCodeFace:
vtkm::worklet::WorkletVisitCellsWithPoints vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint > vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(CellSetIn cellset, WholeArrayIn, FieldInCell, WholeArrayOut, WholeArrayOut)
 
using ExecutionSignature = void(CellShape, IncidentElementIndices, WorkIndex, _2, _3, _4, _5)
 
- Public Types inherited from vtkm::worklet::WorkletVisitCellsWithPoints
using FieldInPoint = FieldInIncident
 
using FieldInCell = FieldInVisit
 
using FieldOutCell = FieldOut
 
using FieldInOutCell = FieldInOut
 
using PointCount = IncidentElementCount
 
using PointIndices = IncidentElementIndices
 
- Public Types inherited from vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint >
using VisitTopologyType = vtkm::TopologyElementTagCell
 
using IncidentTopologyType = vtkm::TopologyElementTagPoint
 

Public Member Functions

VTKM_CONT MortonCodeFace (const vtkm::Vec3f_32 &inverseExtent, const vtkm::Vec3f_32 &minCoordinate)
 
template<typename CellShape , typename CellNodeVecType , typename PointPortalType , typename MortonPortalType , typename CellFaceIdsPortalType >
VTKM_EXEC void operator() (const CellShape &cellShape, const CellNodeVecType &cellIndices, const vtkm::Id &cellId, const PointPortalType &points, const vtkm::Id &offset, MortonPortalType &mortonCodes, CellFaceIdsPortalType &cellFaceIds) const
 
- Public Member Functions inherited from vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint >
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC vtkm::exec::arg::ThreadIndicesTopologyMap< InputDomainType, vtkm::exec::arg::CustomScatterOrMaskTagGetThreadIndices (vtkm::Id threadIndex, const OutToInArrayType &outToIn, const VisitArrayType &visit, const ThreadToOutArrayType &threadToOut, const InputDomainType &connectivity) const
 Topology map worklets use topology map indices. More...
 
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC EnableFnWhen< S &&M, vtkm::exec::arg::ThreadIndicesTopologyMap< InputDomainType, vtkm::exec::arg::DefaultScatterAndMaskTag > > GetThreadIndices (vtkm::Id threadIndex1D, const vtkm::Id3 &threadIndex3D, const OutToInArrayType &vtkmNotUsed(outToIn), const VisitArrayType &vtkmNotUsed(visit), const ThreadToOutArrayType &vtkmNotUsed(threadToOut), const InputDomainType &connectivity) const
 Optimized for ScatterIdentity and MaskNone. More...
 
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC EnableFnWhen<!(S &&M), vtkm::exec::arg::ThreadIndicesTopologyMap< InputDomainType, vtkm::exec::arg::CustomScatterOrMaskTag > > GetThreadIndices (vtkm::Id threadIndex1D, const vtkm::Id3 &threadIndex3D, const OutToInArrayType &outToIn, const VisitArrayType &visit, const ThreadToOutArrayType &threadToOut, const InputDomainType &connectivity) const
 Default version. More...
 

Private Member Functions

VTKM_EXEC void Normalize (vtkm::Vec3f_32 &point) const
 
VTKM_EXEC void Sort4 (vtkm::Id4 &indices) const
 

Private Attributes

vtkm::Vec3f_32 InverseExtent
 
vtkm::Vec3f_32 MinCoordinate
 

Member Typedef Documentation

◆ ControlSignature

using vtkm::rendering::raytracing::MortonCodeFace::ControlSignature = void(CellSetIn cellset, WholeArrayIn, FieldInCell, WholeArrayOut, WholeArrayOut)

◆ ExecutionSignature

using vtkm::rendering::raytracing::MortonCodeFace::ExecutionSignature = void(CellShape, IncidentElementIndices, WorkIndex, _2, _3, _4, _5)

Constructor & Destructor Documentation

◆ MortonCodeFace()

VTKM_CONT vtkm::rendering::raytracing::MortonCodeFace::MortonCodeFace ( const vtkm::Vec3f_32 inverseExtent,
const vtkm::Vec3f_32 minCoordinate 
)
inline

Member Function Documentation

◆ Normalize()

VTKM_EXEC void vtkm::rendering::raytracing::MortonCodeFace::Normalize ( vtkm::Vec3f_32 point) const
inlineprivate

◆ operator()()

template<typename CellShape , typename CellNodeVecType , typename PointPortalType , typename MortonPortalType , typename CellFaceIdsPortalType >
VTKM_EXEC void vtkm::rendering::raytracing::MortonCodeFace::operator() ( const CellShape &  cellShape,
const CellNodeVecType &  cellIndices,
const vtkm::Id cellId,
const PointPortalType &  points,
const vtkm::Id offset,
MortonPortalType &  mortonCodes,
CellFaceIdsPortalType &  cellFaceIds 
) const
inline

◆ Sort4()

VTKM_EXEC void vtkm::rendering::raytracing::MortonCodeFace::Sort4 ( vtkm::Id4 indices) const
inlineprivate

Member Data Documentation

◆ InverseExtent

vtkm::Vec3f_32 vtkm::rendering::raytracing::MortonCodeFace::InverseExtent
private

◆ MinCoordinate

vtkm::Vec3f_32 vtkm::rendering::raytracing::MortonCodeFace::MinCoordinate
private

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