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

#include <CellSetExtrude.h>

Inheritance diagram for vtkm::cont::CellSetExtrude:
vtkm::cont::CellSet

Public Types

template<typename VisitTopology , typename IncidentTopology >
using ExecConnectivityType = typename detail::CellSetExtrudeConnectivityChooser< VisitTopology, IncidentTopology >::ExecConnectivityType
 

Public Member Functions

VTKM_CONT CellSetExtrude ()
 
VTKM_CONT CellSetExtrude (const vtkm::cont::ArrayHandle< vtkm::Int32 > &conn, vtkm::Int32 numberOfPointsPerPlane, vtkm::Int32 numberOfPlanes, const vtkm::cont::ArrayHandle< vtkm::Int32 > &nextNode, bool periodic)
 
VTKM_CONT CellSetExtrude (const CellSetExtrude &src)
 
VTKM_CONT CellSetExtrude (CellSetExtrude &&src) noexcept
 
VTKM_CONT CellSetExtrudeoperator= (const CellSetExtrude &src)
 
VTKM_CONT CellSetExtrudeoperator= (CellSetExtrude &&src) noexcept
 
virtual ~CellSetExtrude () override
 
vtkm::Int32 GetNumberOfPlanes () const
 
vtkm::Id GetNumberOfCells () const override
 
vtkm::Id GetNumberOfPoints () const override
 
vtkm::Id GetNumberOfFaces () const override
 
vtkm::Id GetNumberOfEdges () const override
 
VTKM_CONT vtkm::Id2 GetSchedulingRange (vtkm::TopologyElementTagCell) const
 
VTKM_CONT vtkm::Id2 GetSchedulingRange (vtkm::TopologyElementTagPoint) const
 
vtkm::UInt8 GetCellShape (vtkm::Id id) const override
 
vtkm::IdComponent GetNumberOfPointsInCell (vtkm::Id id) const override
 
void GetCellPointIds (vtkm::Id id, vtkm::Id *ptids) const override
 
std::shared_ptr< CellSetNewInstance () const override
 
void DeepCopy (const CellSet *src) override
 
void PrintSummary (std::ostream &out) const override
 
void ReleaseResourcesExecution () override
 
const vtkm::cont::ArrayHandle< vtkm::Int32 > & GetConnectivityArray () const
 
vtkm::Int32 GetNumberOfPointsPerPlane () const
 
const vtkm::cont::ArrayHandle< vtkm::Int32 > & GetNextNodeArray () const
 
bool GetIsPeriodic () const
 
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::exec::ConnectivityExtrude PrepareForInput (vtkm::cont::DeviceAdapterId, vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint, vtkm::cont::Token &) const
 
vtkm::exec::ReverseConnectivityExtrude PrepareForInput (vtkm::cont::DeviceAdapterId, vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell, vtkm::cont::Token &) const
 
- Public Member Functions inherited from vtkm::cont::CellSet
 CellSet ()=default
 
 CellSet (const CellSet &)=default
 
 CellSet (CellSet &&) noexcept=default
 
CellSetoperator= (const CellSet &)=default
 
CellSetoperator= (CellSet &&) noexcept=default
 
virtual ~CellSet ()
 

Private Member Functions

void BuildReverseConnectivity ()
 

Private Attributes

bool IsPeriodic
 
vtkm::Int32 NumberOfPointsPerPlane
 
vtkm::Int32 NumberOfCellsPerPlane
 
vtkm::Int32 NumberOfPlanes
 
vtkm::cont::ArrayHandle< vtkm::Int32Connectivity
 
vtkm::cont::ArrayHandle< vtkm::Int32NextNode
 
bool ReverseConnectivityBuilt
 
vtkm::cont::ArrayHandle< vtkm::Int32RConnectivity
 
vtkm::cont::ArrayHandle< vtkm::Int32ROffsets
 
vtkm::cont::ArrayHandle< vtkm::Int32RCounts
 
vtkm::cont::ArrayHandle< vtkm::Int32PrevNode
 

Member Typedef Documentation

◆ ExecConnectivityType

template<typename VisitTopology , typename IncidentTopology >
using vtkm::cont::CellSetExtrude::ExecConnectivityType = typename detail::CellSetExtrudeConnectivityChooser<VisitTopology, IncidentTopology>::ExecConnectivityType

Constructor & Destructor Documentation

◆ CellSetExtrude() [1/4]

VTKM_CONT vtkm::cont::CellSetExtrude::CellSetExtrude ( )

◆ CellSetExtrude() [2/4]

VTKM_CONT vtkm::cont::CellSetExtrude::CellSetExtrude ( const vtkm::cont::ArrayHandle< vtkm::Int32 > &  conn,
vtkm::Int32  numberOfPointsPerPlane,
vtkm::Int32  numberOfPlanes,
const vtkm::cont::ArrayHandle< vtkm::Int32 > &  nextNode,
bool  periodic 
)

◆ CellSetExtrude() [3/4]

VTKM_CONT vtkm::cont::CellSetExtrude::CellSetExtrude ( const CellSetExtrude src)

◆ CellSetExtrude() [4/4]

VTKM_CONT vtkm::cont::CellSetExtrude::CellSetExtrude ( CellSetExtrude &&  src)
noexcept

◆ ~CellSetExtrude()

virtual vtkm::cont::CellSetExtrude::~CellSetExtrude ( )
overridevirtual

Member Function Documentation

◆ BuildReverseConnectivity()

void vtkm::cont::CellSetExtrude::BuildReverseConnectivity ( )
private

◆ DeepCopy()

void vtkm::cont::CellSetExtrude::DeepCopy ( const CellSet src)
overridevirtual

Implements vtkm::cont::CellSet.

◆ GetCellPointIds()

void vtkm::cont::CellSetExtrude::GetCellPointIds ( vtkm::Id  id,
vtkm::Id ptids 
) const
overridevirtual

Implements vtkm::cont::CellSet.

◆ GetCellShape()

vtkm::UInt8 vtkm::cont::CellSetExtrude::GetCellShape ( vtkm::Id  id) const
overridevirtual

Implements vtkm::cont::CellSet.

◆ GetConnectivityArray()

const vtkm::cont::ArrayHandle<vtkm::Int32>& vtkm::cont::CellSetExtrude::GetConnectivityArray ( ) const
inline

◆ GetIndices() [1/2]

VTKM_CONT void vtkm::cont::CellSetExtrude::GetIndices ( vtkm::Id  index,
vtkm::cont::ArrayHandle< vtkm::Id > &  ids 
) const

◆ GetIndices() [2/2]

template<vtkm::IdComponent NumIndices>
VTKM_CONT void vtkm::cont::CellSetExtrude::GetIndices ( vtkm::Id  index,
vtkm::Vec< vtkm::Id, NumIndices > &  ids 
) const

◆ GetIsPeriodic()

bool vtkm::cont::CellSetExtrude::GetIsPeriodic ( ) const
inline

◆ GetNextNodeArray()

const vtkm::cont::ArrayHandle<vtkm::Int32>& vtkm::cont::CellSetExtrude::GetNextNodeArray ( ) const
inline

◆ GetNumberOfCells()

vtkm::Id vtkm::cont::CellSetExtrude::GetNumberOfCells ( ) const
overridevirtual

Implements vtkm::cont::CellSet.

◆ GetNumberOfEdges()

vtkm::Id vtkm::cont::CellSetExtrude::GetNumberOfEdges ( ) const
overridevirtual

Implements vtkm::cont::CellSet.

◆ GetNumberOfFaces()

vtkm::Id vtkm::cont::CellSetExtrude::GetNumberOfFaces ( ) const
overridevirtual

Implements vtkm::cont::CellSet.

◆ GetNumberOfPlanes()

vtkm::Int32 vtkm::cont::CellSetExtrude::GetNumberOfPlanes ( ) const

◆ GetNumberOfPoints()

vtkm::Id vtkm::cont::CellSetExtrude::GetNumberOfPoints ( ) const
overridevirtual

Implements vtkm::cont::CellSet.

◆ GetNumberOfPointsInCell()

vtkm::IdComponent vtkm::cont::CellSetExtrude::GetNumberOfPointsInCell ( vtkm::Id  id) const
overridevirtual

Implements vtkm::cont::CellSet.

◆ GetNumberOfPointsPerPlane()

vtkm::Int32 vtkm::cont::CellSetExtrude::GetNumberOfPointsPerPlane ( ) const
inline

◆ GetSchedulingRange() [1/2]

VTKM_CONT vtkm::Id2 vtkm::cont::CellSetExtrude::GetSchedulingRange ( vtkm::TopologyElementTagCell  ) const

◆ GetSchedulingRange() [2/2]

VTKM_CONT vtkm::Id2 vtkm::cont::CellSetExtrude::GetSchedulingRange ( vtkm::TopologyElementTagPoint  ) const

◆ NewInstance()

std::shared_ptr<CellSet> vtkm::cont::CellSetExtrude::NewInstance ( ) const
overridevirtual

Implements vtkm::cont::CellSet.

◆ operator=() [1/2]

VTKM_CONT CellSetExtrude& vtkm::cont::CellSetExtrude::operator= ( CellSetExtrude &&  src)
noexcept

◆ operator=() [2/2]

VTKM_CONT CellSetExtrude& vtkm::cont::CellSetExtrude::operator= ( const CellSetExtrude src)

◆ PrepareForInput() [1/2]

◆ PrepareForInput() [2/2]

◆ PrintSummary()

void vtkm::cont::CellSetExtrude::PrintSummary ( std::ostream &  out) const
overridevirtual

Implements vtkm::cont::CellSet.

◆ ReleaseResourcesExecution()

void vtkm::cont::CellSetExtrude::ReleaseResourcesExecution ( )
overridevirtual

Implements vtkm::cont::CellSet.

Member Data Documentation

◆ Connectivity

vtkm::cont::ArrayHandle<vtkm::Int32> vtkm::cont::CellSetExtrude::Connectivity
private

◆ IsPeriodic

bool vtkm::cont::CellSetExtrude::IsPeriodic
private

◆ NextNode

vtkm::cont::ArrayHandle<vtkm::Int32> vtkm::cont::CellSetExtrude::NextNode
private

◆ NumberOfCellsPerPlane

vtkm::Int32 vtkm::cont::CellSetExtrude::NumberOfCellsPerPlane
private

◆ NumberOfPlanes

vtkm::Int32 vtkm::cont::CellSetExtrude::NumberOfPlanes
private

◆ NumberOfPointsPerPlane

vtkm::Int32 vtkm::cont::CellSetExtrude::NumberOfPointsPerPlane
private

◆ PrevNode

vtkm::cont::ArrayHandle<vtkm::Int32> vtkm::cont::CellSetExtrude::PrevNode
private

◆ RConnectivity

vtkm::cont::ArrayHandle<vtkm::Int32> vtkm::cont::CellSetExtrude::RConnectivity
private

◆ RCounts

vtkm::cont::ArrayHandle<vtkm::Int32> vtkm::cont::CellSetExtrude::RCounts
private

◆ ReverseConnectivityBuilt

bool vtkm::cont::CellSetExtrude::ReverseConnectivityBuilt
private

◆ ROffsets

vtkm::cont::ArrayHandle<vtkm::Int32> vtkm::cont::CellSetExtrude::ROffsets
private

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