MrSID Decode SDK for Raster Reference Manual  9.5.1.4427
lti_rawImageWriter.h
Go to the documentation of this file.
1 /* $Id$ */
2 /* //////////////////////////////////////////////////////////////////////////
3 // //
4 // This code is Copyright (c) 2004 LizardTech, Inc, 1008 Western Avenue, //
5 // Suite 200, Seattle, WA 98104. Unauthorized use or distribution //
6 // prohibited. Access to and use of this code is permitted only under //
7 // license from LizardTech, Inc. Portions of the code are protected by //
8 // US and foreign patents and other filings. All Rights Reserved. //
9 // //
11 /* PUBLIC */
12 
13 #ifndef LTIRAWIMAGEWRITER_H
14 #define LTIRAWIMAGEWRITER_H
15 
16 // lt_lib_mrsid_core
17 #include "lti_geoFileImageWriter.h"
18 
19 
20 LT_BEGIN_NAMESPACE(LizardTech)
21 
22 
23 
31 {
32  LT_DISALLOW_COPY_CONSTRUCTOR(LTIRawImageWriter);
33 public:
34  LTIRawImageWriter(void);
35  virtual ~LTIRawImageWriter(void);
36 
45  LT_STATUS initialize(LTIImageStage *imageStage);
46 
47  LTILayout getLayout() const { return m_layout; };
48 
49  virtual LT_STATUS writeBegin(const LTIScene& scene);
50  virtual LT_STATUS writeStrip(LTISceneBuffer& stripBuffer,
51  const LTIScene& stripScene);
52 
61  void setLayout(LTILayout layout);
62 
70  void setByteOrder(LTIEndian byteOrder);
71 
72 protected:
75 
76 private:
77  lt_uint32 m_fullWidth;
78  lt_uint32 m_fullHeight;
79  lt_uint32 m_curRow;
80 };
81 
82 
83 LT_END_NAMESPACE(LizardTech)
84 
85 
86 #endif // LTIRAWIMAGEWRITER_H
class for writing RAW files
unsigned int lt_uint32
unsigned 32-bit integer
Definition: lt_types.h:54
LTIEndian
constants representing endianness (byte order)
Definition: lti_types.h:164
LTILayout
constants representing data layout
Definition: lti_types.h:152
#define LT_BEGIN_NAMESPACE(theNameSpace)
compiler does not support namespaces
Definition: lt_define.h:84
class to hold data passed between image stages
abstract class for decoding from an image
representation of a scene
Definition: lti_scene.h:64
class for writing geographic images to files or streams
LTILayout getLayout() const
#define LT_END_NAMESPACE(theNameSpace)
compiler does not support namespaces
Definition: lt_define.h:85
lt_uint32 LT_STATUS
An integral status code.
Definition: lt_status.h:39

LizardTech