Writing images using HDF5 Image format.
More...
#include <ImageWriterHDF5.h>
Writing images using HDF5 Image format.
ImageWriterHDF5
extends vtkm::io::ImageWriterBase and implements writing image HDF5 file format. It conforms to the HDF5 Image Specification https://portal.hdfgroup.org/display/HDF5/HDF5+Image+and+Palette+Specification%2C+Version+1.2
◆ Superclass
◆ ~ImageWriterHDF5()
vtkm::io::ImageWriterHDF5::~ImageWriterHDF5 |
( |
| ) |
|
|
overridenoexcept |
◆ ImageWriterHDF5()
◆ operator=()
◆ Write()
◆ WriteDataSet()
void vtkm::io::ImageWriterHDF5::WriteDataSet |
( |
const vtkm::cont::DataSet & |
dataSet, |
|
|
const std::string & |
colorField = {} |
|
) |
| |
|
virtual |
Write the color field of a data set to an image file.
The DataSet
must have a 2D structured cell set.
The specified color field must be of type ColorArrayType
(a basic ArrayHandle
of vtkm::Vec4f_32
). If no color field name is given, the first point field that matches this criteria is written.
Reimplemented from vtkm::io::ImageWriterBase.
◆ WriteToFile()
template<typename PixelType >
◆ fieldName
std::string vtkm::io::ImageWriterHDF5::fieldName |
|
private |
◆ fileid
std::int64_t vtkm::io::ImageWriterHDF5::fileid = 0 |
|
private |
◆ IMAGE_CLASS
constexpr auto vtkm::io::ImageWriterHDF5::IMAGE_CLASS = "IMAGE" |
|
staticconstexprprivate |
◆ IMAGE_VERSION
constexpr auto vtkm::io::ImageWriterHDF5::IMAGE_VERSION = "1.2" |
|
staticconstexprprivate |
The documentation for this class was generated from the following file: