VTK-m  1.8
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
vtkm::cont::CellSetSingleType< ConnectivityStorageTag > Class Template Reference

#include <CastAndCall.h>

Public Member Functions

VTKM_CONT CellSetSingleType ()
 
VTKM_CONT CellSetSingleType (const Thisclass &src)
 
VTKM_CONT CellSetSingleType (Thisclass &&src) noexcept
 
VTKM_CONT Thisclassoperator= (const Thisclass &src)
 
VTKM_CONT Thisclassoperator= (Thisclass &&src) noexcept
 
virtual ~CellSetSingleType () override
 
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 shapeId, vtkm::IdComponent numVertices, const IdVecType &ids)
 Second method to add cells – one at a time. More...
 
VTKM_CONT void CompleteAddingCells (vtkm::Id numPoints)
 Third and final method to add cells – one at a time. More...
 
VTKM_CONT void Fill (vtkm::Id numPoints, vtkm::UInt8 shapeId, vtkm::IdComponent numberOfPointsPerCell, const vtkm::cont::ArrayHandle< vtkm::Id, ConnectivityStorageTag > &connectivity)
 
VTKM_CONT vtkm::Id GetCellShapeAsId () const
 
VTKM_DEPRECATED_SUPPRESS_BEGIN VTKM_CONT vtkm::UInt8 GetCellShape (vtkm::Id vtkmNotUsed(cellIndex)) const override
 
VTKM_DEPRECATED_SUPPRESS_END VTKM_CONT std::shared_ptr< CellSetNewInstance () const override
 
VTKM_CONT void DeepCopy (const CellSet *src) override
 
virtual void PrintSummary (std::ostream &out) const override
 

Private Types

using Thisclass = vtkm::cont::CellSetSingleType< ConnectivityStorageTag >
 
using Superclass = vtkm::cont::CellSetExplicit< typename vtkm::cont::ArrayHandleConstant< vtkm::UInt8 >::StorageTag, ConnectivityStorageTag, typename vtkm::cont::ArrayHandleCounting< vtkm::Id >::StorageTag >
 

Private Member Functions

template<typename CellShapeTag >
void CheckNumberOfPointsPerCell (CellShapeTag, vtkm::CellTraitsTagSizeFixed, vtkm::IdComponent numVertices) const
 
template<typename CellShapeTag >
void CheckNumberOfPointsPerCell (CellShapeTag, vtkm::CellTraitsTagSizeVariable, vtkm::IdComponent vtkmNotUsed(numVertices)) const
 
void CheckNumberOfPointsPerCell (vtkm::IdComponent numVertices) const
 

Private Attributes

vtkm::Id ExpectedNumberOfCellsAdded
 
vtkm::Id CellShapeAsId
 
vtkm::IdComponent NumberOfPointsPerCell
 

Member Typedef Documentation

◆ Superclass

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
using vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::Superclass = vtkm::cont::CellSetExplicit<typename vtkm::cont::ArrayHandleConstant<vtkm::UInt8>::StorageTag, ConnectivityStorageTag, typename vtkm::cont::ArrayHandleCounting<vtkm::Id>::StorageTag>
private

◆ Thisclass

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
using vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::Thisclass = vtkm::cont::CellSetSingleType<ConnectivityStorageTag>
private

Constructor & Destructor Documentation

◆ CellSetSingleType() [1/3]

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
VTKM_CONT vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::CellSetSingleType ( )
inline

◆ CellSetSingleType() [2/3]

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
VTKM_CONT vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::CellSetSingleType ( const Thisclass src)
inline

◆ CellSetSingleType() [3/3]

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
VTKM_CONT vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::CellSetSingleType ( Thisclass &&  src)
inlinenoexcept

◆ ~CellSetSingleType()

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
virtual vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::~CellSetSingleType ( )
inlineoverridevirtual

Member Function Documentation

◆ AddCell()

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
template<typename IdVecType >
VTKM_CONT void vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::AddCell ( vtkm::UInt8  shapeId,
vtkm::IdComponent  numVertices,
const IdVecType &  ids 
)
inline

Second method to add cells – one at a time.

◆ CheckNumberOfPointsPerCell() [1/3]

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
template<typename CellShapeTag >
void vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::CheckNumberOfPointsPerCell ( CellShapeTag  ,
vtkm::CellTraitsTagSizeFixed  ,
vtkm::IdComponent  numVertices 
) const
inlineprivate

◆ CheckNumberOfPointsPerCell() [2/3]

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
template<typename CellShapeTag >
void vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::CheckNumberOfPointsPerCell ( CellShapeTag  ,
vtkm::CellTraitsTagSizeVariable  ,
vtkm::IdComponent   vtkmNotUsednumVertices 
) const
inlineprivate

◆ CheckNumberOfPointsPerCell() [3/3]

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
void vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::CheckNumberOfPointsPerCell ( vtkm::IdComponent  numVertices) const
inlineprivate

◆ CompleteAddingCells()

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
VTKM_CONT void vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::CompleteAddingCells ( vtkm::Id  numPoints)
inline

Third and final method to add cells – one at a time.

◆ DeepCopy()

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
VTKM_CONT void vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::DeepCopy ( const CellSet src)
inlineoverride

◆ Fill()

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
VTKM_CONT void vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::Fill ( vtkm::Id  numPoints,
vtkm::UInt8  shapeId,
vtkm::IdComponent  numberOfPointsPerCell,
const vtkm::cont::ArrayHandle< vtkm::Id, ConnectivityStorageTag > &  connectivity 
)
inline

◆ GetCellShape()

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
VTKM_DEPRECATED_SUPPRESS_BEGIN VTKM_CONT vtkm::UInt8 vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::GetCellShape ( vtkm::Id   vtkmNotUsedcellIndex) const
inlineoverride

◆ GetCellShapeAsId()

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
VTKM_CONT vtkm::Id vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::GetCellShapeAsId ( ) const
inline

◆ NewInstance()

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
VTKM_DEPRECATED_SUPPRESS_END VTKM_CONT std::shared_ptr<CellSet> vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::NewInstance ( ) const
inlineoverride

◆ operator=() [1/2]

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
VTKM_CONT Thisclass& vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::operator= ( const Thisclass src)
inline

◆ operator=() [2/2]

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
VTKM_CONT Thisclass& vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::operator= ( Thisclass &&  src)
inlinenoexcept

◆ PrepareToAddCells()

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
VTKM_CONT void vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::PrepareToAddCells ( vtkm::Id  numCells,
vtkm::Id  connectivityMaxLen 
)
inline

First method to add cells – one at a time.

◆ PrintSummary()

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
virtual void vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::PrintSummary ( std::ostream &  out) const
inlineoverridevirtual

Member Data Documentation

◆ CellShapeAsId

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
vtkm::Id vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::CellShapeAsId
private

◆ ExpectedNumberOfCellsAdded

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
vtkm::Id vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::ExpectedNumberOfCellsAdded
private

◆ NumberOfPointsPerCell

template<typename ConnectivityStorageTag = VTKM_DEFAULT_CONNECTIVITY_STORAGE_TAG>
vtkm::IdComponent vtkm::cont::CellSetSingleType< ConnectivityStorageTag >::NumberOfPointsPerCell
private

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