vil1_bmp_file_format Class Reference

#include <vil1_bmp.h>

Inheritance diagram for vil1_bmp_file_format:

vil1_file_format List of all members.

Detailed Description

Loader for BMP files.

Definition at line 39 of file vil1_bmp.h.


Public Member Functions

virtual char const * tag () const
 Return a character string which uniquely identifies this format.
virtual vil1_image_implmake_input_image (vil1_stream *vs)
 Attempt to make a generic_image which will read from vil1_stream vs.
virtual vil1_image_implmake_output_image (vil1_stream *vs, int planes, int width, int height, int components, int bits_per_component, vil1_component_format format)
virtual vil1_image_implmake_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 ()

Member Function Documentation

char const * vil1_bmp_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 44 of file vil1_bmp.cxx.

vil1_image_impl * vil1_bmp_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 21 of file vil1_bmp.cxx.

vil1_image_impl * vil1_bmp_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 34 of file vil1_bmp.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.


The documentation for this class was generated from the following files:
Generated on Sun Nov 22 05:09:19 2009 for core/vil1 by  doxygen 1.5.1