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>
54 using StorageType = vtkm::cont::internal::Storage<ValueType, StorageTag>;
100 struct SerializableTypeString<
vtkm::cont::ArrayHandleUniformPointCoordinates>
102 static VTKM_CONT const std::string
Get() {
return "AH_UniformPointCoordinates"; }
106 struct SerializableTypeString<
107 vtkm::cont::ArrayHandle<vtkm::Vec3f, vtkm::cont::StorageTagUniformPoints>>
108 : SerializableTypeString<vtkm::cont::ArrayHandleUniformPointCoordinates>
118 struct Serialization<
vtkm::cont::ArrayHandleUniformPointCoordinates>
125 static VTKM_CONT void save(BinaryBuffer& bb,
const BaseType& obj)
127 auto portal = obj.ReadPortal();
128 vtkmdiy::save(bb, portal.GetDimensions());
129 vtkmdiy::save(bb, portal.GetOrigin());
130 vtkmdiy::save(bb, portal.GetSpacing());
136 typename BaseType::ValueType origin, spacing;
147 struct Serialization<
vtkm::cont::ArrayHandle<vtkm::Vec3f, vtkm::cont::StorageTagUniformPoints>>
148 : Serialization<vtkm::cont::ArrayHandleUniformPointCoordinates>
155 #endif //vtk_+m_cont_ArrayHandleUniformPointCoordinates_h
Manages an array-worth of data.
Definition: ArrayHandle.h:283
Groups connected points that have the same field value.
Definition: Atomic.h:19
#define VTKM_ARRAY_HANDLE_SUBCLASS_NT(classname, superclass)
Macro to make default methods in ArrayHandle subclasses.
Definition: ArrayHandle.h:249
An implementation for read-only implicit arrays.
Definition: ArrayHandleImplicit.h:86
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC_CONT auto Get(const vtkm::Tuple< Ts... > &tuple) -> decltype(tuple.template Get< Index >())
Retrieve the object from a vtkm::Tuple at the given index.
Definition: Tuple.h:83
vtkm::Int32 IdComponent
Represents a component ID (index of component in a vector).
Definition: Types.h:168
Definition: Particle.h:331
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC T load(const U &u, vtkm::Id v)
Definition: FetchTagArrayDirectIn.h:36
An ArrayHandle that accesses a basic array with strides and offsets.
Definition: ArrayHandleStride.h:251
#define VTKM_CONT
Definition: ExportMacros.h:57
CopyFlag
Definition: Flags.h:16
#define VTKM_ALWAYS_EXPORT
Definition: ExportMacros.h:92