Go to the documentation of this file.
10 #ifndef vtk_m_internal_IndicesExtrude_h
11 #define vtk_m_internal_IndicesExtrude_h
56 template <
typename T, vtkm::IdComponent DestSize>
70 template <
typename ConnectivityPortalType>
111 template <
typename T, vtkm::IdComponent DestSize>
116 dest[i] = (*this)[i];
129 #endif //vtkm_m_internal_IndicesExtrude_h
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_EXEC void CopyInto(vtkm::Vec< T, DestSize > &dest) const
Definition: IndicesExtrude.h:112
#define VTKM_ASSERT(condition)
Definition: Assert.h:43
VTKM_EXEC ReverseIndicesExtrude(const ConnectivityPortalType conn, vtkm::Id offset1, vtkm::IdComponent length1, vtkm::Id offset2, vtkm::IdComponent length2, vtkm::IdComponent plane1, vtkm::IdComponent plane2, vtkm::Int32 numberOfCellsPerPlane)
Definition: IndicesExtrude.h:76
constexpr VTKM_EXEC vtkm::IdComponent GetNumberOfComponents() const
Definition: IndicesExtrude.h:54
vtkm::Int32 IdComponent
Represents a component ID (index of component in a vector).
Definition: Types.h:168
ConnectivityPortalType Connectivity
Definition: IndicesExtrude.h:120
vtkm::Id Offset1
Definition: IndicesExtrude.h:121
vtkm::Int32 NumberOfPointsPerPlane
Definition: IndicesExtrude.h:67
vtkm::IdComponent NumberOfComponents
Definition: IndicesExtrude.h:123
vtkm::Int32 Planes[2]
Definition: IndicesExtrude.h:66
vtkm::IdComponent Length1
Definition: IndicesExtrude.h:122
Definition: IndicesExtrude.h:71
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
vtkm::Id Offset2
Definition: IndicesExtrude.h:121
Definition: IndicesExtrude.h:21
vtkm::Vec3i_32 PointIds[2]
Definition: IndicesExtrude.h:65
VTKM_EXEC IndicesExtrude(vtkm::Vec3i_32 pointIds1, vtkm::Int32 plane1, vtkm::Vec3i_32 pointIds2, vtkm::Int32 plane2, vtkm::Int32 numberOfPointsPerPlane)
Definition: IndicesExtrude.h:26
VTKM_EXEC vtkm::IdComponent GetNumberOfComponents() const
Definition: IndicesExtrude.h:109
int32_t Int32
Definition: Types.h:160
VTKM_EXEC void CopyInto(vtkm::Vec< T, DestSize > &dest) const
Definition: IndicesExtrude.h:57
vtkm::Id CellOffset2
Definition: IndicesExtrude.h:124
VTKM_EXEC vtkm::Id operator[](vtkm::IdComponent index) const
Definition: IndicesExtrude.h:95
VTKM_EXEC vtkm::Id operator[](vtkm::IdComponent index) const
Definition: IndicesExtrude.h:38
vtkm::Id CellOffset1
Definition: IndicesExtrude.h:124
ReverseIndicesExtrude()=default