Go to the documentation of this file.
10 #ifndef vtk_m_io_ImageReaderBase_h
11 #define vtk_m_io_ImageReaderBase_h
15 #include <vtkm/io/vtkm_io_export.h>
45 VTKM_CONT const
vtkm::cont::DataSet& GetDataSet()
const {
return this->DataSet; }
57 void InitializeImageDataSet(
const vtkm::Id& width,
59 const ColorArrayType& pixels);
62 std::string PointFieldName =
"color";
68 #endif //vtk_m_io_ImageReaderBase_h
const VTKM_CONT std::string & GetFileName() const
Definition: ImageReaderBase.h:50
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_CONT void SetPointFieldName(const std::string &name)
Definition: ImageReaderBase.h:48
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
Manages reading, and loading data from images.
Definition: ImageReaderBase.h:32
#define VTKM_CONT
Definition: ExportMacros.h:57
VTKM_CONT void SetFileName(const std::string &filename)
Definition: ImageReaderBase.h:51
const VTKM_CONT std::string & GetPointFieldName() const
Definition: ImageReaderBase.h:47
vtkm::cont::DataSet DataSet
Definition: ImageReaderBase.h:63
std::string FileName
Definition: ImageReaderBase.h:61