2 #ifndef vil_ras_file_format_h_ 3 #define vil_ras_file_format_h_ 19 #include <vxl_config.h> 28 char const*
tag()
const override;
71 unsigned nplanes()
const override;
72 unsigned ni()
const override;
73 unsigned nj()
const override;
87 unsigned j0,
unsigned nj)
const override;
92 bool get_property(
char const *
tag,
void *prop =
nullptr)
const override;
95 #endif // vil_ras_file_format_h_ Stream interface for VIL image loaders.
An abstract base class of smart pointers to actual image data in memory.
bool put_view(const vil_image_view_base &im, unsigned i0, unsigned j0) override
Put the data in this view back into the image source.
bool get_property(char const *tag, void *prop=nullptr) const override
Extra property information.
vil_streampos start_of_data_
~vil_ras_image() override
char const * file_format() const override
Return a string describing the file format.
unsigned bits_per_component_
Stream interface for VIL image loaders.
Generic image implementation for Sun raster files.
vil_ras_image(vil_stream *is)
Abstract representation of an image source or image destination.
vil_image_view_base_sptr get_copy_view() const
Create a read/write view of a copy of all the data.
bool read_header()
Read the header of a Sun raster file.
unsigned nplanes() const override
Dimensions: Planes x ni x nj.
unsigned nj() const override
Dimensions: Planes x ni x nj.
Representation of a generic image source or destination.
vil_pixel_format pixel_format() const override
Pixel Format.
unsigned ni() const override
Dimensions: Planes x ni x nj.