OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimRpfTocEntry.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: Garrett Potts
8 //
9 // Description: Rpf support class
10 //
11 //********************************************************************
12 // $Id: ossimRpfTocEntry.h 19900 2011-08-04 14:19:57Z dburken $
13 #ifndef ossimRpfTocEntry_HEADER
14 #define ossimRpfTocEntry_HEADER
15 
16 #include <vector>
17 #include <iosfwd>
18 
24 
25 class ossimIrect;
26 
28 {
29 public:
31  const ossimRpfTocEntry& data);
34 
45  const std::string& prefix=std::string()) const;
46 
47  void setEntry(const ossimRpfFrameEntry& entry,
48  long row,
49  long col);
50 
51  bool getEntry(long row,
52  long col,
53  ossimRpfFrameEntry& result)const;
54 
55  ossimString getProductType() const;
56 
61  ossim_uint32 getNumberOfFramesHorizontal()const;
62 
67  ossim_uint32 getNumberOfFramesVertical()const;
68 
70  ossim_uint32 getNumberOfLines() const;
71 
73  ossim_uint32 getNumberOfSamples() const;
74 
76  ossim_uint32 getNumberOfBands() const;
77 
82  void getBoundingRect(ossimIrect& rect) const;
83 
84  const ossimRpfBoundaryRectRecord& getBoundaryInformation()const;
85 
90  bool isEmpty()const;
91 
97  ossimRefPtr<ossimImageGeometry> getImageGeometry() const;
98 
100  void getDecimalDegreesPerPixel(ossimDpt& scale) const;
101 
103  void getMetersPerPixel(ossimDpt& scale) const;
104 
105 private:
106  void allocateFrameEntryArray();
107 
110  std::vector< std::vector<ossimRpfFrameEntry> > theFrameEntryArray;
111 };
112 
113 #endif
ossim_int32 ossimErrorCode
#define OSSIMDLLEXPORT
ossim_uint32 theNumSamples
OSSIM_DLL ossimByteOrder byteOrder()
Definition: ossimCommon.cpp:54
std::ostream & print(H5::H5File *file, std::ostream &out)
Print method.
Definition: ossimH5Util.cpp:41
ostream & operator<<(ostream &out, const ossimAxes &axes)
Definition: ossimAxes.h:88
std::vector< std::vector< ossimRpfFrameEntry > > theFrameEntryArray
May be less than actual image width in case of > 360 deg wrap condition. (OLK 10/10) ...
unsigned int ossim_uint32
ossimByteOrder
ossimRpfBoundaryRectRecord theBoundaryInformation
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23