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 | ConnectivityVTKAOS () |
VTKM_EXEC_CONT | ConnectivityVTKAOS (const ShapePortalType &shapePortal, const ConnectivityPortalType &connPortal, const IndexOffsetPortalType &indexOffsetPortal) |
VTKM_SUPPRESS_EXEC_WARNINGS 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 40 of file vtkmConnectivityExec.h.
typedef vtkm::Id vtkm::exec::ConnectivityVTKAOS< Device >::SchedulingRangeType |
Definition at line 58 of file vtkmConnectivityExec.h.
typedef vtkm::CellShapeTagGeneric vtkm::exec::ConnectivityVTKAOS< Device >::CellShapeTag |
Definition at line 73 of file vtkmConnectivityExec.h.
typedef vtkm::VecFromPortal<ConnectivityPortalType> vtkm::exec::ConnectivityVTKAOS< Device >::IndicesType |
Definition at line 78 of file vtkmConnectivityExec.h.
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT vtkm::exec::ConnectivityVTKAOS< Device >::ConnectivityVTKAOS | ( | ) |
VTKM_EXEC_CONT vtkm::exec::ConnectivityVTKAOS< Device >::ConnectivityVTKAOS | ( | const ShapePortalType & | shapePortal, |
const ConnectivityPortalType & | connPortal, | ||
const IndexOffsetPortalType & | indexOffsetPortal | ||
) |
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC vtkm::Id vtkm::exec::ConnectivityVTKAOS< Device >::GetNumberOfElements | ( | ) | const |
VTKM_EXEC CellShapeTag vtkm::exec::ConnectivityVTKAOS< Device >::GetCellShape | ( | vtkm::Id | index | ) | const |
VTKM_EXEC IndicesType vtkm::exec::ConnectivityVTKAOS< 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.