VTK
Public Types | Public Member Functions | List of all members
vtkm::exec::ConnectivityVTKSingleType< Device > Class Template Reference

#include <vtkmConnectivityExec.h>

Public Types

typedef vtkm::Id SchedulingRangeType
 
typedef vtkm::CellShapeTagGeneric CellShapeTag
 
typedef vtkm::VecFromPortal< ConnectivityPortalType > IndicesType
 

Public Member Functions

VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT ConnectivityVTKSingleType ()
 
VTKM_EXEC_CONT ConnectivityVTKSingleType (const ConnectivityPortalType &connPortal, vtkm::Id numCells, vtkm::IdComponent numPointsPerCell, vtkm::UInt8 shapeType)
 
VTKM_EXEC vtkm::Id GetNumberOfElements () const
 
VTKM_EXEC CellShapeTag GetCellShape (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...
 

Detailed Description

template<typename Device>
class vtkm::exec::ConnectivityVTKSingleType< Device >

Definition at line 96 of file vtkmConnectivityExec.h.

Member Typedef Documentation

template<typename Device>
typedef vtkm::Id vtkm::exec::ConnectivityVTKSingleType< Device >::SchedulingRangeType

Definition at line 104 of file vtkmConnectivityExec.h.

template<typename Device>
typedef vtkm::CellShapeTagGeneric vtkm::exec::ConnectivityVTKSingleType< Device >::CellShapeTag

Definition at line 119 of file vtkmConnectivityExec.h.

template<typename Device>
typedef vtkm::VecFromPortal<ConnectivityPortalType> vtkm::exec::ConnectivityVTKSingleType< Device >::IndicesType

Definition at line 124 of file vtkmConnectivityExec.h.

Constructor & Destructor Documentation

template<typename Device>
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT vtkm::exec::ConnectivityVTKSingleType< Device >::ConnectivityVTKSingleType ( )
template<typename Device>
VTKM_EXEC_CONT vtkm::exec::ConnectivityVTKSingleType< Device >::ConnectivityVTKSingleType ( const ConnectivityPortalType &  connPortal,
vtkm::Id  numCells,
vtkm::IdComponent  numPointsPerCell,
vtkm::UInt8  shapeType 
)

Member Function Documentation

template<typename Device>
VTKM_EXEC vtkm::Id vtkm::exec::ConnectivityVTKSingleType< Device >::GetNumberOfElements ( ) const
template<typename Device>
VTKM_EXEC CellShapeTag vtkm::exec::ConnectivityVTKSingleType< Device >::GetCellShape ( vtkm::Id  index) const
template<typename Device>
VTKM_EXEC IndicesType vtkm::exec::ConnectivityVTKSingleType< Device >::GetIndices ( vtkm::Id  index) const

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.


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