2 #ifndef vil_iris_file_format_h_ 3 #define vil_iris_file_format_h_ 27 char const*
tag()
const override;
30 unsigned int ni,
unsigned int nj,
unsigned int planes,
48 unsigned int ni,
unsigned int nj,
unsigned int planes,
53 unsigned int ni()
const override {
return ni_; }
54 unsigned int nj()
const override {
return nj_; }
63 bool get_property(
char const *
tag,
void *prop =
nullptr)
const override;
92 #endif // vil_iris_file_format_h_ Stream interface for VIL image loaders.
An abstract base class of smart pointers to actual image data in memory.
bool read_offset_tables()
bool get_property(char const *tag, void *prop=nullptr) const override
Extra property information.
unsigned int nplanes() const override
Dimensions: Planes x ni x nj.
unsigned int ni() const override
Dimensions. Planes x ni(width) x nj(height).
vil_image_view_base_sptr get_section_verbatim(unsigned int x0, unsigned int ni, unsigned int y0, unsigned int nj) const
Stream interface for VIL image loaders.
~vil_iris_generic_image() override
Generic image implementation for iris (SGI) RGB files.
vil_streampos start_of_data_
bool put_view(vil_image_view_base const &buf, unsigned int x0, unsigned int y0) override
Abstract representation of an image source or image destination.
unsigned long * starttab_
enum vil_pixel_format format_
vil_image_view_base_sptr get_section_rle(unsigned int x0, unsigned int ni, unsigned int y0, unsigned int nj) const
char const * file_format() const override
Return a string describing the file format.
vil_image_view_base_sptr get_copy_view() const
Create a read/write view of a copy of all the data.
Representation of a generic image source or destination.
unsigned int nj() const override
Dimensions: Planes x ni x nj.
vil_iris_generic_image(vil_stream *is, char const *imagename="")
enum vil_pixel_format pixel_format() const override
Pixel Format.
unsigned long * lengthtab_