#include <vil1_viff.h>
Inheritance diagram for vil1_viff_file_format:

This supports char, short, int, float and double pixel cell types. No colour support right now. Adapted from the version by Reinhard Koch, Nov. 19, 1996.
Definition at line 30 of file vil1_viff.h.
Public Member Functions | |
| virtual char const * | tag () const |
| Return a character string which uniquely identifies this format. | |
| virtual vil1_image_impl * | make_input_image (vil1_stream *vs) |
| Attempt to make a generic_image which will read from vil1_stream vs. | |
| virtual vil1_image_impl * | make_output_image (vil1_stream *vs, int planes, int width, int height, int components, int bits_per_component, vil1_component_format format) |
| virtual vil1_image_impl * | make_output_image (vil1_stream *vs, int planes, int width, int height, int components, int bits_per_component, enum vil1_component_format)=0 |
| Make a "generic_image" on which put_section may be applied. | |
Static Public Member Functions | |
| static vil1_file_format ** | all () |
| char const * vil1_viff_file_format::tag | ( | ) | const [virtual] |
Return a character string which uniquely identifies this format.
E.g. "pnm", "jpeg", etc.
Implements vil1_file_format.
Definition at line 92 of file vil1_viff.cxx.
| vil1_image_impl * vil1_viff_file_format::make_input_image | ( | vil1_stream * | vs | ) | [virtual] |
Attempt to make a generic_image which will read from vil1_stream vs.
Reads enough of vs to determine if it's this format, and if not, returns 0. If it is, returns a subclass of vil1_image_impl on which get_section may be applied.
Implements vil1_file_format.
Definition at line 48 of file vil1_viff.cxx.
| vil1_image_impl * vil1_viff_file_format::make_output_image | ( | vil1_stream * | vs, | |
| int | planes, | |||
| int | width, | |||
| int | height, | |||
| int | components, | |||
| int | bits_per_component, | |||
| vil1_component_format | format | |||
| ) | [virtual] |
Definition at line 82 of file vil1_viff.cxx.
| virtual vil1_image_impl* vil1_file_format::make_output_image | ( | vil1_stream * | vs, | |
| int | planes, | |||
| int | width, | |||
| int | height, | |||
| int | components, | |||
| int | bits_per_component, | |||
| enum | vil1_component_format | |||
| ) | [pure virtual, inherited] |
Make a "generic_image" on which put_section may be applied.
The stream vs is assumed to be open for writing, as an image header may be written to it immediately. The width/height etc are explicitly specified, so that file_format implementors know what they need to do...
| vil1_file_format ** vil1_file_format::all | ( | ) | [static, inherited] |
Definition at line 71 of file vil1_file_format.cxx.
1.5.1