svn-gvsig-desktop / trunk / libraries / libjni-mrsid / sdk / include / base / lti_bbbImageWriter.h @ 20023
History | View | Annotate | Download (1.76 KB)
1 |
/* $Id: lti_bbbImageWriter.h 3539 2006-01-09 12:23:20Z nacho $ */
|
---|---|
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 |
// //
|
10 |
////////////////////////////////////////////////////////////////////////// */
|
11 |
/* PUBLIC */
|
12 |
|
13 |
#ifndef LTI_BBBIMAGEWRITER_H
|
14 |
#define LTI_BBBIMAGEWRITER_H
|
15 |
|
16 |
// lt_lib_mrsid_core
|
17 |
#include "lti_rawImageWriter.h" |
18 |
|
19 |
LT_BEGIN_NAMESPACE(LizardTech) |
20 |
|
21 |
#if defined(LT_COMPILER_MS)
|
22 |
#pragma warning(push,4) |
23 |
#endif
|
24 |
|
25 |
/**
|
26 |
* writes an image stage to a BBB file
|
27 |
*
|
28 |
* This class provides support for writing BBB files, i.e. a raw file with a BBB-style
|
29 |
* header.
|
30 |
*/
|
31 |
class LTIBBBImageWriter : public LTIRawImageWriter |
32 |
{ |
33 |
public:
|
34 |
/**
|
35 |
* constructor
|
36 |
*
|
37 |
* Creates a writer for BBB images.
|
38 |
*
|
39 |
* @param image the image to write from
|
40 |
*/
|
41 |
LTIBBBImageWriter(LTIImageStage* image); |
42 |
|
43 |
virtual ~LTIBBBImageWriter(); |
44 |
|
45 |
LT_STATUS writeBegin(const LTIScene& scene);
|
46 |
|
47 |
private:
|
48 |
LT_STATUS checkImpedance() const;
|
49 |
|
50 |
LT_STATUS writeHeader(const LTIScene&);
|
51 |
|
52 |
// nope
|
53 |
LTIBBBImageWriter(); |
54 |
LTIBBBImageWriter(LTIBBBImageWriter&); |
55 |
LTIBBBImageWriter& operator=(const LTIBBBImageWriter&);
|
56 |
}; |
57 |
|
58 |
|
59 |
LT_END_NAMESPACE(LizardTech) |
60 |
|
61 |
#if defined(LT_COMPILER_MS)
|
62 |
#pragma warning(pop)
|
63 |
#endif
|
64 |
|
65 |
#endif // LTI_BBBIMAGEWRITER_H |