VTK-m  2.2
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::Id GetNumberOfElements () const
 
CellShapeTag GetCellShape (vtkm::Id) const
 
IndicesType GetIndices (vtkm::Id index) const
 
IndicesType GetIndices (const vtkm::Id2 &index) const
 
template<typename IndexType >
vtkm::IdComponent GetNumberOfIndices (const IndexType &) const
 
vtkm::Id LogicalToFlatToIndex (const vtkm::Id2 &index) const
 
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

◆ 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::Id2 vtkm::exec::ConnectivityExtrude::FlatToLogicalToIndex ( vtkm::Id  index) const
inline

◆ GetCellShape()

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

◆ GetIndices() [1/2]

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

◆ GetIndices() [2/2]

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

◆ GetNumberOfElements()

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

◆ GetNumberOfIndices()

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

◆ LogicalToFlatToIndex()

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: