MrSID Decode SDK for Raster Reference Manual
9.0.0.3864
Main Page
Namespaces
Classes
Files
Examples
File List
File Members
lti_geoFileImageWriter.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 LTI_GEOFILEIMAGEWRITER_H
14
#define LTI_GEOFILEIMAGEWRITER_H
15
16
// lt_lib_mrsid_core
17
#include "
lti_imageWriter.h
"
18
#include "
lti_scene.h
"
19
20
LT_BEGIN_NAMESPACE
(LizardTech)
21
22
23
30
class
LTIGeoFileImageWriter
: public
LTIImageWriter
31
{
32
LT_DISALLOW_COPY_CONSTRUCTOR(
LTIGeoFileImageWriter
);
33
public
:
34
virtual
~
LTIGeoFileImageWriter
();
35
36
virtual
LT_STATUS
writeBegin(
const
LTIScene
& scene);
37
virtual
LT_STATUS
writeStrip(
LTISceneBuffer
& stripBuffer,
38
const
LTIScene
& stripScene) = 0;
39
virtual
LT_STATUS
writeEnd(
void
);
40
41
virtual
LT_STATUS
deleteOutput(
void
);
42
52
virtual
LT_STATUS
setOutputFileSpec(
const
LTFileSpec
& fileSpec);
53
63
virtual
LT_STATUS
setOutputFileSpec(
const
char
* fileSpec);
64
77
virtual
LT_STATUS
setOutputStream(
LTIOStreamInf
* stream);
78
89
virtual
void
setWriteWorldFile(
bool
enabled);
90
91
protected
:
101
LTIGeoFileImageWriter
(
bool
supportsStreams);
102
113
LTIOStreamInf
* getStream()
const
;
114
125
LTFileSpec
* getFileSpec()
const
;
126
127
private
:
128
const
bool
m_supportsStreams;
129
LTFileSpec
* m_fileSpec;
130
LTIOStreamInf
* m_stream;
131
bool
m_ownStream;
132
133
bool
m_worldFileEnabled;
134
135
LTIScene
m_fullScene;
136
137
};
138
139
140
LT_END_NAMESPACE
(LizardTech)
141
142
#endif // LTI_GEOFILEIMAGEWRITER_H
LizardTech