9 #ifndef CMZN_STREAMIMAGE_HPP__
10 #define CMZN_STREAMIMAGE_HPP__
12 #include "zinc/streamimage.h"
13 #include "zinc/fieldimage.hpp"
14 #include "zinc/stream.hpp"
38 Streaminformation(reinterpret_cast<cmzn_streaminformation_id>(streaminformation_image_id))
56 cmzn_streaminformation_image_id
getId()
const
58 return reinterpret_cast<cmzn_streaminformation_image_id
>(id);
161 return cmzn_streaminformation_image_set_attribute_integer(
162 reinterpret_cast<cmzn_streaminformation_image_id>(
id),
163 static_cast<cmzn_streaminformation_image_attribute>(attribute), value);
177 return cmzn_streaminformation_image_set_attribute_real(
178 reinterpret_cast<cmzn_streaminformation_image_id>(
id),
179 static_cast<cmzn_streaminformation_image_attribute>(attribute), value);
191 return cmzn_streaminformation_image_set_file_format(
192 reinterpret_cast<cmzn_streaminformation_image_id>(
id),
193 static_cast<cmzn_streaminformation_image_file_format>(imageFileFormat));
205 return cmzn_streaminformation_image_set_pixel_format(
206 reinterpret_cast<cmzn_streaminformation_image_id>(
id),
207 static_cast<cmzn_streaminformation_image_pixel_format>(imagePixelFormat));
220 reinterpret_cast<cmzn_streaminformation_image_id>(
221 cmzn_field_image_create_streaminformation_image(getDerivedId())));
226 return cmzn_field_image_read(getDerivedId(), streaminformationImage.
getId());
231 return cmzn_field_image_write(getDerivedId(), streaminformationImage.
getId());
int write(const StreaminformationImage &streaminformationImage)
Definition: streamimage.hpp:229
int read(const StreaminformationImage &streaminformationImage)
Definition: streamimage.hpp:224
StreaminformationImage createStreaminformationImage()
Definition: streamimage.hpp:217