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 LTI_BBBIMAGEWRITER_H 00014 #define LTI_BBBIMAGEWRITER_H 00015 00016 // lt_lib_mrsid_core 00017 #include "lti_rawImageWriter.h" 00018 00019 LT_BEGIN_NAMESPACE(LizardTech) 00020 00021 00027 class LTIBBBImageWriter : public LTIRawImageWriter 00028 { 00029 LT_DISALLOW_COPY_CONSTRUCTOR(LTIBBBImageWriter); 00030 public: 00031 LTIBBBImageWriter(void); 00032 virtual ~LTIBBBImageWriter(void); 00033 00034 LT_STATUS writeBegin(const LTIScene& scene); 00035 LT_STATUS deleteOutput(void); 00036 00037 static LT_STATUS writeHeader(const LTFileSpec& fileSpec, 00038 const LTIImage& image, 00039 const LTIScene* userScene, 00040 LTIEndian byteOrder, 00041 LTILayout layout); 00042 00043 00044 00045 private: 00046 LT_STATUS checkImpedance() const; 00047 00048 LT_STATUS writeHeader(const LTIScene&); 00049 }; 00050 00051 00052 LT_END_NAMESPACE(LizardTech) 00053 00054 00055 #endif // LTI_BBBIMAGEWRITER_H
LizardTech |