VTK-m  2.0
Public Types | Public Member Functions | Private Attributes | List of all members
vtkm::exec::ConnectivityExplicit< ShapesPortalType, ConnectivityPortalType, OffsetsPortalType > Class Template Reference

#include <ConnectivityExplicit.h>

Public Types

using SchedulingRangeType = vtkm::Id
 
using CellShapeTag = vtkm::CellShapeTagGeneric
 
using IndicesType = vtkm::VecFromPortal< ConnectivityPortalType >
 

Public Member Functions

 ConnectivityExplicit ()
 
 ConnectivityExplicit (const ShapesPortalType &shapesPortal, const ConnectivityPortalType &connPortal, const OffsetsPortalType &offsetsPortal)
 
VTKM_EXEC SchedulingRangeType GetNumberOfElements () const
 
VTKM_EXEC CellShapeTag GetCellShape (vtkm::Id index) const
 
VTKM_EXEC vtkm::IdComponent GetNumberOfIndices (vtkm::Id index) const
 
VTKM_EXEC IndicesType GetIndices (vtkm::Id index) const
 Returns a Vec-like object containing the indices for the given index. More...
 

Private Attributes

ShapesPortalType Shapes
 
ConnectivityPortalType Connectivity
 
OffsetsPortalType Offsets
 

Member Typedef Documentation

◆ CellShapeTag

template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
using vtkm::exec::ConnectivityExplicit< ShapesPortalType, ConnectivityPortalType, OffsetsPortalType >::CellShapeTag = vtkm::CellShapeTagGeneric

◆ IndicesType

template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
using vtkm::exec::ConnectivityExplicit< ShapesPortalType, ConnectivityPortalType, OffsetsPortalType >::IndicesType = vtkm::VecFromPortal<ConnectivityPortalType>

◆ SchedulingRangeType

template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
using vtkm::exec::ConnectivityExplicit< ShapesPortalType, ConnectivityPortalType, OffsetsPortalType >::SchedulingRangeType = vtkm::Id

Constructor & Destructor Documentation

◆ ConnectivityExplicit() [1/2]

template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
vtkm::exec::ConnectivityExplicit< ShapesPortalType, ConnectivityPortalType, OffsetsPortalType >::ConnectivityExplicit ( )
inline

◆ ConnectivityExplicit() [2/2]

template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
vtkm::exec::ConnectivityExplicit< ShapesPortalType, ConnectivityPortalType, OffsetsPortalType >::ConnectivityExplicit ( const ShapesPortalType &  shapesPortal,
const ConnectivityPortalType &  connPortal,
const OffsetsPortalType &  offsetsPortal 
)
inline

Member Function Documentation

◆ GetCellShape()

template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
VTKM_EXEC CellShapeTag vtkm::exec::ConnectivityExplicit< ShapesPortalType, ConnectivityPortalType, OffsetsPortalType >::GetCellShape ( vtkm::Id  index) const
inline

◆ GetIndices()

template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
VTKM_EXEC IndicesType vtkm::exec::ConnectivityExplicit< ShapesPortalType, ConnectivityPortalType, OffsetsPortalType >::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()

template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
VTKM_EXEC SchedulingRangeType vtkm::exec::ConnectivityExplicit< ShapesPortalType, ConnectivityPortalType, OffsetsPortalType >::GetNumberOfElements ( ) const
inline

◆ GetNumberOfIndices()

template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
VTKM_EXEC vtkm::IdComponent vtkm::exec::ConnectivityExplicit< ShapesPortalType, ConnectivityPortalType, OffsetsPortalType >::GetNumberOfIndices ( vtkm::Id  index) const
inline

Member Data Documentation

◆ Connectivity

template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
ConnectivityPortalType vtkm::exec::ConnectivityExplicit< ShapesPortalType, ConnectivityPortalType, OffsetsPortalType >::Connectivity
private

◆ Offsets

template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
OffsetsPortalType vtkm::exec::ConnectivityExplicit< ShapesPortalType, ConnectivityPortalType, OffsetsPortalType >::Offsets
private

◆ Shapes

template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
ShapesPortalType vtkm::exec::ConnectivityExplicit< ShapesPortalType, ConnectivityPortalType, OffsetsPortalType >::Shapes
private

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