LTIBBBImageWriter Class Reference

writes an image stage to a BBB file More...

#include <lti_bbbImageWriter.h>

Inheritance diagram for LTIBBBImageWriter:

LTIRawImageWriter LTIGeoFileImageWriter LTIImageWriter

List of all members.

Public Member Functions

 LTIBBBImageWriter (void)
virtual ~LTIBBBImageWriter (void)
LT_STATUS writeBegin (const LTIScene &scene)
 begin an encode (write) operation
LT_STATUS deleteOutput (void)
 clean up a failed encode (write) operation

Static Public Member Functions

static LT_STATUS writeHeader (const LTFileSpec &fileSpec, const LTIImage &image, const LTIScene *userScene, LTIEndian byteOrder, LTILayout layout)


Detailed Description

This class provides support for writing BBB files, i.e. a raw file with a BBB-style header.
Examples:

DecodeJP2ToBBB.cpp, DerivedImageFilter.cpp, and DerivedImageReader.cpp.

Definition at line 27 of file lti_bbbImageWriter.h.


Constructor & Destructor Documentation

LTIBBBImageWriter::LTIBBBImageWriter ( void   ) 

virtual LTIBBBImageWriter::~LTIBBBImageWriter ( void   )  [virtual]


Member Function Documentation

LT_STATUS LTIBBBImageWriter::writeBegin ( const LTIScene scene  )  [virtual]

This function implements the logic for beginning the encoding of the given scene.

The scene must be a valid scene for the underlying image pipeline.

This function is called by write(). Derived classes must implement this function.

Parameters:
scene the scene to decode and output
Returns:
status code indicating success or failure

Reimplemented from LTIRawImageWriter.

LT_STATUS LTIBBBImageWriter::deleteOutput ( void   )  [virtual]

This function should delete any output files that were create during the calls to writeBegin() and writeStrip().

This function is called by write(). Derived classes must implement this function.

Returns:
status code indicating the failure of operation

Reimplemented from LTIGeoFileImageWriter.

static LT_STATUS LTIBBBImageWriter::writeHeader ( const LTFileSpec fileSpec,
const LTIImage image,
const LTIScene userScene,
LTIEndian  byteOrder,
LTILayout  layout 
) [static]


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

LizardTech