VTK-m  2.0
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | List of all members
vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag > Class Template Reference

#include <CastAndCall.h>

Classes

struct  ConnectivityChooser
 
struct  Internals
 

Public Types

using SchedulingRangeType = vtkm::Id
 
using ShapesArrayType = typename CellPointIdsType::ShapesArrayType
 
using ConnectivityArrayType = typename CellPointIdsType::ConnectivityArrayType
 
using OffsetsArrayType = typename CellPointIdsType::OffsetsArrayType
 
using NumIndicesArrayType = typename ConnTypes::NumIndicesArrayType
 
template<typename VisitTopology , typename IncidentTopology >
using ExecConnectivityType = typename ConnectivityChooser< VisitTopology, IncidentTopology >::ExecConnectivityType
 

Public Member Functions

VTKM_CONT CellSetExplicit ()
 
VTKM_CONT CellSetExplicit (const Thisclass &src)
 
VTKM_CONT CellSetExplicit (Thisclass &&src) noexcept
 
VTKM_CONT Thisclassoperator= (const Thisclass &src)
 
VTKM_CONT Thisclassoperator= (Thisclass &&src) noexcept
 
virtual VTKM_CONT ~CellSetExplicit () override
 
VTKM_CONT vtkm::Id GetNumberOfCells () const override
 
VTKM_CONT vtkm::Id GetNumberOfPoints () const override
 
VTKM_CONT vtkm::Id GetNumberOfFaces () const override
 
VTKM_CONT vtkm::Id GetNumberOfEdges () const override
 
VTKM_CONT void PrintSummary (std::ostream &out) const override
 
VTKM_CONT void ReleaseResourcesExecution () override
 
VTKM_CONT std::shared_ptr< CellSetNewInstance () const override
 
VTKM_CONT void DeepCopy (const CellSet *src) override
 
VTKM_CONT vtkm::Id GetSchedulingRange (vtkm::TopologyElementTagCell) const
 
VTKM_CONT vtkm::Id GetSchedulingRange (vtkm::TopologyElementTagPoint) const
 
VTKM_CONT vtkm::IdComponent GetNumberOfPointsInCell (vtkm::Id cellid) const override
 
VTKM_CONT void GetCellPointIds (vtkm::Id id, vtkm::Id *ptids) const override
 
VTKM_CONT vtkm::cont::ArrayHandle< vtkm::UInt8, ShapesStorageTag >::ReadPortalType ShapesReadPortal () const
 
VTKM_CONT vtkm::UInt8 GetCellShape (vtkm::Id cellid) const override
 
template<vtkm::IdComponent NumIndices>
VTKM_CONT void GetIndices (vtkm::Id index, vtkm::Vec< vtkm::Id, NumIndices > &ids) const
 
VTKM_CONT void GetIndices (vtkm::Id index, vtkm::cont::ArrayHandle< vtkm::Id > &ids) const
 
VTKM_CONT void PrepareToAddCells (vtkm::Id numCells, vtkm::Id connectivityMaxLen)
 First method to add cells – one at a time. More...
 
template<typename IdVecType >
VTKM_CONT void AddCell (vtkm::UInt8 cellType, vtkm::IdComponent numVertices, const IdVecType &ids)
 
VTKM_CONT void CompleteAddingCells (vtkm::Id numPoints)
 
VTKM_CONT void Fill (vtkm::Id numPoints, const vtkm::cont::ArrayHandle< vtkm::UInt8, ShapesStorageTag > &cellTypes, const vtkm::cont::ArrayHandle< vtkm::Id, ConnectivityStorageTag > &connectivity, const vtkm::cont::ArrayHandle< vtkm::Id, OffsetsStorageTag > &offsets)
 Second method to add cells – all at once. More...
 
template<typename VisitTopology , typename IncidentTopology >
VTKM_CONT ExecConnectivityType< VisitTopology, IncidentTopology > PrepareForInput (vtkm::cont::DeviceAdapterId, VisitTopology, IncidentTopology, vtkm::cont::Token &) const
 
template<typename VisitTopology , typename IncidentTopology >
const VTKM_CONT ConnectivityChooser< VisitTopology, IncidentTopology >::ShapesArrayTypeGetShapesArray (VisitTopology, IncidentTopology) const
 
template<typename VisitTopology , typename IncidentTopology >
const VTKM_CONT ConnectivityChooser< VisitTopology, IncidentTopology >::ConnectivityArrayTypeGetConnectivityArray (VisitTopology, IncidentTopology) const
 
template<typename VisitTopology , typename IncidentTopology >
const VTKM_CONT ConnectivityChooser< VisitTopology, IncidentTopology >::OffsetsArrayTypeGetOffsetsArray (VisitTopology, IncidentTopology) const
 
template<typename VisitTopology , typename IncidentTopology >
VTKM_CONT ConnectivityChooser< VisitTopology, IncidentTopology >::NumIndicesArrayType GetNumIndicesArray (VisitTopology, IncidentTopology) const
 
template<typename VisitTopology , typename IncidentTopology >
VTKM_CONT bool HasConnectivity (VisitTopology visit, IncidentTopology incident) const
 
template<typename VisitTopology , typename IncidentTopology >
VTKM_CONT void ResetConnectivity (VisitTopology visit, IncidentTopology incident)
 

Protected Member Functions

VTKM_CONT void BuildConnectivity (vtkm::cont::DeviceAdapterId, vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint) const
 
VTKM_CONT void BuildConnectivity (vtkm::cont::DeviceAdapterId device, vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell) const
 
VTKM_CONT bool HasConnectivityImpl (vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint) const
 
VTKM_CONT bool HasConnectivityImpl (vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell) const
 
VTKM_CONT void ResetConnectivityImpl (vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint)
 
VTKM_CONT void ResetConnectivityImpl (vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell)
 

Protected Attributes

std::shared_ptr< InternalsData
 

Private Types

using Thisclass = CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >
 
using ConnTypes = ConnectivityChooser< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint >
 
using RConnTypes = ConnectivityChooser< vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell >
 
using CellPointIdsType = typename ConnTypes::ConnectivityType
 
using PointCellIdsType = typename RConnTypes::ConnectivityType
 

Private Member Functions

const VTKM_CONT CellPointIdsTypeGetConnectivity (vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint) const
 
const VTKM_CONT CellPointIdsTypeGetConnectivity (vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint)
 
const VTKM_CONT PointCellIdsTypeGetConnectivity (vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell) const
 
const VTKM_CONT PointCellIdsTypeGetConnectivity (vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell)
 

Member Typedef Documentation

◆ CellPointIdsType

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
using vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::CellPointIdsType = typename ConnTypes::ConnectivityType
private

◆ ConnectivityArrayType

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
using vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::ConnectivityArrayType = typename CellPointIdsType::ConnectivityArrayType

◆ ConnTypes

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
using vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::ConnTypes = ConnectivityChooser<vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint>
private

◆ ExecConnectivityType

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
template<typename VisitTopology , typename IncidentTopology >
using vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::ExecConnectivityType = typename ConnectivityChooser<VisitTopology, IncidentTopology>::ExecConnectivityType

◆ NumIndicesArrayType

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
using vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::NumIndicesArrayType = typename ConnTypes::NumIndicesArrayType

◆ OffsetsArrayType

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
using vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::OffsetsArrayType = typename CellPointIdsType::OffsetsArrayType

◆ PointCellIdsType

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
using vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::PointCellIdsType = typename RConnTypes::ConnectivityType
private

◆ RConnTypes

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
using vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::RConnTypes = ConnectivityChooser<vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell>
private

◆ SchedulingRangeType

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
using vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::SchedulingRangeType = vtkm::Id

◆ ShapesArrayType

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
using vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::ShapesArrayType = typename CellPointIdsType::ShapesArrayType

◆ Thisclass

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
using vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::Thisclass = CellSetExplicit<ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag>
private

Constructor & Destructor Documentation

◆ CellSetExplicit() [1/3]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::CellSetExplicit ( )

◆ CellSetExplicit() [2/3]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::CellSetExplicit ( const Thisclass src)

◆ CellSetExplicit() [3/3]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::CellSetExplicit ( Thisclass &&  src)
noexcept

◆ ~CellSetExplicit()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
virtual VTKM_CONT vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::~CellSetExplicit ( )
overridevirtual

Member Function Documentation

◆ AddCell()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
template<typename IdVecType >
VTKM_CONT void vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::AddCell ( vtkm::UInt8  cellType,
vtkm::IdComponent  numVertices,
const IdVecType &  ids 
)

◆ BuildConnectivity() [1/2]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT void vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::BuildConnectivity ( vtkm::cont::DeviceAdapterId  device,
vtkm::TopologyElementTagPoint  ,
vtkm::TopologyElementTagCell   
) const
inlineprotected

◆ BuildConnectivity() [2/2]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT void vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::BuildConnectivity ( vtkm::cont::DeviceAdapterId  ,
vtkm::TopologyElementTagCell  ,
vtkm::TopologyElementTagPoint   
) const
inlineprotected

◆ CompleteAddingCells()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT void vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::CompleteAddingCells ( vtkm::Id  numPoints)

◆ DeepCopy()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT void vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::DeepCopy ( const CellSet src)
override

◆ Fill()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT void vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::Fill ( vtkm::Id  numPoints,
const vtkm::cont::ArrayHandle< vtkm::UInt8, ShapesStorageTag > &  cellTypes,
const vtkm::cont::ArrayHandle< vtkm::Id, ConnectivityStorageTag > &  connectivity,
const vtkm::cont::ArrayHandle< vtkm::Id, OffsetsStorageTag > &  offsets 
)

Second method to add cells – all at once.

Assigns the array handles to the explicit connectivity. This is the way you can fill the memory from another system without copying

◆ GetCellPointIds()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT void vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetCellPointIds ( vtkm::Id  id,
vtkm::Id ptids 
) const
override

◆ GetCellShape()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT vtkm::UInt8 vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetCellShape ( vtkm::Id  cellid) const
override

◆ GetConnectivity() [1/4]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
const VTKM_CONT CellPointIdsType& vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetConnectivity ( vtkm::TopologyElementTagCell  ,
vtkm::TopologyElementTagPoint   
)
inlineprivate

◆ GetConnectivity() [2/4]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
const VTKM_CONT CellPointIdsType& vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetConnectivity ( vtkm::TopologyElementTagCell  ,
vtkm::TopologyElementTagPoint   
) const
inlineprivate

◆ GetConnectivity() [3/4]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
const VTKM_CONT PointCellIdsType& vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetConnectivity ( vtkm::TopologyElementTagPoint  ,
vtkm::TopologyElementTagCell   
)
inlineprivate

◆ GetConnectivity() [4/4]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
const VTKM_CONT PointCellIdsType& vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetConnectivity ( vtkm::TopologyElementTagPoint  ,
vtkm::TopologyElementTagCell   
) const
inlineprivate

◆ GetConnectivityArray()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
template<typename VisitTopology , typename IncidentTopology >
const VTKM_CONT ConnectivityChooser<VisitTopology, IncidentTopology>::ConnectivityArrayType& vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetConnectivityArray ( VisitTopology  ,
IncidentTopology   
) const

◆ GetIndices() [1/2]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT void vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetIndices ( vtkm::Id  index,
vtkm::cont::ArrayHandle< vtkm::Id > &  ids 
) const

◆ GetIndices() [2/2]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
template<vtkm::IdComponent NumIndices>
VTKM_CONT void vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetIndices ( vtkm::Id  index,
vtkm::Vec< vtkm::Id, NumIndices > &  ids 
) const

◆ GetNumberOfCells()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT vtkm::Id vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetNumberOfCells ( ) const
override

◆ GetNumberOfEdges()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT vtkm::Id vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetNumberOfEdges ( ) const
override

◆ GetNumberOfFaces()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT vtkm::Id vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetNumberOfFaces ( ) const
override

◆ GetNumberOfPoints()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT vtkm::Id vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetNumberOfPoints ( ) const
override

◆ GetNumberOfPointsInCell()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT vtkm::IdComponent vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetNumberOfPointsInCell ( vtkm::Id  cellid) const
override

◆ GetNumIndicesArray()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
template<typename VisitTopology , typename IncidentTopology >
VTKM_CONT ConnectivityChooser<VisitTopology, IncidentTopology>::NumIndicesArrayType vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetNumIndicesArray ( VisitTopology  ,
IncidentTopology   
) const

◆ GetOffsetsArray()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
template<typename VisitTopology , typename IncidentTopology >
const VTKM_CONT ConnectivityChooser<VisitTopology, IncidentTopology>::OffsetsArrayType& vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetOffsetsArray ( VisitTopology  ,
IncidentTopology   
) const

◆ GetSchedulingRange() [1/2]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT vtkm::Id vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetSchedulingRange ( vtkm::TopologyElementTagCell  ) const

◆ GetSchedulingRange() [2/2]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT vtkm::Id vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetSchedulingRange ( vtkm::TopologyElementTagPoint  ) const

◆ GetShapesArray()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
template<typename VisitTopology , typename IncidentTopology >
const VTKM_CONT ConnectivityChooser<VisitTopology, IncidentTopology>::ShapesArrayType& vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::GetShapesArray ( VisitTopology  ,
IncidentTopology   
) const

◆ HasConnectivity()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
template<typename VisitTopology , typename IncidentTopology >
VTKM_CONT bool vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::HasConnectivity ( VisitTopology  visit,
IncidentTopology  incident 
) const
inline

◆ HasConnectivityImpl() [1/2]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT bool vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::HasConnectivityImpl ( vtkm::TopologyElementTagCell  ,
vtkm::TopologyElementTagPoint   
) const
inlineprotected

◆ HasConnectivityImpl() [2/2]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT bool vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::HasConnectivityImpl ( vtkm::TopologyElementTagPoint  ,
vtkm::TopologyElementTagCell   
) const
inlineprotected

◆ NewInstance()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT std::shared_ptr<CellSet> vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::NewInstance ( ) const
override

◆ operator=() [1/2]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT Thisclass& vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::operator= ( const Thisclass src)

◆ operator=() [2/2]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT Thisclass& vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::operator= ( Thisclass &&  src)
noexcept

◆ PrepareForInput()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
template<typename VisitTopology , typename IncidentTopology >
VTKM_CONT ExecConnectivityType<VisitTopology, IncidentTopology> vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::PrepareForInput ( vtkm::cont::DeviceAdapterId  ,
VisitTopology  ,
IncidentTopology  ,
vtkm::cont::Token  
) const

◆ PrepareToAddCells()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT void vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::PrepareToAddCells ( vtkm::Id  numCells,
vtkm::Id  connectivityMaxLen 
)

First method to add cells – one at a time.

◆ PrintSummary()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT void vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::PrintSummary ( std::ostream &  out) const
override

◆ ReleaseResourcesExecution()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT void vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::ReleaseResourcesExecution ( )
override

◆ ResetConnectivity()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
template<typename VisitTopology , typename IncidentTopology >
VTKM_CONT void vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::ResetConnectivity ( VisitTopology  visit,
IncidentTopology  incident 
)
inline

◆ ResetConnectivityImpl() [1/2]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT void vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::ResetConnectivityImpl ( vtkm::TopologyElementTagCell  ,
vtkm::TopologyElementTagPoint   
)
inlineprotected

◆ ResetConnectivityImpl() [2/2]

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT void vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::ResetConnectivityImpl ( vtkm::TopologyElementTagPoint  ,
vtkm::TopologyElementTagCell   
)
inlineprotected

◆ ShapesReadPortal()

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
VTKM_CONT vtkm::cont::ArrayHandle<vtkm::UInt8, ShapesStorageTag>::ReadPortalType vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::ShapesReadPortal ( ) const

Member Data Documentation

◆ Data

template<typename ShapesStorageTag = VTKM_DEFAULT_SHAPES_STORAGE_TAG, typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG, typename OffsetsStorageTag = VTKM_DEFAULT_OFFSETS_STORAGE_TAG>
std::shared_ptr<Internals> vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >::Data
protected

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