MrSID Decode SDK for Raster Reference Manual  9.0.0.3864
BMPImageWriter Class Reference

writes an image stage to a Windows BMP file More...

#include <BMPImageWriter.h>

Inheritance diagram for BMPImageWriter:
LTIGeoFileImageWriter LTIImageWriter

List of all members.

Public Member Functions

 BMPImageWriter (void)
 ~BMPImageWriter (void)
LT_STATUS initialize (LTIImageStage *image)
LT_STATUS writeBegin (const LTIScene &scene)
 begin an encode (write) operation
LT_STATUS writeStrip (LTISceneBuffer &stripBuffer, const LTIScene &stripScene)
 encode one strip of the scene
LT_STATUS writeEnd ()
 complete an encode (write) operation

Detailed Description

This class writes an image stage to a Windows BMP file.

Definition at line 37 of file BMPImageWriter.h.


Constructor & Destructor Documentation


Member Function Documentation

LT_STATUS BMPImageWriter::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:
scenethe scene to decode and output
Returns:
status code indicating success or failure

Reimplemented from LTIGeoFileImageWriter.

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

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

Returns:
status code indicating success or failure

Reimplemented from LTIGeoFileImageWriter.

LT_STATUS BMPImageWriter::writeStrip ( LTISceneBuffer stripBuffer,
const LTIScene stripScene 
) [virtual]

This function implements the logic for actually encoding a given strip of the given scene.

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

Parameters:
stripBufferthe pixels for the current strip
stripScenethe scene representing the strip being written
Returns:
status code indicating success or failure

Implements LTIGeoFileImageWriter.


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