2 #ifndef vil_viff_file_format_h_ 3 #define vil_viff_file_format_h_ 22 #include <vxl_config.h> 30 char const*
tag()
const override;
33 unsigned int ni,
unsigned int nj,
unsigned int nplanes,
60 unsigned int ni,
unsigned int nj,
unsigned int nplanes,
65 unsigned int ni()
const override {
return ni_; }
66 unsigned int nj()
const override {
return nj_; }
77 bool get_property(
char const *
tag,
void *prop =
nullptr)
const override;
90 #endif // vil_viff_file_format_h_ Stream interface for VIL image loaders.
An abstract base class of smart pointers to actual image data in memory.
vxl_uint_32 ispare2() const
vil_streampos start_of_data_
bool get_property(char const *tag, void *prop=nullptr) const override
Extra property information.
char const * file_format() const override
Return a string describing the file format.
void set_fspare1(float fspare1)
~vil_viff_image() override
enum vil_pixel_format format_
Stream interface for VIL image loaders.
void set_fspare2(float fspare2)
unsigned int nj() const override
Dimensions: Planes x ni x nj.
void set_ispare1(vxl_uint_32 ispare1)
Abstract representation of an image source or image destination.
unsigned int nplanes() const override
Dimensions: Planes x ni x nj.
vil_image_view_base_sptr get_copy_view() const
Create a read/write view of a copy of all the data.
unsigned int ni() const override
Dimensions. Planes x W x H.
void set_ispare2(vxl_uint_32 ispare2)
bool put_view(vil_image_view_base const &buf, unsigned int x0, unsigned int y0) override
Write buf into this at position (x0,y0).
Representation of a generic image source or destination.
enum vil_pixel_format pixel_format() const override
Pixel Format.
Generic image implementation for VIFF (Khoros) files.
vil_viff_image(vil_stream *is)
vxl_uint_32 ispare1() const
User defined spare values in header.