Go to the documentation of this file.
18 #ifndef viskores_internal_IndicesExtrude_h
19 #define viskores_internal_IndicesExtrude_h
64 template <
typename T, viskores::IdComponent DestSize>
78 template <
typename ConnectivityPortalType>
119 template <
typename T, viskores::IdComponent DestSize>
124 dest[i] = (*this)[i];
137 #endif //viskores_m_internal_IndicesExtrude_h
viskores::Id operator[](viskores::IdComponent index) const
Definition: IndicesExtrude.h:103
void CopyInto(viskores::Vec< T, DestSize > &dest) const
Definition: IndicesExtrude.h:120
ReverseIndicesExtrude(const ConnectivityPortalType conn, viskores::Id offset1, viskores::IdComponent length1, viskores::Id offset2, viskores::IdComponent length2, viskores::IdComponent plane1, viskores::IdComponent plane2, viskores::Int32 numberOfCellsPerPlane)
Definition: IndicesExtrude.h:84
viskores::Int32 IdComponent
Base type to use to index small lists.
Definition: Types.h:202
viskores::Vec3i_32 PointIds[2]
Definition: IndicesExtrude.h:73
Definition: IndicesExtrude.h:29
viskores::Int32 NumberOfPointsPerPlane
Definition: IndicesExtrude.h:75
viskores::Id Offset1
Definition: IndicesExtrude.h:129
ConnectivityPortalType Connectivity
Definition: IndicesExtrude.h:128
viskores::IdComponent Length1
Definition: IndicesExtrude.h:130
viskores::Int64 Id
Base type to use to index arrays.
Definition: Types.h:235
IndicesExtrude(viskores::Vec3i_32 pointIds1, viskores::Int32 plane1, viskores::Vec3i_32 pointIds2, viskores::Int32 plane2, viskores::Int32 numberOfPointsPerPlane)
Definition: IndicesExtrude.h:34
Definition: IndicesExtrude.h:79
Groups connected points that have the same field value.
Definition: Atomic.h:27
viskores::Id operator[](viskores::IdComponent index) const
Definition: IndicesExtrude.h:46
#define VISKORES_ASSERT(condition)
Definition: Assert.h:51
viskores::IdComponent GetNumberOfComponents() const
Definition: IndicesExtrude.h:117
viskores::Id CellOffset1
Definition: IndicesExtrude.h:132
ReverseIndicesExtrude()=default
int32_t Int32
Base type to use for 32-bit signed integer numbers.
Definition: Types.h:189
void CopyInto(viskores::Vec< T, DestSize > &dest) const
Definition: IndicesExtrude.h:65
constexpr viskores::IdComponent GetNumberOfComponents() const
Definition: IndicesExtrude.h:62
viskores::IdComponent NumberOfComponents
Definition: IndicesExtrude.h:131
viskores::Id CellOffset2
Definition: IndicesExtrude.h:132
#define VISKORES_EXEC
Definition: ExportMacros.h:59
viskores::Id Offset2
Definition: IndicesExtrude.h:129
viskores::Int32 Planes[2]
Definition: IndicesExtrude.h:74