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

#include <MeshConnectivity.h>

Public Member Functions

VTKM_CONT MeshConnectivitySingleType (const IdHandle &faceConn, const IdHandle &cellConn, const CountingHandle &cellOffsets, vtkm::Int32 shapeId, vtkm::Int32 numIndices, vtkm::Int32 numFaces, vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
 
VTKM_EXEC vtkm::Id GetConnectingCell (const vtkm::Id &cellId, const vtkm::Id &face) const
 
VTKM_EXEC vtkm::Int32 GetCellIndices (vtkm::Id cellIndices[8], const vtkm::Id &cellId) const
 
VTKM_EXEC vtkm::UInt8 GetCellShape (const vtkm::Id &vtkmNotUsed(cellId)) const
 

Protected Types

using IdHandle = typename vtkm::cont::ArrayHandle< vtkm::Id >
 
using IdConstPortal = typename IdHandle::ReadPortalType
 
using CountingHandle = typename vtkm::cont::ArrayHandleCounting< vtkm::Id >
 
using CountingPortal = typename CountingHandle::ReadPortalType
 

Protected Attributes

IdConstPortal FaceConnPortal
 
IdConstPortal CellConnectivityPortal
 
CountingPortal CellOffsetsPortal
 
vtkm::Int32 ShapeId
 
vtkm::Int32 NumIndices
 
vtkm::Int32 NumFaces
 

Member Typedef Documentation

◆ CountingHandle

◆ CountingPortal

using vtkm::rendering::raytracing::MeshConnectivitySingleType::CountingPortal = typename CountingHandle::ReadPortalType
protected

◆ IdConstPortal

using vtkm::rendering::raytracing::MeshConnectivitySingleType::IdConstPortal = typename IdHandle::ReadPortalType
protected

◆ IdHandle

Constructor & Destructor Documentation

◆ MeshConnectivitySingleType()

VTKM_CONT vtkm::rendering::raytracing::MeshConnectivitySingleType::MeshConnectivitySingleType ( const IdHandle faceConn,
const IdHandle cellConn,
const CountingHandle cellOffsets,
vtkm::Int32  shapeId,
vtkm::Int32  numIndices,
vtkm::Int32  numFaces,
vtkm::cont::DeviceAdapterId  device,
vtkm::cont::Token token 
)
inline

Member Function Documentation

◆ GetCellIndices()

VTKM_EXEC vtkm::Int32 vtkm::rendering::raytracing::MeshConnectivitySingleType::GetCellIndices ( vtkm::Id  cellIndices[8],
const vtkm::Id cellId 
) const
inline

◆ GetCellShape()

VTKM_EXEC vtkm::UInt8 vtkm::rendering::raytracing::MeshConnectivitySingleType::GetCellShape ( const vtkm::Id vtkmNotUsedcellId) const
inline

◆ GetConnectingCell()

VTKM_EXEC vtkm::Id vtkm::rendering::raytracing::MeshConnectivitySingleType::GetConnectingCell ( const vtkm::Id cellId,
const vtkm::Id face 
) const
inline

Member Data Documentation

◆ CellConnectivityPortal

IdConstPortal vtkm::rendering::raytracing::MeshConnectivitySingleType::CellConnectivityPortal
protected

◆ CellOffsetsPortal

CountingPortal vtkm::rendering::raytracing::MeshConnectivitySingleType::CellOffsetsPortal
protected

◆ FaceConnPortal

IdConstPortal vtkm::rendering::raytracing::MeshConnectivitySingleType::FaceConnPortal
protected

◆ NumFaces

vtkm::Int32 vtkm::rendering::raytracing::MeshConnectivitySingleType::NumFaces
protected

◆ NumIndices

vtkm::Int32 vtkm::rendering::raytracing::MeshConnectivitySingleType::NumIndices
protected

◆ ShapeId

vtkm::Int32 vtkm::rendering::raytracing::MeshConnectivitySingleType::ShapeId
protected

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