VTK
|
#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... | |
Definition at line 95 of file vtkmConnectivityExec.h.
typedef vtkm::Id vtkm::exec::ConnectivityVTKSingleType< Device >::SchedulingRangeType |
Definition at line 103 of file vtkmConnectivityExec.h.
typedef vtkm::CellShapeTagGeneric vtkm::exec::ConnectivityVTKSingleType< Device >::CellShapeTag |
Definition at line 118 of file vtkmConnectivityExec.h.
typedef vtkm::VecFromPortal<ConnectivityPortalType> vtkm::exec::ConnectivityVTKSingleType< Device >::IndicesType |
Definition at line 123 of file vtkmConnectivityExec.h.
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT vtkm::exec::ConnectivityVTKSingleType< Device >::ConnectivityVTKSingleType | ( | ) |
VTKM_EXEC_CONT vtkm::exec::ConnectivityVTKSingleType< Device >::ConnectivityVTKSingleType | ( | const ConnectivityPortalType & | connPortal, |
vtkm::Id | numCells, | ||
vtkm::IdComponent | numPointsPerCell, | ||
vtkm::UInt8 | shapeType | ||
) |
VTKM_EXEC vtkm::Id vtkm::exec::ConnectivityVTKSingleType< Device >::GetNumberOfElements | ( | ) | const |
VTKM_EXEC CellShapeTag vtkm::exec::ConnectivityVTKSingleType< Device >::GetCellShape | ( | vtkm::Id | index | ) | const |
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.