MrSID Decode SDK for Raster Reference Manual  9.5.1.4427
lti_rawImageWriter.h
Go to the documentation of this file.
00001 /* $Id$ */
00002 /* //////////////////////////////////////////////////////////////////////////
00003 //                                                                         //
00004 // This code is Copyright (c) 2004 LizardTech, Inc, 1008 Western Avenue,   //
00005 // Suite 200, Seattle, WA 98104.  Unauthorized use or distribution         //
00006 // prohibited.  Access to and use of this code is permitted only under     //
00007 // license from LizardTech, Inc.  Portions of the code are protected by    //
00008 // US and foreign patents and other filings. All Rights Reserved.          //
00009 //                                                                         //
00011 /* PUBLIC */
00012 
00013 #ifndef LTIRAWIMAGEWRITER_H
00014 #define LTIRAWIMAGEWRITER_H
00015 
00016 // lt_lib_mrsid_core
00017 #include "lti_geoFileImageWriter.h"
00018 
00019 
00020 LT_BEGIN_NAMESPACE(LizardTech)
00021 
00022 
00023 
00030 class LTIRawImageWriter : public LTIGeoFileImageWriter
00031 {
00032    LT_DISALLOW_COPY_CONSTRUCTOR(LTIRawImageWriter);
00033 public:
00034    LTIRawImageWriter(void);
00035    virtual ~LTIRawImageWriter(void);
00036 
00045    LT_STATUS initialize(LTIImageStage *imageStage);
00046 
00047    LTILayout getLayout() const { return m_layout; };
00048 
00049    virtual LT_STATUS writeBegin(const LTIScene& scene);
00050    virtual LT_STATUS writeStrip(LTISceneBuffer& stripBuffer,
00051                                 const LTIScene& stripScene);
00052 
00061    void setLayout(LTILayout layout);
00062 
00070    void setByteOrder(LTIEndian byteOrder);
00071 
00072 protected:
00073    LTILayout m_layout;
00074    LTIEndian m_byteOrder;
00075 
00076 private:
00077    lt_uint32 m_fullWidth;
00078    lt_uint32 m_fullHeight;
00079    lt_uint32 m_curRow;
00080 };
00081 
00082 
00083 LT_END_NAMESPACE(LizardTech)
00084 
00085 
00086 #endif // LTIRAWIMAGEWRITER_H