18 #ifndef ossimDtedTileSource_HEADER 19 #define ossimDtedTileSource_HEADER 42 DATA_RECORD_OFFSET_TO_POST = 8,
43 DATA_RECORD_CHECKSUM_SIZE = 4,
112 const char* prefix=0)
const;
119 const char* prefix=0);
156 virtual bool isOpen()
const;
164 void getPostSpacing(
ossimDpt& postSpacing)
const;
178 std::vector<ossimString>& propertyNames)
const;
214 void gatherStatistics(
bool writeStatsFile);
257 return (static_cast<ossim_sint16>(s & 0x7fff) * -1);
virtual bool open()=0
Pure virtual open.
Represents serializable keyword/value map.
virtual ossim_uint32 getNumberOfOutputBands() const
Returns the number of bands in a tile returned from this TileSource.
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
virtual ossim_uint32 getNumberOfLines(ossim_uint32 resLevel=0) const =0
Pure virtual, derived classes must implement.
const ossimImageSource & operator=(const ossimImageSource &)
virtual ossim_uint32 getTileHeight() const
Returns the default processing tile height.
bool theSwapBytesFlag
DTED data is always stored as BIG_ENDIAN.
ossim_uint32 theTileWidth
unsigned short ossim_uint16
ossim_uint32 theDataRecordSize
virtual ossimString getShortName() const
virtual ossim_uint32 getTileWidth() const
Returns the default processing tile width.
virtual bool isOpen() const =0
Derived classes must implement this method to be concrete.
virtual double getMinPixelValue(ossim_uint32 band=0) const
Retuns the min pixel value.
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
virtual ossimRefPtr< ossimImageGeometry > getImageGeometry()
Returns the image geometry object associated with this tile source or NULL if non defined...
signed short ossim_sint16
virtual ossim_uint32 getImageTileHeight() const =0
Returns the tile width of the image or 0 if the image is not tiled.
unsigned int ossim_uint32
ossim_sint16 theMaxHeight
virtual ossimString getLongName() const
virtual void close()
Deletes the overview and clears the valid image vertices.
virtual ossimIrect getImageRectangle(ossim_uint32 resLevel=0) const
Returns zero-based bounding rectangle of the image.
ossimRefPtr< ossimImageData > theTile
ossim_uint32 theNumberOfSamps
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
virtual ossim_uint32 getImageTileWidth() const =0
Returns the tile width of the image or 0 if the image is not tiled.
virtual ossimScalarType getOutputScalarType() const
This will be used to query the output pixel type of the tile source.
This class defines an abstract Handler which all image handlers(loaders) should derive from...
virtual void loadMetaData()
There is an external file with an omd extension.
ossim_uint32 theOffsetToFirstDataRecord
std::shared_ptr< ossimDtedInfo > m_dtedInfo
virtual ossim_uint32 getNumberOfSamples(ossim_uint32 resLevel=0) const =0
Pure virtual, derived classes must implement.
ossim_sint16 theMinHeight
virtual double getMaxPixelValue(ossim_uint32 band=0) const
Returns the max pixel of the band.
virtual ossim_uint32 getNumberOfInputBands() const =0
ossim_uint32 theTileHeight
std::shared_ptr< ossim::istream > m_fileStr
virtual double getNullPixelValue(ossim_uint32 band=0) const
Each band has a null pixel associated with it.
ossim_sint16 convertSignedMagnitude(ossim_uint16 &s) const
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
ossim_uint32 theNumberOfLines
virtual ossimRefPtr< ossimImageData > getTile(const ossimIpt &origin, ossim_uint32 resLevel=0)