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

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

◆ ConnectivityPortalType

◆ CountsPortalType

◆ IndicesType

◆ Int32HandleType

◆ Int32PortalType

◆ OffsetsPortalType

◆ PrevNodePortalType

◆ SchedulingRangeType

Constructor & Destructor Documentation

◆ ReverseConnectivityExtrude() [1/2]

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

◆ ReverseConnectivityExtrude() [2/2]

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

◆ GetCellShape()

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

◆ GetIndices() [1/2]

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

◆ GetIndices() [2/2]

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::Id vtkm::exec::ReverseConnectivityExtrude::GetNumberOfElements ( ) const
inline

◆ GetNumberOfIndices()

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

◆ LogicalToFlatToIndex()

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: