OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimRpfUtil.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // License: MIT
4 //
5 // See LICENSE.txt file in the top level directory for more details.
6 //
7 // Author: David Burken
8 //
9 // Description: ossimRpfUtil.h
10 //
11 // Utility class to stuff with rpf files.
12 //
13 //----------------------------------------------------------------------------
14 // $Id$
15 
16 #ifndef ossimRpfUtil_HEADER
17 #define ossimRpfUtil_HEADER 1
18 
21 
22 class ossimFilename;
23 class ossimGpt;
24 class ossimRpfToc;
25 class ossimRpfTocEntry;
26 
28 {
29 public:
30 
32  ossimRpfUtil();
33 
34 
46  void writeDotRpfFiles( const ossimFilename& aDotTocFile,
47  const ossimFilename& outputDir);
48 
49  void writeDotRpfFile( const ossimRpfToc* toc,
50  const ossimRpfTocEntry* tocEntry,
51  const ossimFilename& outputDir,
52  ossim_uint32 entry);
53 
54 protected:
55 
61  virtual ~ossimRpfUtil();
62 
63 private:
64 
76  void checkLongitude(ossimGpt& left, ossimGpt& right) const;
77 
79  void getDotRfpFilenameForEntry(const ossimFilename& outputDir,
80  ossim_uint32 entry,
81  ossimFilename& outFile) const;
82 
83 }; // Matches: class ossimRpfUtil
84 
85 #endif /* #ifndef ossimRpfUtil_HEADER */
ossimReferenced allows for shared object ref counting if the reference count ever gets to 0 or less i...
unsigned int ossim_uint32
#define OSSIM_DLL