Public Member Functions | Static Public Member Functions
vil3d_slice_list_format Class Reference

Format class for a volume made up of a list of images. More...

#include <vil3d_slice_list.h>

Inheritance diagram for vil3d_slice_list_format:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 vil3d_slice_list_format ()
virtual ~vil3d_slice_list_format ()
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, enum vil_pixel_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_formatformat (unsigned i)
 Access to available format readers supplied by add_format.

Detailed Description

Format class for a volume made up of a list of images.

The filename format can be a list of ';' delimited filenames. It can also be single filename where '#' represents a numeric character. A set of image files with contiguous numbering will be loaded, starting with the lowest number.

The first 2D image to be loaded is the k=0 slice in the image, etc.

Definition at line 23 of file vil3d_slice_list.h.


Constructor & Destructor Documentation

vil3d_slice_list_format::vil3d_slice_list_format ( )

Definition at line 18 of file vil3d_slice_list.cxx.

vil3d_slice_list_format::~vil3d_slice_list_format ( ) [virtual]

Definition at line 20 of file vil3d_slice_list.cxx.


Member Function Documentation

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_slice_list_format::make_input_image ( const char *  filename) const [virtual]

Create an image_resource from an existing file.

Implements vil3d_file_format.

Definition at line 91 of file vil3d_slice_list.cxx.

vil3d_image_resource_sptr vil3d_slice_list_format::make_output_image ( const char *  filename,
unsigned  ni,
unsigned  nj,
unsigned  nk,
unsigned  nplanes,
enum vil_pixel_format   
) const [virtual]

Make a "generic_image" on which put_section may be applied.

Not implemented - 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.

The file may be opened immediately for writing so that a header can be written. The width/height etc are explicitly specified, so that file_format implementors know what they need to do...

Implements vil3d_file_format.

Definition at line 166 of file vil3d_slice_list.cxx.

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_slice_list_format::tag ( ) const [inline, virtual]

default filename tag for this image.

Implements vil3d_file_format.

Definition at line 41 of file vil3d_slice_list.h.


The documentation for this class was generated from the following files: