Go to the documentation of this file.
10 #ifndef vtk_m_io_ImageReaderBase_h
11 #define vtk_m_io_ImageReaderBase_h
47 VTKM_CONT const
vtkm::cont::DataSet& GetDataSet()
const {
return this->DataSet; }
61 void InitializeImageDataSet(
const vtkm::Id& width,
63 const ColorArrayType& pixels);
66 std::string PointFieldName =
"color";
72 #endif //vtk_m_io_ImageReaderBase_h
void SetPointFieldName(const std::string &name)
Set the name of the output field that will be created to hold color data.
Definition: ImageReaderBase.h:52
const std::string & GetFileName() const
Definition: ImageReaderBase.h:54
Manages an array-worth of data.
Definition: ArrayHandle.h:300
Groups connected points that have the same field value.
Definition: Atomic.h:19
Contains and manages the geometric data structures that VTK-m operates on.
Definition: DataSet.h:57
#define VTKM_IO_EXPORT
Definition: vtkm_io_export.h:44
const std::string & GetPointFieldName() const
Get the name of the output field that will be created to hold color data.
Definition: ImageReaderBase.h:50
Manages reading, and loading data from images.
Definition: ImageReaderBase.h:32
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::Int64 Id
Base type to use to index arrays.
Definition: Types.h:227
void SetFileName(const std::string &filename)
Definition: ImageReaderBase.h:55
vtkm::cont::DataSet DataSet
Definition: ImageReaderBase.h:67
std::string FileName
Definition: ImageReaderBase.h:65