MrSID Decode SDK for Raster Reference Manual
9.5.4.4709
|
class for writing RAW files More...
#include <lti_rawImageWriter.h>
Public Member Functions | |
LTIRawImageWriter (void) | |
virtual | ~LTIRawImageWriter (void) |
LT_STATUS | initialize (LTIImageStage *imageStage) |
initialization function More... | |
LTILayout | getLayout () const |
virtual LT_STATUS | writeBegin (const LTIScene &scene) |
begin an encode (write) operation More... | |
virtual LT_STATUS | writeStrip (LTISceneBuffer &stripBuffer, const LTIScene &stripScene) |
encode one strip of the scene More... | |
void | setLayout (LTILayout layout) |
set layout More... | |
void | setByteOrder (LTIEndian byteOrder) |
set byte order More... | |
![]() | |
virtual | ~LTIGeoFileImageWriter () |
virtual LT_STATUS | writeEnd (void) |
complete an encode (write) operation More... | |
virtual LT_STATUS | deleteOutput (void) |
clean up a failed encode (write) operation More... | |
virtual LT_STATUS | setOutputFileSpec (const LTFileSpec &fileSpec) |
set output file name More... | |
virtual LT_STATUS | setOutputFileSpec (const char *fileSpec) |
set output file name More... | |
virtual LT_STATUS | setOutputStream (LTIOStreamInf *stream) |
set output file stream More... | |
virtual void | setWriteWorldFile (bool enabled) |
enable writing of world file More... | |
![]() | |
virtual | ~LTIImageWriter () |
virtual LT_STATUS | write (const LTIScene &scene) |
write (encode) a scene to the output format More... | |
LT_STATUS | setStripHeight (lt_uint32 stripHeight) |
set the stripheight for the encode More... | |
lt_uint32 | getStripHeight (void) const |
get the stripheight for the encode More... | |
virtual lt_uint32 | getDefaultStripHeight (void) const |
get the preferred stripheight for the encode More... | |
virtual lt_int64 | getEncodingCost (const LTIScene &scene) const |
get the cost to encode the scene More... | |
void | setProgressDelegate (LTIProgressDelegate *delegate) |
set progress delegate More... | |
void | setInterruptDelegate (LTIInterruptDelegate *delegate) |
set interrupt delegate More... | |
const LTIImageStage * | getSourceImageStage (void) const |
get the source image stage More... | |
LTIProgressDelegate * | getProgressDelegate (void) const |
get progress delegate More... | |
LTIInterruptDelegate * | getInterruptDelegate (void) const |
get interrupt delegate More... | |
virtual LT_STATUS | setEncodingApplication (const char *name, const char *version, const char *comment=NULL) |
set name and version of the creating application More... | |
Protected Attributes | |
LTILayout | m_layout |
LTIEndian | m_byteOrder |
![]() | |
LTIImageStage * | m_image |
Additional Inherited Members | |
![]() | |
LTIGeoFileImageWriter (bool supportsStreams) | |
constructor More... | |
LTIOStreamInf * | getStream () const |
get underlying stream More... | |
LTFileSpec * | getFileSpec () const |
get target filename More... | |
![]() | |
LTIImageWriter (void) | |
LT_STATUS | init (LTIImageStage *imageStage) |
initialization function More... | |
LT_STATUS | writeCleanup (LT_STATUS sts) |
This class writes an image to a stream in RAW format.
The RAW format used is simple packed BIP form.
Definition at line 30 of file lti_rawImageWriter.h.
LTIRawImageWriter::LTIRawImageWriter | ( | void | ) |
|
virtual |
|
inline |
Definition at line 47 of file lti_rawImageWriter.h.
LT_STATUS LTIRawImageWriter::initialize | ( | LTIImageStage * | imageStage | ) |
Note that the pointer to the input image stage may not be NULL. The writer does not take ownership of the image stage.
imageStage | the source of image data to be written |
void LTIRawImageWriter::setByteOrder | ( | LTIEndian | byteOrder | ) |
This function is used to determine byte ordering of the output file.
byteOrder | the byte ordering to use |
void LTIRawImageWriter::setLayout | ( | LTILayout | layout | ) |
This function is used to determine the layout of the output image, i.e. BIP or BIL or BSQ.
layout | the layout to use |
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.
scene | the scene to decode and output |
Reimplemented from LTIGeoFileImageWriter.
Reimplemented in LTIBBBImageWriter.
|
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.
stripBuffer | the pixels for the current strip |
stripScene | the scene representing the strip being written |
Implements LTIGeoFileImageWriter.
|
protected |
Definition at line 74 of file lti_rawImageWriter.h.
|
protected |
Definition at line 73 of file lti_rawImageWriter.h.
LizardTech |