MrSID Decode SDK for Raster Reference Manual  9.5.5.5244
lti_rawImageWriter.h
Go to the documentation of this file.
1 //
2 // This code is property of Celartem, Inc dba Extensis.
3 // Copyright (c) 1995-2023. All rights reserved.
4 // Use permitted only under license from Extensis.
5 //
6 /* PUBLIC */
7 
8 #ifndef LTIRAWIMAGEWRITER_H
9 #define LTIRAWIMAGEWRITER_H
10 
11 // lt_lib_mrsid_core
12 #include "lti_geoFileImageWriter.h"
13 
14 
15 LT_BEGIN_LIZARDTECH_NAMESPACE
16 
17 
26 {
27  LT_DISALLOW_COPY_CONSTRUCTOR(LTIRawImageWriter);
28 public:
30  virtual ~LTIRawImageWriter(void);
31 
41 
42  LTILayout getLayout() const { return m_layout; };
43 
44  virtual LT_STATUS writeBegin(const LTIScene& scene);
45  virtual LT_STATUS writeStrip(LTISceneBuffer& stripBuffer,
46  const LTIScene& stripScene);
47 
56  void setLayout(LTILayout layout);
57 
65  void setByteOrder(LTIEndian byteOrder);
66 
67 protected:
70 
71 private:
72  lt_uint32 m_fullWidth;
73  lt_uint32 m_fullHeight;
74  lt_uint32 m_curRow;
75 };
76 
77 
78 LT_END_LIZARDTECH_NAMESPACE
79 
80 
81 #endif // LTIRAWIMAGEWRITER_H
lt_uint32 LT_STATUS
An integral status code.
Definition: lt_status.h:30
unsigned int lt_uint32
unsigned 32-bit integer
Definition: lt_types.h:44
LTILayout
constants representing data layout
Definition: lti_types.h:148
LTIEndian
constants representing endianness (byte order)
Definition: lti_types.h:160
class for writing geographic images to files or streams
abstract class for decoding from an image
class for writing RAW files
void setLayout(LTILayout layout)
set layout
LT_STATUS initialize(LTIImageStage *imageStage)
initialization function
virtual ~LTIRawImageWriter(void)
virtual LT_STATUS writeStrip(LTISceneBuffer &stripBuffer, const LTIScene &stripScene)
encode one strip of the scene
virtual LT_STATUS writeBegin(const LTIScene &scene)
begin an encode (write) operation
void setByteOrder(LTIEndian byteOrder)
set byte order
LTILayout getLayout() const
representation of a scene
Definition: lti_scene.h:60
class to hold data passed between image stages

Extensis