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

#include <ConnectivityExtrude.h>

Public Types

using ConnectivityPortalType = Int32PortalType
 
using OffsetsPortalType = Int32PortalType
 
using CountsPortalType = Int32PortalType
 
using PrevNodePortalType = Int32PortalType
 
using SchedulingRangeType = vtkm::Id2
 
using CellShapeTag = vtkm::CellShapeTagVertex
 
using IndicesType = ReverseIndicesExtrude< ConnectivityPortalType >
 

Public Member Functions

 ReverseConnectivityExtrude ()=default
 
VTKM_EXEC ReverseConnectivityExtrude (const ConnectivityPortalType &conn, const OffsetsPortalType &offsets, const CountsPortalType &counts, const PrevNodePortalType &prevNode, vtkm::Int32 cellsPerPlane, vtkm::Int32 pointsPerPlane, vtkm::Int32 numPlanes)
 
VTKM_EXEC vtkm::Id GetNumberOfElements () const
 
VTKM_EXEC CellShapeTag GetCellShape (vtkm::Id) const
 
VTKM_EXEC IndicesType GetIndices (vtkm::Id index) const
 Returns a Vec-like object containing the indices for the given index. More...
 
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
 

Public Attributes

ConnectivityPortalType Connectivity
 
OffsetsPortalType Offsets
 
CountsPortalType Counts
 
PrevNodePortalType PrevNode
 
vtkm::Int32 NumberOfCellsPerPlane
 
vtkm::Int32 NumberOfPointsPerPlane
 
vtkm::Int32 NumberOfPlanes
 

Private Types

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

Member Typedef Documentation

◆ CellShapeTag

using vtkm::exec::ReverseConnectivityExtrude::CellShapeTag = vtkm::CellShapeTagVertex

◆ ConnectivityPortalType

◆ CountsPortalType

◆ IndicesType

◆ Int32HandleType

◆ Int32PortalType

◆ OffsetsPortalType

◆ PrevNodePortalType

◆ SchedulingRangeType

Constructor & Destructor Documentation

◆ ReverseConnectivityExtrude() [1/2]

vtkm::exec::ReverseConnectivityExtrude::ReverseConnectivityExtrude ( )
default

◆ ReverseConnectivityExtrude() [2/2]

VTKM_EXEC vtkm::exec::ReverseConnectivityExtrude::ReverseConnectivityExtrude ( const ConnectivityPortalType conn,
const OffsetsPortalType offsets,
const CountsPortalType counts,
const PrevNodePortalType prevNode,
vtkm::Int32  cellsPerPlane,
vtkm::Int32  pointsPerPlane,
vtkm::Int32  numPlanes 
)
inline

Member Function Documentation

◆ FlatToLogicalToIndex()

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

◆ GetCellShape()

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

◆ GetIndices() [1/2]

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

◆ GetIndices() [2/2]

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

Returns a Vec-like object containing the indices for the given index.

The object returned is not an actual array, but rather an object that loads the indices lazily out of the connectivity array. This prevents us from having to know the number of indices at compile time.

◆ GetNumberOfElements()

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

◆ GetNumberOfIndices()

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

◆ LogicalToFlatToIndex()

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

Member Data Documentation

◆ Connectivity

ConnectivityPortalType vtkm::exec::ReverseConnectivityExtrude::Connectivity

◆ Counts

CountsPortalType vtkm::exec::ReverseConnectivityExtrude::Counts

◆ NumberOfCellsPerPlane

vtkm::Int32 vtkm::exec::ReverseConnectivityExtrude::NumberOfCellsPerPlane

◆ NumberOfPlanes

vtkm::Int32 vtkm::exec::ReverseConnectivityExtrude::NumberOfPlanes

◆ NumberOfPointsPerPlane

vtkm::Int32 vtkm::exec::ReverseConnectivityExtrude::NumberOfPointsPerPlane

◆ Offsets

OffsetsPortalType vtkm::exec::ReverseConnectivityExtrude::Offsets

◆ PrevNode

PrevNodePortalType vtkm::exec::ReverseConnectivityExtrude::PrevNode

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