Go to the documentation of this file.
10 #ifndef vtk_m_cont_ArrayHandleUniformPointCoordinates_h
11 #define vtk_m_cont_ArrayHandleUniformPointCoordinates_h
29 using StorageTagUniformPointsSuperclass =
34 : Storage<vtkm::Vec3f, StorageTagUniformPointsSuperclass>
80 struct ArrayExtractComponentImpl;
92 struct ArrayRangeComputeImpl;
100 bool computeFiniteRange,
118 struct SerializableTypeString<
vtkm::cont::ArrayHandleUniformPointCoordinates>
120 static VTKM_CONT std::string
Get() {
return "AH_UniformPointCoordinates"; }
124 struct SerializableTypeString<
125 vtkm::cont::ArrayHandle<vtkm::Vec3f, vtkm::cont::StorageTagUniformPoints>>
126 : SerializableTypeString<vtkm::cont::ArrayHandleUniformPointCoordinates>
136 struct Serialization<
vtkm::cont::ArrayHandleUniformPointCoordinates>
143 static VTKM_CONT void save(BinaryBuffer& bb,
const BaseType& obj)
145 auto portal = obj.ReadPortal();
146 vtkmdiy::save(bb, portal.GetDimensions());
147 vtkmdiy::save(bb, portal.GetOrigin());
148 vtkmdiy::save(bb, portal.GetSpacing());
154 typename BaseType::ValueType origin, spacing;
165 struct Serialization<
vtkm::cont::ArrayHandle<vtkm::Vec3f, vtkm::cont::StorageTagUniformPoints>>
166 : Serialization<vtkm::cont::ArrayHandleUniformPointCoordinates>
173 #endif //vtk_+m_cont_ArrayHandleUniformPointCoordinates_h
Manages an array-worth of data.
Definition: ArrayHandle.h:300
T load(const U &u, vtkm::Id v)
Definition: FetchTagArrayDirectIn.h:36
Groups connected points that have the same field value.
Definition: Atomic.h:19
auto Get(const vtkm::Tuple< Ts... > &tuple)
Retrieve the object from a vtkm::Tuple at the given index.
Definition: Tuple.h:81
#define VTKM_ARRAY_HANDLE_SUBCLASS_NT(classname, superclass)
Macro to make default methods in ArrayHandle subclasses.
Definition: ArrayHandle.h:266
An implementation for read-only implicit arrays.
Definition: ArrayHandleImplicit.h:86
vtkm::Int32 IdComponent
Base type to use to index small lists.
Definition: Types.h:194
Definition: Particle.h:351
An ArrayHandle that accesses a basic array with strides and offsets.
Definition: ArrayHandleStride.h:332
#define VTKM_CONT_EXPORT
Definition: vtkm_cont_export.h:44
#define VTKM_CONT
Definition: ExportMacros.h:57
An object used to specify a device.
Definition: DeviceAdapterTag.h:58
CopyFlag
Identifier used to specify whether a function should deep copy data.
Definition: Flags.h:17
#define VTKM_ALWAYS_EXPORT
Definition: ExportMacros.h:89