Reader/Writer for Meta Image format images. More...
#include <vil3d_meta_image_format.h>
Public Member Functions | |
vil3d_meta_image_format () | |
virtual | ~vil3d_meta_image_format () |
The destructor must be virtual so that the memory chunk is destroyed. | |
virtual vil3d_image_resource_sptr | make_input_image (const char *) const |
Create an image_resource from an existing file. | |
virtual vil3d_image_resource_sptr | make_output_image (const char *filename, unsigned ni, unsigned nj, unsigned nk, unsigned nplanes, vil_pixel_format format) const |
Make a "generic_image" on which put_section may be applied. | |
virtual const char * | tag () const |
default filename tag for this image. | |
Static Public Member Functions | |
static void | add_format (vil3d_file_format *new_format) |
Add a format reader to current list of those available. | |
static unsigned | n_formats () |
Number of formats available (number added by add_format(). | |
static const vil3d_file_format & | format (unsigned i) |
Access to available format readers supplied by add_format. |
Reader/Writer for Meta Image format images.
Definition at line 99 of file vil3d_meta_image_format.h.
vil3d_meta_image_format::vil3d_meta_image_format | ( | ) |
Definition at line 601 of file vil3d_meta_image_format.cxx.
vil3d_meta_image_format::~vil3d_meta_image_format | ( | ) | [virtual] |
The destructor must be virtual so that the memory chunk is destroyed.
Definition at line 609 of file vil3d_meta_image_format.cxx.
void vil3d_file_format::add_format | ( | vil3d_file_format * | new_format | ) | [static, inherited] |
Add a format reader to current list of those available.
This function will take ownership of the passed object, and will delete it when the program dies.
Definition at line 74 of file vil3d_file_format.cxx.
const vil3d_file_format & vil3d_file_format::format | ( | unsigned | i | ) | [static, inherited] |
Access to available format readers supplied by add_format.
Definition at line 86 of file vil3d_file_format.cxx.
vil3d_image_resource_sptr vil3d_meta_image_format::make_input_image | ( | const char * | filename | ) | const [virtual] |
Create an image_resource from an existing file.
Implements vil3d_file_format.
Definition at line 617 of file vil3d_meta_image_format.cxx.
virtual vil3d_image_resource_sptr vil3d_meta_image_format::make_output_image | ( | const char * | filename, |
unsigned | ni, | ||
unsigned | nj, | ||
unsigned | nk, | ||
unsigned | nplanes, | ||
vil_pixel_format | format | ||
) | const [virtual] |
Make a "generic_image" on which put_section may be applied.
The file may be opened immediately for writing so that a header can be written.
Implements vil3d_file_format.
unsigned vil3d_file_format::n_formats | ( | ) | [static, inherited] |
Number of formats available (number added by add_format().
Definition at line 80 of file vil3d_file_format.cxx.
virtual const char* vil3d_meta_image_format::tag | ( | ) | const [inline, virtual] |
default filename tag for this image.
Implements vil3d_file_format.
Definition at line 118 of file vil3d_meta_image_format.h.