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

#include <ConnectivityExtrude.h>

Public Types

using ConnectivityPortalType = Int32PortalType
 
using NextNodePortalType = Int32PortalType
 
using SchedulingRangeType = vtkm::Id2
 
using CellShapeTag = vtkm::CellShapeTagWedge
 
using IndicesType = IndicesExtrude
 

Public Member Functions

 ConnectivityExtrude ()=default
 
 ConnectivityExtrude (const ConnectivityPortalType &conn, const NextNodePortalType &nextnode, vtkm::Int32 cellsPerPlane, vtkm::Int32 pointsPerPlane, vtkm::Int32 numPlanes, bool periodic)
 
VTKM_EXEC vtkm::Id GetNumberOfElements () const
 
VTKM_EXEC CellShapeTag GetCellShape (vtkm::Id) const
 
VTKM_EXEC IndicesType GetIndices (vtkm::Id index) const
 
VTKM_EXEC IndicesType GetIndices (const vtkm::Id2 &index) const
 
template<typename IndexType >
VTKM_EXEC vtkm::IdComponent GetNumberOfIndices (const IndexType &vtkmNotUsed(index)) const
 
VTKM_EXEC vtkm::Id LogicalToFlatToIndex (const vtkm::Id2 &index) const
 
VTKM_EXEC vtkm::Id2 FlatToLogicalToIndex (vtkm::Id index) const
 

Private Types

using Int32HandleType = vtkm::cont::ArrayHandle< vtkm::Int32 >
 
using Int32PortalType = typename Int32HandleType::ReadPortalType
 

Private Attributes

ConnectivityPortalType Connectivity
 
NextNodePortalType NextNode
 
vtkm::Int32 NumberOfCellsPerPlane
 
vtkm::Int32 NumberOfPointsPerPlane
 
vtkm::Int32 NumberOfPlanes
 
vtkm::Id NumberOfCells
 

Member Typedef Documentation

◆ CellShapeTag

using vtkm::exec::ConnectivityExtrude::CellShapeTag = vtkm::CellShapeTagWedge

◆ ConnectivityPortalType

◆ IndicesType

◆ Int32HandleType

◆ Int32PortalType

◆ NextNodePortalType

◆ SchedulingRangeType

Constructor & Destructor Documentation

◆ ConnectivityExtrude() [1/2]

vtkm::exec::ConnectivityExtrude::ConnectivityExtrude ( )
default

◆ ConnectivityExtrude() [2/2]

vtkm::exec::ConnectivityExtrude::ConnectivityExtrude ( const ConnectivityPortalType conn,
const NextNodePortalType nextnode,
vtkm::Int32  cellsPerPlane,
vtkm::Int32  pointsPerPlane,
vtkm::Int32  numPlanes,
bool  periodic 
)
inline

Member Function Documentation

◆ FlatToLogicalToIndex()

VTKM_EXEC vtkm::Id2 vtkm::exec::ConnectivityExtrude::FlatToLogicalToIndex ( vtkm::Id  index) const
inline

◆ GetCellShape()

VTKM_EXEC CellShapeTag vtkm::exec::ConnectivityExtrude::GetCellShape ( vtkm::Id  ) const
inline

◆ GetIndices() [1/2]

VTKM_EXEC ConnectivityExtrude::IndicesType vtkm::exec::ConnectivityExtrude::GetIndices ( const vtkm::Id2 index) const
inline

◆ GetIndices() [2/2]

VTKM_EXEC IndicesType vtkm::exec::ConnectivityExtrude::GetIndices ( vtkm::Id  index) const
inline

◆ GetNumberOfElements()

VTKM_EXEC vtkm::Id vtkm::exec::ConnectivityExtrude::GetNumberOfElements ( ) const
inline

◆ GetNumberOfIndices()

template<typename IndexType >
VTKM_EXEC vtkm::IdComponent vtkm::exec::ConnectivityExtrude::GetNumberOfIndices ( const IndexType &  vtkmNotUsedindex) const
inline

◆ LogicalToFlatToIndex()

VTKM_EXEC vtkm::Id vtkm::exec::ConnectivityExtrude::LogicalToFlatToIndex ( const vtkm::Id2 index) const
inline

Member Data Documentation

◆ Connectivity

ConnectivityPortalType vtkm::exec::ConnectivityExtrude::Connectivity
private

◆ NextNode

NextNodePortalType vtkm::exec::ConnectivityExtrude::NextNode
private

◆ NumberOfCells

vtkm::Id vtkm::exec::ConnectivityExtrude::NumberOfCells
private

◆ NumberOfCellsPerPlane

vtkm::Int32 vtkm::exec::ConnectivityExtrude::NumberOfCellsPerPlane
private

◆ NumberOfPlanes

vtkm::Int32 vtkm::exec::ConnectivityExtrude::NumberOfPlanes
private

◆ NumberOfPointsPerPlane

vtkm::Int32 vtkm::exec::ConnectivityExtrude::NumberOfPointsPerPlane
private

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