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

General version of mesh connectivity that can be used for all supported mesh types. More...

#include <MeshConnectivity.h>

Public Member Functions

VTKM_CONT MeshConnectivity (const vtkm::Id3 &cellDims, const vtkm::Id3 &pointDims)
 
VTKM_CONT MeshConnectivity (const vtkm::cont::ArrayHandle< vtkm::Id > &faceConnectivity, const vtkm::cont::ArrayHandle< vtkm::Id > &faceOffsets, const vtkm::cont::ArrayHandle< vtkm::Id > &cellConn, const vtkm::cont::ArrayHandle< vtkm::Id > &cellOffsets, const vtkm::cont::ArrayHandle< vtkm::UInt8 > &shapes, vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
 
VTKM_CONT MeshConnectivity (const vtkm::cont::ArrayHandle< vtkm::Id > &faceConn, const vtkm::cont::ArrayHandle< vtkm::Id > &cellConn, const vtkm::cont::ArrayHandleCounting< vtkm::Id > &cellOffsets, vtkm::Int32 shapeId, vtkm::Int32 numIndices, vtkm::Int32 numFaces, vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
 
VTKM_EXEC_CONT vtkm::Id GetConnectingCell (const vtkm::Id &cellId, const vtkm::Id &face) const
 
VTKM_EXEC_CONT vtkm::Int32 GetCellIndices (vtkm::Id cellIndices[8], const vtkm::Id &cellId) const
 
VTKM_EXEC_CONT vtkm::UInt8 GetCellShape (const vtkm::Id &cellId) const
 

Private Types

using ConnectivityType = vtkm::exec::Variant< MeshConnectivityStructured, MeshConnectivityUnstructured, MeshConnectivitySingleType >
 

Private Attributes

ConnectivityType Connectivity
 

Detailed Description

General version of mesh connectivity that can be used for all supported mesh types.

Member Typedef Documentation

◆ ConnectivityType

Constructor & Destructor Documentation

◆ MeshConnectivity() [1/3]

VTKM_CONT vtkm::rendering::raytracing::MeshConnectivity::MeshConnectivity ( const vtkm::Id3 cellDims,
const vtkm::Id3 pointDims 
)
inline

◆ MeshConnectivity() [2/3]

VTKM_CONT vtkm::rendering::raytracing::MeshConnectivity::MeshConnectivity ( const vtkm::cont::ArrayHandle< vtkm::Id > &  faceConnectivity,
const vtkm::cont::ArrayHandle< vtkm::Id > &  faceOffsets,
const vtkm::cont::ArrayHandle< vtkm::Id > &  cellConn,
const vtkm::cont::ArrayHandle< vtkm::Id > &  cellOffsets,
const vtkm::cont::ArrayHandle< vtkm::UInt8 > &  shapes,
vtkm::cont::DeviceAdapterId  device,
vtkm::cont::Token token 
)
inline

◆ MeshConnectivity() [3/3]

VTKM_CONT vtkm::rendering::raytracing::MeshConnectivity::MeshConnectivity ( const vtkm::cont::ArrayHandle< vtkm::Id > &  faceConn,
const vtkm::cont::ArrayHandle< vtkm::Id > &  cellConn,
const vtkm::cont::ArrayHandleCounting< vtkm::Id > &  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_CONT vtkm::Int32 vtkm::rendering::raytracing::MeshConnectivity::GetCellIndices ( vtkm::Id  cellIndices[8],
const vtkm::Id cellId 
) const
inline

◆ GetCellShape()

VTKM_EXEC_CONT vtkm::UInt8 vtkm::rendering::raytracing::MeshConnectivity::GetCellShape ( const vtkm::Id cellId) const
inline

◆ GetConnectingCell()

VTKM_EXEC_CONT vtkm::Id vtkm::rendering::raytracing::MeshConnectivity::GetConnectingCell ( const vtkm::Id cellId,
const vtkm::Id face 
) const
inline

Member Data Documentation

◆ Connectivity

ConnectivityType vtkm::rendering::raytracing::MeshConnectivity::Connectivity
private

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