OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ossimDtedTileSource Class Reference

#include <ossimDtedTileSource.h>

Inheritance diagram for ossimDtedTileSource:
ossimImageHandler ossimImageSource ossimSource ossimConnectableObject ossimErrorStatusInterface ossimObject ossimListenerManager ossimPropertyInterface ossimReferenced

Public Types

enum  { DATA_RECORD_OFFSET_TO_POST = 8, DATA_RECORD_CHECKSUM_SIZE = 4, POST_SIZE = 2, NULL_PIXEL = -32767 }
 
- Public Types inherited from ossimImageHandler
enum  ossimImageHandlerOverviewCompressionType {
  OSSIM_OVERVIEW_COMPRESSION_NONE = 0, OSSIM_OVERVIEW_COMPRESSION_JPEG, OSSIM_OVERVIEW_COMPRESSION_LZW, OSSIM_OVERVIEW_COMPRESSION_DEFLATE,
  OSSIM_OVERVIEW_COMPRESSION_PACKBITS
}
 
- Public Types inherited from ossimConnectableObject
enum  ossimConnectableObjectDirectionType { CONNECTABLE_DIRECTION_NONE = 0, CONNECTABLE_DIRECTION_INPUT = 1, CONNECTABLE_DIRECTION_OUTPUT = 2 }
 
typedef std::vector< ossimRefPtr< ossimConnectableObject > > ConnectableObjectList
 

Public Member Functions

 ossimDtedTileSource ()
 
virtual ossimString getShortName () const
 
virtual ossimString getLongName () const
 
virtual bool open ()
 Returns true if "theImageFile" can be opened and is a valid adrg file. More...
 
virtual void close ()
 Deletes the overview and clears the valid image vertices. More...
 
virtual ossimRefPtr< ossimImageDatagetTile (const ossimIrect &tile_rect, ossim_uint32 resLevel=0)
 
virtual bool getTile (ossimImageData *result, ossim_uint32 resLevel=0)
 Method to get a tile. More...
 
virtual ossim_uint32 getNumberOfInputBands () const
 Returns the number of bands in the image. More...
 
virtual ossim_uint32 getNumberOfOutputBands () const
 Returns the number of bands in a tile returned from this TileSource. More...
 
virtual ossim_uint32 getNumberOfLines (ossim_uint32 reduced_res_level=0) const
 Returns the number of lines in the image. More...
 
virtual ossim_uint32 getNumberOfSamples (ossim_uint32 reduced_res_level=0) const
 Returns the number of samples in the image. More...
 
virtual double getNullPixelValue (ossim_uint32 band=0) const
 Each band has a null pixel associated with it. More...
 
virtual double getMinPixelValue (ossim_uint32 band=0) const
 Retuns the min pixel value. More...
 
virtual double getMaxPixelValue (ossim_uint32 band=0) const
 Returns the max pixel of the band. More...
 
virtual ossimIrect getImageRectangle (ossim_uint32 reduced_res_level=0) const
 Returns the zero based image rectangle for the reduced resolution data set (rrds) passed in. More...
 
virtual bool saveState (ossimKeywordlist &kwl, const char *prefix=0) const
 Method to save the state of an object to a keyword list. More...
 
virtual bool loadState (const ossimKeywordlist &kwl, const char *prefix=0)
 Method to the load (recreate) the state of an object from a keyword list. More...
 
virtual ossimRefPtr< ossimImageGeometrygetImageGeometry ()
 Returns the image geometry object associated with this tile source or NULL if not defined. More...
 
virtual ossimScalarType getOutputScalarType () const
 Returns the output pixel type of the tile source. More...
 
virtual ossim_uint32 getTileWidth () const
 Returns the width of the output tile. More...
 
virtual ossim_uint32 getTileHeight () const
 Returns the height of the output tile. More...
 
virtual ossim_uint32 getImageTileWidth () const
 Returns the tile width of the image or 0 if the image is not tiled. More...
 
virtual ossim_uint32 getImageTileHeight () const
 Returns the tile width of the image or 0 if the image is not tiled. More...
 
virtual bool isOpen () const
 Derived classes must implement this method to be concrete. More...
 
void getPostSpacing (ossimDpt &postSpacing) const
 Initializes spacing to the post spacing of the cell. More...
 
virtual ossimRefPtr< ossimPropertygetProperty (const ossimString &name) const
 Gets a property for name. More...
 
virtual void getPropertyNames (std::vector< ossimString > &propertyNames) const
 Adds this class's properties to list. More...
 
virtual void loadMetaData ()
 Sets the min/max. More...
 
- Public Member Functions inherited from ossimImageHandler
 ossimImageHandler ()
 Constructor (default): More...
 
virtual ~ossimImageHandler ()
 Destructor: Derived classes should implement. More...
 
virtual void initialize ()
 initialize Does nothing in this class. More...
 
virtual bool openOverview ()
 Searches for an overview. More...
 
virtual bool openOverview (const ossimFilename &overview_file)
 Calls closeOverview(), then attempts to open the overview_file. More...
 
virtual void closeOverview ()
 If theOverview is initialized it will be deleted and set to NULL. More...
 
virtual const ossimImageHandlergetOverview () const
 
virtual bool hasOverviews () const
 
virtual ossimFilename createDefaultOverviewFilename () const
 
virtual ossimFilename createDefaultGeometryFilename () const
 
virtual ossimFilename createDefaultMetadataFilename () const
 
virtual ossimFilename createDefaultHistogramFilename () const
 
virtual ossimFilename createDefaultValidVerticesFilename () const
 
virtual bool writeValidImageVertices (const std::vector< ossimIpt > &vertices, const ossimFilename &file=ossimFilename(""))
 Outputs vertices to file and updates the internal vertex array variable "theValidImageVertices". More...
 
virtual bool openValidVertices (const ossimFilename &vertices_file)
 Opens the valid image vertices file and sets theValidImageVerticesFile variable. More...
 
virtual bool openValidVertices ()
 Creates vertices file name based on image, then tries to open. More...
 
virtual bool open (const ossimFilename &imageFile, ossim_uint32 entryIndex)
 Opens the image file. More...
 
virtual bool open (const ossimFilename &imageFile)
 
virtual bool open (std::shared_ptr< ossim::ImageHandlerState > state)
 
virtual bool buildHistogram (int numberOfRLevels=0, ossimHistogramMode mode=OSSIM_HISTO_MODE_NORMAL)
 Build a histogram for image file. More...
 
virtual bool buildAllHistograms (int numberOfRLevels=0, ossimHistogramMode mode=OSSIM_HISTO_MODE_NORMAL)
 Build a histograms for all image entries. More...
 
virtual bool buildOverview (ossimImageHandlerOverviewCompressionType compressionType=OSSIM_OVERVIEW_COMPRESSION_NONE, ossim_uint32 quality=75, ossimFilterResampler::ossimFilterResamplerType resampleType=ossimFilterResampler::ossimFilterResampler_BOX, bool includeFullResFlag=false)
 Will build over file for theImageFile. More...
 
virtual bool buildAllOverviews (ossimImageHandlerOverviewCompressionType compressionType=OSSIM_OVERVIEW_COMPRESSION_NONE, ossim_uint32 quality=75, ossimFilterResampler::ossimFilterResamplerType resampleType=ossimFilterResampler::ossimFilterResampler_BOX, bool includeFullResFlag=false)
 Will build over file for all image entries. More...
 
virtual bool buildOverview (const ossimFilename &filename, ossimImageHandlerOverviewCompressionType compressionType=OSSIM_OVERVIEW_COMPRESSION_NONE, ossim_uint32 quality=75, ossimFilterResampler::ossimFilterResamplerType resampleType=ossimFilterResampler::ossimFilterResampler_BOX, bool includeFullResFlag=false)
 Will build an over file for filename. More...
 
ossimRefPtr< ossimMultiResLevelHistogramgetImageHistogram () const
 Fetches the current entry image's histogram. More...
 
virtual void setImageGeometry (ossimImageGeometry *geom)
 Sets the image geometry object. More...
 
virtual void saveImageGeometry () const
 Saves the image geometry to a file that will be made based on the image file name. More...
 
virtual void saveImageGeometry (const ossimFilename &geometry_file) const
 Saves the image geometry to a file that will be made based on the image file name. More...
 
virtual ossimIrect getBoundingRect (ossim_uint32 resLevel=0) const
 Returns zero-based bounding rectangle of the image. More...
 
virtual void getDecimationFactor (ossim_uint32 resLevel, ossimDpt &result) const
 
virtual void getDecimationFactors (vector< ossimDpt > &decimations) const
 This returns all decimation for all levels. More...
 
virtual ossim_uint32 getNumberOfDecimationLevels () const
 This returns the total number of decimation levels. More...
 
virtual ossim_uint32 getNumberOfReducedResSets () const
 This method is obsolete. More...
 
virtual void setFilename (const ossimFilename &filename)
 Sets the filename. More...
 
virtual const ossimFilenamegetFilename () const
 Returns the filename. More...
 
virtual bool isValidRLevel (ossim_uint32 resLevel) const
 Determines if the passed in reslution level is valid. More...
 
bool canConnectMyInputTo (ossim_int32 inputIndex, const ossimConnectableObject *object) const
 Connection rule. More...
 
virtual void getValidImageVertices (vector< ossimIpt > &validVertices, ossimVertexOrdering ordering=OSSIM_CLOCKWISE_ORDER, ossim_uint32 resLevel=0) const
 ordering specifies how the vertices should be arranged. More...
 
virtual bool isBandSelector () const
 Indicates whether or not the image handler can control output band selection via the setOutputBandList method. More...
 
virtual bool setOutputBandList (const std::vector< ossim_uint32 > &band_list)
 If the image handler "isBandSeletor()" then the band selection of the output chip can be controlled. More...
 
virtual bool setOutputToInputBandList ()
 If the image handler "isBandSeletor()" then the band selection of the output are set to input or identity. More...
 
virtual bool isIdentityBandList (const std::vector< ossim_uint32 > &bandList) const
 Convenience method to see if band list is identity. More...
 
virtual bool isImageTiled () const
 Indicates whether or not the image is tiled internally. More...
 
virtual bool hasMetaData () const
 
virtual ossimRefPtr< ossimNBandLutDataObjectgetLut () const
 
virtual bool hasLut () const
 
virtual void setMinPixelValue (ossim_uint32 band, const ossim_float64 &pix)
 convenience method to set min pixel value. More...
 
virtual void setMaxPixelValue (ossim_uint32 band, const ossim_float64 &pix)
 convenience method to set max pixel value. More...
 
virtual void setNullPixelValue (ossim_uint32 band, const ossim_float64 &pix)
 convenience method to set null pixel value. More...
 
virtual ossim_uint32 getCurrentEntry () const
 
virtual ossim_uint32 getNumberOfEntries () const
 
virtual void getEntryName (ossim_uint32 entryIdx, std::string &name) const
 Get the name of entry as a string. More...
 
virtual void getEntryList (std::vector< ossim_uint32 > &entryList) const
 
virtual void getEntryNames (std::vector< ossimString > &entryNames) const
 
bool useEntryIndex () const
 Convenience method to determine if entry index should be used for support files, e.g. More...
 
ossimFilename getOverviewFile () const
 
virtual bool setCurrentEntry (ossim_uint32 entryIdx)
 
virtual void setProperty (ossimRefPtr< ossimProperty > property)
 
ossimFilename getFilenameWithThisExtension (const ossimString &ext, bool set_e0_prefix=false) const
 Returns the image file with extension set using supplentary directory for dirname if set. More...
 
void getFilenameWithThisExt (const ossimString &ext, ossimFilename &f) const
 Returns the image file with extension set using supplentary directory for dirname if set. More...
 
ossim_uint32 getStartingResLevel () const
 
void setStartingResLevel (ossim_uint32 level)
 
bool getOpenOverviewFlag () const
 
void setOpenOverviewFlag (bool flag)
 Sets theOpenOverviewFlag. More...
 
virtual void setSupplementaryDirectory (const ossimFilename &dir)
 Sets the supplementary directory. More...
 
virtual const ossimFilenamegetSupplementaryDirectory () const
 Returns the supplementary directory. More...
 
const ossimStringgetImageID () const
 Fetches the image ID. More...
 
void setImageID (const ossimString &id)
 Sets the image ID in case it is externally generated. More...
 
ossimPixelType getPixelType () const
 Returns the raster pixel alignment type. More...
 
virtual bool getRgbBandList (std::vector< ossim_uint32 > &bandList) const
 Convenience method to get the zero based rgb output band list. More...
 
template<class T >
std::shared_ptr< T > getStateAs ()
 
template<class T >
std::shared_ptr< const T > getStateAs () const
 
std::shared_ptr< ossim::ImageHandlerState > getState ()
 
std::shared_ptr< const ossim::ImageHandlerState > getState () const
 
void setState (std::shared_ptr< ossim::ImageHandlerState > state)
 
- Public Member Functions inherited from ossimImageSource
 ossimImageSource (ossimObject *owner=0)
 
 ossimImageSource (ossimObject *owner, ossim_uint32 inputListSize, ossim_uint32 outputListSize, bool inputListIsFixedFlag=true, bool outputListIsFixedFlag=true)
 
virtual ~ossimImageSource ()
 
virtual ossimRefPtr< ossimImageDatagetTile (const ossimIpt &origin, ossim_uint32 resLevel=0)
 
virtual ossimObjectgetObject ()
 For RTTI support. More...
 
virtual const ossimObjectgetObject () const
 For RTTI support. More...
 
virtual void getDecimationFactors (std::vector< ossimDpt > &decimations) const
 Will return an array of all decimations for each resolution level. More...
 
virtual void getOutputBandList (std::vector< ossim_uint32 > &bandList) const
 Initializes bandList. More...
 
virtual void getBoundingRect (ossimIrect &rect, ossim_uint32 resLevel=0) const
 Gets the bounding rectangle of the source. More...
 
virtual void getValidImageVertices (std::vector< ossimIpt > &validVertices, ossimVertexOrdering ordering=OSSIM_CLOCKWISE_ORDER, ossim_uint32 resLevel=0) const
 ordering specifies how the vertices should be arranged. More...
 
virtual void setImageGeometry (const ossimImageGeometry *geom)
 Default implementation sets geometry of the first input to the geometry specified. More...
 
virtual bool isIndexedData () const
 
- Public Member Functions inherited from ossimSource
 ossimSource (ossimObject *owner=0)
 
 ossimSource (ossimObject *owner, ossim_uint32 inputListSize, ossim_uint32 outputListSize, bool inputListIsFixedFlag=true, bool outputListIsFixedFlag=true)
 
virtual ~ossimSource ()
 
virtual bool isSourceEnabled () const
 
virtual void enableSource ()
 
virtual void disableSource ()
 
virtual bool getEnableFlag () const
 
virtual void setEnableFlag (bool flag)
 
virtual bool isInitialized () const
 
virtual void setInitializedFlag (bool flag)
 
virtual std::ostream & print (std::ostream &out) const
 Outputs theErrorStatus as an ossimErrorCode and an ossimString. More...
 
- Public Member Functions inherited from ossimConnectableObject
 ossimConnectableObject (ossimObject *owner=0)
 Base constructor of this object. More...
 
 ossimConnectableObject (ossimObject *owner, ossim_int32 inputListSize, ossim_int32 outputListSize, bool inputListIsFixedFlag=true, bool outputListIsFixedFlag=true)
 
virtual ~ossimConnectableObject ()
 
void setId (const ossimId &id)
 All connectable objects will have id's. More...
 
const ossimIdgetId () const
 Will allow us to get this object's id. More...
 
const ossimObjectgetOwner () const
 Fetches the current owner, most likely a container but not limited to one. More...
 
virtual void changeOwner (ossimObject *owner)
 Permits changing the object's owner. More...
 
virtual void setDescription (const ossimString &description)
 
virtual ossimString getDescription () const
 
virtual bool isConnected (ossimConnectableObjectDirectionType direction=CONNECTABLE_DIRECTION_INPUT) const
 will check the direction specified to see if all slots are full. More...
 
 OSSIM_DEPRECATE_METHOD (virtual ossimConnectableObject *findConnectableObject(const ossimId &id))
 
 OSSIM_DEPRECATE_METHOD (virtual ossimConnectableObject *findObjectOfType(RTTItypeid typeId, ossimConnectableObjectDirectionType directionType, bool recurse=true))
 
 OSSIM_DEPRECATE_METHOD (virtual ossimConnectableObject *findObjectOfType(const ossimString &obj, ossimConnectableObjectDirectionType directionType, bool recurse=true))
 
 OSSIM_DEPRECATE_METHOD (virtual ossimConnectableObject *findInputObjectOfType(const ossimString &className))
 
virtual ossim_int32 findInputIndex (const ossimConnectableObject *object)
 Return a valid index of the input list if the passed in object is found else return -1. More...
 
virtual ossim_int32 findInputIndex (const ossimId &id)
 Return a valid index of the input list if the passed id is found else return -1. More...
 
virtual ossim_int32 findOutputIndex (const ossimConnectableObject *object)
 Return a valid index of the output list if the passed in object is found else return -1. More...
 
virtual ossim_int32 findOutputIndex (const ossimId &id)
 Return a valid index of the output list if the passed in object is found else return -1. More...
 
virtual ossim_int32 getMyInputIndexToConnectTo (ossimConnectableObject *object) const
 Should return the first available index to connect to. More...
 
virtual ossim_int32 getMyOutputIndexToConnectTo (ossimConnectableObject *object) const
 Should return the first available index to connect to. More...
 
virtual bool canConnectMyOutputTo (ossim_int32 myOutputIndex, const ossimConnectableObject *object) const
 default implementation is to allow anyone to connect to us. More...
 
virtual void disconnect (ossimConnectableObject *object=0)
 Will disconnect the object passed in. More...
 
virtual void disconnect (const ossimId &id)
 Will disconnect the object passed in. More...
 
virtual ossimRefPtr< ossimConnectableObjectdisconnectMyInput (ossim_int32 inputIndex, bool disconnectOutputFlag=true, bool createEventFlag=true)
 Will disconnect the object at the given input index and generate a connection event. More...
 
virtual void disconnectMyInput (ossimConnectableObject *input, bool disconnectOutputFlag=true, bool createEventFlag=true)
 Finds the index of the passed in input and calls disconnectMyInput(inputIndex, disconnectOutputFlag, createEventFlag);. More...
 
virtual void disconnectMyInputs (ConnectableObjectList &inputList, bool disconnectOutputFlag=true, bool createEventFlag=true)
 
virtual ossimRefPtr< ossimConnectableObjectdisconnectMyOutput (ossim_int32 outputIndex, bool disconnectInputFlag=true, bool createEventFlag=true)
 Will disconnect the object at the given output index and generate a connection event. More...
 
virtual void disconnectMyOutput (ossimConnectableObject *output, bool disconnectInputFlag=true, bool createEventFlag=true)
 Will disconnect the output object. More...
 
virtual void disconnectMyOutputs (ConnectableObjectList &outputList, bool disconnectOutputFlag=true, bool createEventFlag=true)
 
virtual void disconnectAllInputs ()
 Will disconnect all of the input objects. More...
 
virtual void disconnectAllOutputs ()
 Will disconnect all of the output objects. More...
 
virtual ossim_int32 connectMyInputTo (ossimConnectableObject *inputObject, bool makeOutputConnection=true, bool createEventFlag=true)
 Will try to connect this objects input to the passed in object. More...
 
virtual ossim_int32 connectMyInputTo (ossim_int32 inputIndex, ossimConnectableObject *inputObject, bool makeOutputConnection=true, bool createEventFlag=true)
 Will connect the specified input to the passed in object. More...
 
virtual bool connectMyInputTo (ConnectableObjectList &inputList, bool makeOutputConnection=true, bool createEventFlag=true)
 
virtual ossim_int32 connectMyOutputTo (ossimConnectableObject *outputObject, bool makeInputConnection=true, bool createEventFlag=true)
 Will try to connect this objects output to the passed in object. More...
 
virtual bool connectMyOutputTo (ConnectableObjectList &outputList, bool makeInputConnection=true, bool createEventFlag=true)
 
virtual bool connectInputList (ConnectableObjectList &inputList)
 Will disconnect itself from all inputs and reset to the passed in input list. More...
 
virtual bool connectOutputList (ConnectableObjectList &outputList)
 Will disconnect itself from all outputs and reset to the passed in output list. More...
 
virtual ossim_uint32 getNumberOfInputs () const
 Returns the number of input objects. More...
 
virtual ossim_uint32 getNumberOfOutputs () const
 Return the number of output objects. More...
 
ossimConnectableObjectgetInput (ossim_uint32 index=0)
 returns the object at the specified index. More...
 
const ossimConnectableObjectgetInput (ossim_uint32 index=0) const
 returns the object at the specified index. More...
 
ossimConnectableObjectgetOutput (ossim_uint32 index=0)
 returns the object at the specified index. More...
 
const ossimConnectableObjectgetOutput (ossim_uint32 index=0) const
 returns the object at the specified index. More...
 
virtual void setNumberOfInputs (ossim_int32 numberOfInputs)
 Will set the number of inputs. More...
 
virtual bool getInputListIsFixedFlag () const
 
virtual bool getOutputListIsFixedFlag () const
 
virtual void setNumberOfOutputs (ossim_int32 numberOfInputs)
 Will set the number of outputs. More...
 
const ConnectableObjectListgetInputList () const
 
const ConnectableObjectListgetOutputList () const
 
ConnectableObjectListgetInputList ()
 
ConnectableObjectListgetOutputList ()
 
 OSSIM_DEPRECATE_METHOD (virtual void findAllObjectsOfType(ConnectableObjectList &result, const RTTItypeid &typeInfo, bool recurse=true))
 
 OSSIM_DEPRECATE_METHOD (virtual void findAllObjectsOfType(ConnectableObjectList &result, const ossimString &className, bool recurse=true))
 
virtual void propagateEventToOutputs (ossimEvent &event)
 
virtual void propagateEventToInputs (ossimEvent &event)
 
virtual void setProperty (const ossimString &name, const ossimString &value)
 
virtual ossim_uint32 saveStateOfAllInputs (ossimKeywordlist &kwl, bool saveThisStateFlag=true, ossim_uint32 objectIndex=1, const char *prefix=0) const
 Save the state of all inputs to a keyword list. More...
 
virtual bool fillContainer (ossimConnectableContainer &container)
 Inserts this object and all of its children and inputs into the container provided. More...
 
bool moveInputUp (const ossimId &id)
 Moves the input connection matching id up one in the connection list. More...
 
bool moveInputDown (const ossimId &id)
 Moves the input connection matching id down one in the connection list. More...
 
bool moveInputToTop (const ossimId &id)
 Moves the input connection matching id to the top of the connection list. More...
 
bool moveInputToBottom (const ossimId &id)
 Moves the input connection matching id to the bottom of the connection list. More...
 
virtual void accept (ossimVisitor &visitor)
 We will add a visitor interface for all connectable objects. More...
 
- Public Member Functions inherited from ossimObject
 ossimObject ()
 
virtual ~ossimObject ()
 
virtual ossimObjectdup () const
 
virtual ossimString getClassName () const
 
virtual RTTItypeid getType () const
 
virtual bool canCastTo (ossimObject *obj) const
 
virtual bool canCastTo (const RTTItypeid &id) const
 
virtual bool canCastTo (const ossimString &parentClassName) const
 
virtual bool isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const
 
- Public Member Functions inherited from ossimReferenced
 ossimReferenced ()
 
 ossimReferenced (const ossimReferenced &)
 
ossimReferencedoperator= (const ossimReferenced &)
 
void ref () const
 increment the reference count by one, indicating that this object has another pointer which is referencing it. More...
 
void unref () const
 decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
void unref_nodelete () const
 decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
int referenceCount () const
 
- Public Member Functions inherited from ossimListenerManager
 ossimListenerManager ()
 
virtual ~ossimListenerManager ()
 
virtual void fireEvent (ossimEvent &event)
 
virtual bool addListener (ossimListener *listener)
 
virtual bool removeListener (ossimListener *listener)
 
virtual bool findListener (ossimListener *listener)
 
- Public Member Functions inherited from ossimPropertyInterface
 ossimPropertyInterface ()
 
virtual ~ossimPropertyInterface ()
 
virtual ossimString getPropertyValueAsString (const ossimString &name) const
 
void getPropertyList (std::vector< ossimRefPtr< ossimProperty > > &propertyList) const
 
void setProperties (std::vector< ossimRefPtr< ossimProperty > > &propertyList)
 
- Public Member Functions inherited from ossimErrorStatusInterface
 ossimErrorStatusInterface ()
 
virtual ~ossimErrorStatusInterface ()
 
virtual ossimErrorCode getErrorStatus () const
 
virtual ossimString getErrorStatusString () const
 
virtual void setErrorStatus (ossimErrorCode error_status) const
 
virtual void setErrorStatus () const
 
virtual void clearErrorStatus () const
 
bool hasError () const
 

Protected Member Functions

virtual ~ossimDtedTileSource ()
 
const ossimDtedTileSourceoperator= (const ossimDtedTileSource &rhs)
 
 ossimDtedTileSource (const ossimDtedTileSource &)
 
void allocate ()
 Allocated the tiles. More...
 
bool fillBuffer (const ossimIrect &tile_rect, const ossimIrect &clip_rect, ossimImageData *tile)
 Returns true on success, false on error. More...
 
void gatherStatistics (bool writeStatsFile)
 Scans for min and max. More...
 
ossim_sint16 convertSignedMagnitude (ossim_uint16 &s) const
 
- Protected Member Functions inherited from ossimImageHandler
virtual ossimRefPtr< ossimImageGeometrygetExternalImageGeometry () const
 Returns the image geometry object associated with this tile source or NULL if non defined. More...
 
virtual ossimRefPtr< ossimImageGeometrygetInternalImageGeometry () const
 
virtual bool getOverviewTile (ossim_uint32 resLevel, ossimImageData *result)
 Method to get an overview tile. More...
 
bool initVertices (const char *file)
 Opens file and attempts to initialize the valid image vertices. More...
 
virtual void completeOpen ()
 Will complete the opening process. More...
 
void initImageParameters (ossimImageGeometry *geom) const
 Convenience method to set things needed in the image geometry from the image handler. More...
 
virtual void establishDecimationFactors ()
 Virtual method determines the decimation factors at each resolution level. More...
 
virtual bool setOutputBandList (const std::vector< ossim_uint32 > &inBandList, std::vector< ossim_uint32 > &outBandList)
 Convenience method to set output band list. More...
 
void getFilenameWithNoExtension (ossimFilename &f) const
 Get filename with no extension, using supplentary directory for dirname if set. More...
 
- Protected Member Functions inherited from ossimImageSource
 ossimImageSource (const ossimImageSource &rhs)
 
const ossimImageSourceoperator= (const ossimImageSource &)
 
- Protected Member Functions inherited from ossimSource
 ossimSource (const ossimSource &rhs)
 
const ossimSourceoperator= (const ossimSource &rhs)
 
- Protected Member Functions inherited from ossimConnectableObject
ossimConnectableObjectfindObjectOfType (ConnectableObjectList *connectableList, ossimVisitor &visitor)
 
- Protected Member Functions inherited from ossimReferenced
virtual ~ossimReferenced ()
 
- Protected Member Functions inherited from ossimListenerManager
 ossimListenerManager (const ossimListenerManager &rhs)
 

Protected Attributes

ossimRefPtr< ossimImageDatatheTile
 
std::shared_ptr< ossim::istreamm_fileStr
 
std::shared_ptr< ossimDtedInfom_dtedInfo
 
ossim_uint32 theTileWidth
 
ossim_uint32 theTileHeight
 
ossim_uint32 theNumberOfLines
 
ossim_uint32 theNumberOfSamps
 
ossim_uint32 theOffsetToFirstDataRecord
 
ossim_uint32 theDataRecordSize
 
ossim_sint16 theMinHeight
 
ossim_sint16 theMaxHeight
 
ossimDpt thePostSpacing
 
ossimDtedVol m_vol
 
ossimDtedHdr m_hdr
 
ossimDtedUhl m_uhl
 
ossimDtedDsi m_dsi
 
ossimDtedAcc m_acc
 
bool theSwapBytesFlag
 DTED data is always stored as BIG_ENDIAN. More...
 
- Protected Attributes inherited from ossimImageHandler
ossimFilename theImageFile
 
ossimFilename theOverviewFile
 
ossimFilename theSupplementaryDirectory
 
ossimRefPtr< ossimImageHandlertheOverview
 
vector< ossimIpttheValidImageVertices
 
ossimImageMetaData theMetaData
 
ossimRefPtr< ossimImageGeometrytheGeometry
 
ossimRefPtr< ossimNBandLutDataObjecttheLut
 
std::vector< ossimDpttheDecimationFactors
 
ossimString theImageID
 
ossim_uint32 theStartingResLevel
 theStartingResLevel If set to something other than zero(default) this is indicative that the reader is an overview. More...
 
bool theOpenOverviewFlag
 If true opening of overviews will be attempted. More...
 
ossimPixelType thePixelType
 
std::shared_ptr< ossim::ImageHandlerState > m_state
 
- Protected Attributes inherited from ossimSource
bool theEnableFlag
 
bool theInitializedFlag
 
- Protected Attributes inherited from ossimConnectableObject
ossimId theId
 
ossimString theDescription
 
ossimObjecttheOwner
 
bool theInputListIsFixedFlag
 Indicates whether the theInputObjectList is fixed. More...
 
bool theOutputListIsFixedFlag
 Indicates whether the theOutputObjectList is fixed. More...
 
ConnectableObjectList theInputObjectList
 Holds a list of input objects. More...
 
ConnectableObjectList theOutputObjectList
 Holds a list of output objects. More...
 
- Protected Attributes inherited from ossimListenerManager
std::list< ossimListener * > theListenerList
 
bool theEnabledFlag
 
std::list< ossimListener * > theDelayedAdd
 
std::list< ossimListener * > theDelayedRemove
 
bool theFireEventFlag
 
- Protected Attributes inherited from ossimErrorStatusInterface
ossimErrorCode theErrorStatus
 

Detailed Description

Definition at line 34 of file ossimDtedTileSource.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
DATA_RECORD_OFFSET_TO_POST 
DATA_RECORD_CHECKSUM_SIZE 
POST_SIZE 
NULL_PIXEL 

Definition at line 40 of file ossimDtedTileSource.h.

Constructor & Destructor Documentation

◆ ossimDtedTileSource() [1/2]

ossimDtedTileSource::ossimDtedTileSource ( )

Definition at line 40 of file ossimDtedTileSource.cpp.

References ossim::byteOrder(), ossim::defaultTileSize(), OSSIM_LITTLE_ENDIAN, theSwapBytesFlag, theTileHeight, and theTileWidth.

41  :
43  theTile(0),
44  m_fileStr(0),
45  m_dtedInfo(0),
46  theTileWidth(0),
47  theTileHeight(0),
52  theMinHeight(0),
53  theMaxHeight(0),
54  thePostSpacing(0.0, 0.0),
55  theSwapBytesFlag(false)
56 {
58  {
59  theSwapBytesFlag = true;
60  }
61 
62  // Set the tile size to the default.
65  theTileWidth = static_cast<ossim_uint32>(defaultTileSize.x);
66  theTileHeight = static_cast<ossim_uint32>(defaultTileSize.y);
67 
68  // Construction not complete. Users should call "open" method.
69 }
bool theSwapBytesFlag
DTED data is always stored as BIG_ENDIAN.
OSSIM_DLL void defaultTileSize(ossimIpt &tileSize)
OSSIM_DLL ossimByteOrder byteOrder()
Definition: ossimCommon.cpp:54
ossim_uint32 theDataRecordSize
unsigned int ossim_uint32
ossimRefPtr< ossimImageData > theTile
ossim_uint32 theOffsetToFirstDataRecord
ossimImageHandler()
Constructor (default):
std::shared_ptr< ossimDtedInfo > m_dtedInfo
std::shared_ptr< ossim::istream > m_fileStr

◆ ~ossimDtedTileSource()

ossimDtedTileSource::~ossimDtedTileSource ( )
protectedvirtual

Definition at line 71 of file ossimDtedTileSource.cpp.

References close().

72 {
73  close();
74 }
virtual void close()
Deletes the overview and clears the valid image vertices.

◆ ossimDtedTileSource() [2/2]

ossimDtedTileSource::ossimDtedTileSource ( const ossimDtedTileSource )
protected

Definition at line 686 of file ossimDtedTileSource.cpp.

687 {
688 }

Member Function Documentation

◆ allocate()

void ossimDtedTileSource::allocate ( )
protected

Allocated the tiles.

Definition at line 356 of file ossimDtedTileSource.cpp.

References ossimImageDataFactory::create(), ossimImageData::initialize(), ossimImageDataFactory::instance(), theTile, and ossimRefPtr< T >::valid().

Referenced by getTile().

357 {
358  //---
359  // Set up the tiles. Note the blank tile will not get initialized to save
360  // memory. This includes setting the min and max pixel value gathered
361  // from the statistics.
362  //---
364  if(theTile.valid())
365  {
366  theTile->initialize();
367  }
368 
369  if (traceDebug())
370  {
372  << "DEBUG:"
373  << "\ntheTile:\n" << *theTile << "\n";
374  }
375 }
bool valid() const
Definition: ossimRefPtr.h:75
virtual void initialize()
Initialize the data buffer.
static ossimImageDataFactory * instance()
virtual ossimRefPtr< ossimImageData > create(ossimSource *owner, ossimScalarType scalar, ossim_uint32 bands=1) const
ossimRefPtr< ossimImageData > theTile
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)

◆ close()

void ossimDtedTileSource::close ( )
virtual

Deletes the overview and clears the valid image vertices.

Derived classes should implement.

Reimplemented from ossimImageHandler.

Definition at line 242 of file ossimDtedTileSource.cpp.

References m_fileStr.

Referenced by ~ossimDtedTileSource().

243 {
244  m_fileStr.reset();
245 }
std::shared_ptr< ossim::istream > m_fileStr

◆ convertSignedMagnitude()

ossim_sint16 ossimDtedTileSource::convertSignedMagnitude ( ossim_uint16 s) const
inlineprotected

Definition at line 246 of file ossimDtedTileSource.h.

References theSwapBytesFlag.

Referenced by fillBuffer().

247 {
248  // DATA_VALUE_MASK 0x7fff = 0111 1111 1111 1111
249  // DATA_SIGN_MASK 0x8000 = 1000 0000 0000 0000
250 
251  // First check to see if the bytes need swapped.
252  s = (theSwapBytesFlag ? ( ((s&0x00ff) << 8) | ((s&0xff00) >> 8) ) : s);
253 
254  // If the sign bit is set, mask it out then multiply by negative one.
255  if (s & 0x8000)
256  {
257  return (static_cast<ossim_sint16>(s & 0x7fff) * -1);
258  }
259 
260  return static_cast<ossim_sint16>(s);
261 }
bool theSwapBytesFlag
DTED data is always stored as BIG_ENDIAN.
signed short ossim_sint16

◆ fillBuffer()

bool ossimDtedTileSource::fillBuffer ( const ossimIrect tile_rect,
const ossimIrect clip_rect,
ossimImageData tile 
)
protected

Returns true on success, false on error.

Definition at line 167 of file ossimDtedTileSource.cpp.

References convertSignedMagnitude(), DATA_RECORD_OFFSET_TO_POST, ossimImageData::getBuf(), ossimImageData::getWidth(), ossimIrect::lr(), m_fileStr, POST_SIZE, theDataRecordSize, theNumberOfLines, theOffsetToFirstDataRecord, ossimIrect::ul(), ossimImageData::validate(), ossimIpt::x, and ossimIpt::y.

Referenced by getTile().

170 {
171  //***
172  // NOTE:
173  // Elevation posts are organized positive line up.
174  // The "tile_rect" and "clip_rect" is organized positive line down.
175  //***
176 
177  const ossim_int32 TILE_WIDTH = tile->getWidth();
178 
179  //***
180  // Position the file pointer to the first record needed.
181  // Posts are organized positive line up so we're going to start at
182  // the lower left side of the cell so all reads are going forward in
183  // the file.
184  //***
185  ossim_int32 seek_position = theOffsetToFirstDataRecord +
186  (clip_rect.ul().x * theDataRecordSize);
187  seek_position += DATA_RECORD_OFFSET_TO_POST +
188  (theNumberOfLines - 1 - clip_rect.lr().y) * 2;
189 
190  //***
191  // Get a pointer positioned at the first valid pixel in
192  // the tile. Tiles are organized positive line down.
193  //***
194  ossim_sint16* d = static_cast<ossim_sint16*>(tile->getBuf());
195 
196  // Loop in the longitude or sample direction.
197  for (ossim_int32 samp = clip_rect.ul().x; samp <= clip_rect.lr().x; samp++)
198  {
199  ossim_int32 d_offset = (clip_rect.lr().y - tile_rect.ul().y) *
200  TILE_WIDTH +
201  (samp - tile_rect.ul().x);
202 
203  m_fileStr->seekg(seek_position, ios::beg); // Seek to the first post.
204 
205  for (ossim_int32 line = clip_rect.lr().y; line >= clip_rect.ul().y; line--)
206  {
207  // Grab all the post needed from the column.
208  ossim_uint16 temp;
209  ossim_sint16 s;
210  m_fileStr->read((char*)&temp, POST_SIZE);
211  s = convertSignedMagnitude(temp);
212  d[d_offset] = s;
213  d_offset -= TILE_WIDTH;
214  }
215  seek_position += theDataRecordSize;
216  }
217 
218  tile->validate();
219 
220  return true;
221 }
virtual ossim_uint32 getWidth() const
const ossimIpt & ul() const
Definition: ossimIrect.h:274
unsigned short ossim_uint16
ossim_uint32 theDataRecordSize
virtual ossimDataObjectStatus validate() const
signed short ossim_sint16
const ossimIpt & lr() const
Definition: ossimIrect.h:276
ossim_int32 y
Definition: ossimIpt.h:142
virtual const void * getBuf() const
ossim_uint32 theOffsetToFirstDataRecord
ossim_int32 x
Definition: ossimIpt.h:141
std::shared_ptr< ossim::istream > m_fileStr
ossim_sint16 convertSignedMagnitude(ossim_uint16 &s) const
int ossim_int32

◆ gatherStatistics()

void ossimDtedTileSource::gatherStatistics ( bool  writeStatsFile)
protected

Scans for min and max.

Parameters
writeStatsFileIf true and statistics file does not exists it will write one; else, no file will be written.

Definition at line 536 of file ossimDtedTileSource.cpp.

Referenced by loadMetaData().

537 {
538  // Scan the cell and gather the statistics...
539  if ( traceDebug() )
540  {
542  << "ossimDtedTileSource::gatherStatistics() scanning for min/max"
543  << "\nThis may take a while...\n";
544  }
545 
546  // Start off with the min and max pegged.
547  theMinHeight = 32767;
548  theMaxHeight = -32767;
549 
550  // Put the file pointer at the start of the first elevation post.
551  m_fileStr->seekg(theOffsetToFirstDataRecord, ios::beg);
552 
553  //---
554  // Loop through all records and scan for lowest min and highest max.
555  // Each record contains a row of latitude points for a given longitude.
556  // There are eight bytes in front of the post and four checksum bytes at
557  // the end so ignore them.
558  //---
559  for (ossim_uint32 i=0; i<theNumberOfSamps; i++) // longitude direction
560  {
561  m_fileStr->seekg(DATA_RECORD_OFFSET_TO_POST, ios::cur);
562 
563  for (ossim_uint32 j=0; j<theNumberOfLines; j++) // latitude direction
564  {
565  ossim_uint16 temp;
566  ossim_sint16 s;
567  m_fileStr->read((char*)&temp, POST_SIZE);
568  s = convertSignedMagnitude(temp);
569  if (s < theMinHeight && s != NULL_PIXEL) theMinHeight = s;
570  if (s > theMaxHeight) theMaxHeight = s;
571  }
572 
573  m_fileStr->seekg(DATA_RECORD_CHECKSUM_SIZE, ios::cur);
574  }
575 
576  if ( writeStatsFile )
577  {
578  // Add the stats to the keyword list.
579  ossimKeywordlist kwl;
582 
583  // Write out the statistics file.
585  f.setExtension("statistics");
586  kwl.write( f.c_str() );
587  }
588 
589  if (traceDebug())
590  {
592  << "ossimDtedTileSource::gatherStatistics DEBUG:"
593  << "\ntheMinHeight: " << theMinHeight
594  << "\ntheMaxHeight: " << theMaxHeight
595  << "\n";
596  }
597 }
static const char * MIN_VALUE_KW
ossimFilename theImageFile
Represents serializable keyword/value map.
static const char * MAX_VALUE_KW
unsigned short ossim_uint16
virtual bool write(const char *file, const char *comment=0) const
Methods to dump the ossimKeywordlist to a file on disk.
void add(const char *prefix, const ossimKeywordlist &kwl, bool overwrite=true)
signed short ossim_sint16
unsigned int ossim_uint32
ossimFilename fileNoExtension() const
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
ossim_uint32 theOffsetToFirstDataRecord
ossimFilename & setExtension(const ossimString &e)
Sets the extension of a file name.
std::shared_ptr< ossim::istream > m_fileStr
ossim_sint16 convertSignedMagnitude(ossim_uint16 &s) const
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)

◆ getImageGeometry()

ossimRefPtr< ossimImageGeometry > ossimDtedTileSource::getImageGeometry ( )
virtual

Returns the image geometry object associated with this tile source or NULL if not defined.

The geometry contains full-to-local image transform as well as projection (image-to-world)

Reimplemented from ossimImageHandler.

Definition at line 402 of file ossimDtedTileSource.cpp.

References ossimDatum::ellipsoid(), ossimRefPtr< T >::get(), ossimImageHandler::initImageParameters(), ossimDatumFactory::instance(), ossimDtedUhl::latInterval(), ossimDtedUhl::latOrigin(), ossimDtedUhl::lonInterval(), ossimDtedUhl::lonOrigin(), m_uhl, ossimDtedUhl::numLatPoints(), ossimMapProjection::setDecimalDegreesPerPixel(), ossimEquDistCylProjection::setOrigin(), ossimImageGeometry::setProjection(), ossimMapProjection::setUlTiePoints(), ossimImageHandler::theGeometry, ossimRefPtr< T >::valid(), and ossimDatumFactory::wgs84().

403 {
404  if ( theGeometry.valid() )
405  return theGeometry;
406 
407  // Compute the projection tie point (UL corner of dted cell). The UHL supplies the SW (LL) corner
408  // coordinates, so need to compute the UL lat from the cell spacing:
409  const ossimDatum* datum = ossimDatumFactory::instance()->wgs84();
410  ossim_float64 ul_lat = m_uhl.latOrigin() + (m_uhl.latInterval() * (m_uhl.numLatPoints()-1.0));
411  ossim_float64 ul_lon = m_uhl.lonOrigin();
412  ossimGpt tie(ul_lat, ul_lon, 0.0, datum);
413 
414  //---
415  // This code is backed out as it affects the corner.
416  // E.g.: image0.ur_lon: -88.999999999995
417  // Should be -89.0
418  // Used ossimImageGeometry::::getMetersPerPixel for a center of the image gsd. (drb)
419  //
420  // We also need to define an origin for the projection as the center of the cell for proper GSD
421  // calculation (OLK 01/11: Used to set origin at 0,0 causing incorrect meters GSD to be
422  // computed)
423  // ossim_float64 mid_lat = m_uhl.latOrigin() + (m_uhl.latInterval()*m_uhl.numLatPoints()/2.0);
424  // ossim_float64 mid_lon = m_uhl.lonOrigin() + (m_uhl.lonInterval()*m_uhl.numLonLines()/2.0);
425  // ossimGpt origin (mid_lat, mid_lon, 0.0, datum);
426  //---
427  ossimGpt origin (0.0, 0.0, 0.0, datum);
428 
429  // Make an Equidistant Cylindrical projection.
431  new ossimEquDistCylProjection(*(datum->ellipsoid()));
432 
433  // Set the scale:
434  eq->setOrigin(origin);
435  eq->setUlTiePoints(tie);
437  eq->setDecimalDegreesPerPixel(gsd);
438 
439  // Give it to the geometry object.
440  ossimRefPtr<ossimProjection> proj = eq.get();
441 
442  // Make the geometry:
444 
445  // Set the projection.
446  theGeometry->setProjection( proj.get() );
447 
448  // Set image things the geometry object should know about.
450 
451  return theGeometry;
452 }
double latOrigin() const
ossimRefPtr< ossimImageGeometry > theGeometry
double latInterval() const
void setProjection(ossimProjection *projection)
Sets the projection to be used for local-to-world coordinate transformation.
bool valid() const
Definition: ossimRefPtr.h:75
virtual void setDecimalDegreesPerPixel(const ossimDpt &gsd)
ossim_int32 numLatPoints() const
double ossim_float64
virtual const ossimEllipsoid * ellipsoid() const
Definition: ossimDatum.h:60
static ossimDatumFactory * instance()
virtual void setOrigin(const ossimGpt &origin)
void initImageParameters(ossimImageGeometry *geom) const
Convenience method to set things needed in the image geometry from the image handler.
Container class that holds both 2D transform and 3D projection information for an image Only one inst...
double lonOrigin() const
virtual void setUlTiePoints(const ossimGpt &gpt)
const ossimDatum * wgs84() const
double lonInterval() const

◆ getImageRectangle()

ossimIrect ossimDtedTileSource::getImageRectangle ( ossim_uint32  reduced_res_level = 0) const
virtual

Returns the zero based image rectangle for the reduced resolution data set (rrds) passed in.

Note that rrds 0 is the highest resolution rrds.

Reimplemented from ossimImageHandler.

Definition at line 229 of file ossimDtedTileSource.cpp.

References getNumberOfLines(), and getNumberOfSamples().

Referenced by getTile().

230 {
231  return ossimIrect(0,
232  0,
233  getNumberOfSamples(reduced_res_level) - 1,
234  getNumberOfLines(reduced_res_level) - 1);
235 }
virtual ossim_uint32 getNumberOfSamples(ossim_uint32 reduced_res_level=0) const
Returns the number of samples in the image.
virtual ossim_uint32 getNumberOfLines(ossim_uint32 reduced_res_level=0) const
Returns the number of lines in the image.

◆ getImageTileHeight()

ossim_uint32 ossimDtedTileSource::getImageTileHeight ( ) const
virtual

Returns the tile width of the image or 0 if the image is not tiled.

Note: this is not the same as the ossimImageSource::getTileWidth which returns the output tile width which can be different than the internal image tile width on disk.

Implements ossimImageHandler.

Definition at line 604 of file ossimDtedTileSource.cpp.

605 {
606  return 0;
607 }

◆ getImageTileWidth()

ossim_uint32 ossimDtedTileSource::getImageTileWidth ( ) const
virtual

Returns the tile width of the image or 0 if the image is not tiled.

Note: this is not the same as the ossimImageSource::getTileWidth which returns the output tile width which can be different than the internal image tile width on disk.

Implements ossimImageHandler.

Definition at line 599 of file ossimDtedTileSource.cpp.

600 {
601  return 0;
602 }

◆ getLongName()

ossimString ossimDtedTileSource::getLongName ( ) const
virtual

Reimplemented from ossimObject.

Definition at line 81 of file ossimDtedTileSource.cpp.

82 {
83  return ossimString("dted reader");
84 }

◆ getMaxPixelValue()

double ossimDtedTileSource::getMaxPixelValue ( ossim_uint32  band = 0) const
virtual

Returns the max pixel of the band.

Reimplemented from ossimImageHandler.

Definition at line 631 of file ossimDtedTileSource.cpp.

References ossimImageMetaData::getMaxPix(), ossimImageMetaData::getNumberOfBands(), theMaxHeight, and ossimImageHandler::theMetaData.

632 {
634  {
635  return theMetaData.getMaxPix(band);
636  }
637  return theMaxHeight;
638 }
double getMaxPix(ossim_uint32 band) const
ossim_uint32 getNumberOfBands() const
ossimImageMetaData theMetaData

◆ getMinPixelValue()

double ossimDtedTileSource::getMinPixelValue ( ossim_uint32  band = 0) const
virtual

Retuns the min pixel value.

If there was an external eta data file then use the meta data from that file. If not given then we will return the default min

Reimplemented from ossimImageHandler.

Definition at line 622 of file ossimDtedTileSource.cpp.

References ossimImageMetaData::getMinPix(), ossimImageMetaData::getNumberOfBands(), ossimImageHandler::theMetaData, and theMinHeight.

623 {
625  {
626  return theMetaData.getMinPix(band);
627  }
628  return theMinHeight;
629 }
double getMinPix(ossim_uint32 band) const
ossim_uint32 getNumberOfBands() const
ossimImageMetaData theMetaData

◆ getNullPixelValue()

double ossimDtedTileSource::getNullPixelValue ( ossim_uint32  band = 0) const
virtual

Each band has a null pixel associated with it.

The null pixel represents an invalid value.

Reimplemented from ossimImageHandler.

Definition at line 614 of file ossimDtedTileSource.cpp.

References ossimImageMetaData::getNullPix(), ossimImageMetaData::getNumberOfBands(), and ossimImageHandler::theMetaData.

615 {
617  {
618  return theMetaData.getNullPix(0);
619  }
620  return -32767.0;
621 }
double getNullPix(ossim_uint32 band) const
ossim_uint32 getNumberOfBands() const
ossimImageMetaData theMetaData

◆ getNumberOfInputBands()

ossim_uint32 ossimDtedTileSource::getNumberOfInputBands ( ) const
virtual

Returns the number of bands in the image.

Satisfies pure virtual requirement from ImageHandler class.

Implements ossimImageSource.

Definition at line 609 of file ossimDtedTileSource.cpp.

Referenced by getNumberOfOutputBands().

610 {
611  return 1;
612 }

◆ getNumberOfLines()

ossim_uint32 ossimDtedTileSource::getNumberOfLines ( ossim_uint32  reduced_res_level = 0) const
virtual

Returns the number of lines in the image.

Satisfies pure virtual requirement from ImageHandler class.

Implements ossimImageHandler.

Definition at line 469 of file ossimDtedTileSource.cpp.

References ossimImageHandler::getNumberOfLines(), theNumberOfLines, ossimImageHandler::theOverview, and ossimRefPtr< T >::valid().

Referenced by getImageRectangle().

470 {
471  if (reduced_res_level == 0)
472  {
473  return theNumberOfLines;
474  }
475  else if (theOverview.valid())
476  {
477  return theOverview->getNumberOfLines(reduced_res_level);
478  }
479 
480  return 0;
481 }
bool valid() const
Definition: ossimRefPtr.h:75
virtual ossim_uint32 getNumberOfLines(ossim_uint32 resLevel=0) const =0
Pure virtual, derived classes must implement.
ossimRefPtr< ossimImageHandler > theOverview

◆ getNumberOfOutputBands()

ossim_uint32 ossimDtedTileSource::getNumberOfOutputBands ( ) const
virtual

Returns the number of bands in a tile returned from this TileSource.

Reimplemented from ossimImageSource.

Definition at line 223 of file ossimDtedTileSource.cpp.

References getNumberOfInputBands().

Referenced by getTile().

224 {
225  return getNumberOfInputBands();
226 }
virtual ossim_uint32 getNumberOfInputBands() const
Returns the number of bands in the image.

◆ getNumberOfSamples()

ossim_uint32 ossimDtedTileSource::getNumberOfSamples ( ossim_uint32  reduced_res_level = 0) const
virtual

Returns the number of samples in the image.

Satisfies pure virtual requirement from ImageHandler class.

Implements ossimImageHandler.

Definition at line 483 of file ossimDtedTileSource.cpp.

References ossimImageHandler::getNumberOfSamples(), theNumberOfSamps, ossimImageHandler::theOverview, and ossimRefPtr< T >::valid().

Referenced by getImageRectangle().

484 {
485  if (reduced_res_level == 0)
486  {
487  return theNumberOfSamps;
488  }
489  else if (theOverview.valid())
490  {
491  return theOverview->getNumberOfSamples(reduced_res_level);
492  }
493 
494  return 0;
495 }
bool valid() const
Definition: ossimRefPtr.h:75
ossimRefPtr< ossimImageHandler > theOverview
virtual ossim_uint32 getNumberOfSamples(ossim_uint32 resLevel=0) const =0
Pure virtual, derived classes must implement.

◆ getOutputScalarType()

ossimScalarType ossimDtedTileSource::getOutputScalarType ( ) const
virtual

Returns the output pixel type of the tile source.

Reimplemented from ossimImageSource.

Definition at line 454 of file ossimDtedTileSource.cpp.

References OSSIM_SSHORT16.

455 {
456  return OSSIM_SSHORT16; // Always signed 16 bit.
457 }
16 bit signed integer

◆ getPostSpacing()

void ossimDtedTileSource::getPostSpacing ( ossimDpt postSpacing) const

Initializes spacing to the post spacing of the cell.

Parameters
postSpacingossimDpt to initialize with spacing where postspacing.x = longitude interval and postspacing.y = latitude interval.

Definition at line 640 of file ossimDtedTileSource.cpp.

References thePostSpacing, ossimDpt::x, and ossimDpt::y.

641 {
642  postSpacing.x = thePostSpacing.x;
643  postSpacing.y = thePostSpacing.y;
644 }
double y
Definition: ossimDpt.h:165
double x
Definition: ossimDpt.h:164

◆ getProperty()

ossimRefPtr< ossimProperty > ossimDtedTileSource::getProperty ( const ossimString name) const
virtual

Gets a property for name.

Parameters
nameProperty name to get.
Returns
ossimRefPtr<ossimProperty> Note that this can be empty if property for name was not found.

Reimplemented from ossimImageHandler.

Definition at line 646 of file ossimDtedTileSource.cpp.

References ossimImageHandler::getProperty(), m_dtedInfo, and ossimRefPtr< T >::valid().

648 {
649  // look in base class.
651 
652  if (result.valid() == false)
653  {
654 // ossimDtedInfo info;
655 // std::string connectionString = theImageFile.c_str();
656  if (m_dtedInfo)
657  {
658  result = m_dtedInfo->getProperty(name);
659  }
660  }
661 
662  return result;
663 }
bool valid() const
Definition: ossimRefPtr.h:75
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
std::shared_ptr< ossimDtedInfo > m_dtedInfo

◆ getPropertyNames()

void ossimDtedTileSource::getPropertyNames ( std::vector< ossimString > &  propertyNames) const
virtual

Adds this class's properties to list.

Parameters
propertyNameslist to append to.

Reimplemented from ossimImageHandler.

Definition at line 665 of file ossimDtedTileSource.cpp.

References ossimImageHandler::getPropertyNames(), and m_dtedInfo.

667 {
669 
670  if (m_dtedInfo)
671  {
672  m_dtedInfo->getPropertyNames(propertyNames);
673  }
674 // ossimDtedInfo info;
675 // if (info.open(theImageFile))
676 // {
677 // info.getPropertyNames(propertyNames);
678 // }
679 }
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
std::shared_ptr< ossimDtedInfo > m_dtedInfo

◆ getShortName()

ossimString ossimDtedTileSource::getShortName ( ) const
virtual

Reimplemented from ossimObject.

Definition at line 76 of file ossimDtedTileSource.cpp.

77 {
78  return ossimString("dted");
79 }

◆ getTile() [1/2]

ossimRefPtr< ossimImageData > ossimDtedTileSource::getTile ( const ossimIrect rect,
ossim_uint32  resLevel = 0 
)
virtual
Returns
the requested region of interest

Reimplemented from ossimImageSource.

Definition at line 86 of file ossimDtedTileSource.cpp.

References allocate(), ossimRefPtr< T >::get(), ossimDataObject::getDataObjectStatus(), ossimImageData::makeBlank(), OSSIM_NULL, ossimImageData::setImageRectangle(), theTile, and ossimRefPtr< T >::valid().

88 {
89  if (!theTile.valid())
90  {
91  allocate(); // First getTile call or after changeTileSize.
92  if (!theTile.valid())
93  {
94  return ossimRefPtr<ossimImageData>(); // Throw exception???
95  }
96  }
97 
98  // Image rectangle must be set prior to calling getTile.
99  theTile->setImageRectangle(tile_rect);
100 
101  if ( getTile( theTile.get(), resLevel ) == false )
102  {
104  {
105  theTile->makeBlank();
106  }
107  }
108 
109  return theTile;
110 }
virtual void setImageRectangle(const ossimIrect &rect)
bool valid() const
Definition: ossimRefPtr.h:75
virtual ossimDataObjectStatus getDataObjectStatus() const
virtual ossimRefPtr< ossimImageData > getTile(const ossimIrect &tile_rect, ossim_uint32 resLevel=0)
ossimRefPtr< ossimImageData > theTile
virtual void makeBlank()
Initializes data to null pixel values.
void allocate()
Allocated the tiles.

◆ getTile() [2/2]

bool ossimDtedTileSource::getTile ( ossimImageData result,
ossim_uint32  resLevel = 0 
)
virtual

Method to get a tile.

Parameters
resultThe tile to stuff. Note The requested rectangle in full image space and bands should be set in the result tile prior to passing. It will be an error if: result.getNumberOfBands() != this->getNumberOfOutputBands()
Returns
true on success false on error. If return is false, result is undefined so caller should handle appropriately with makeBlank or whatever.

Reimplemented from ossimImageSource.

Definition at line 112 of file ossimDtedTileSource.cpp.

References ossimIrect::clipToRect(), ossimIrect::completely_within(), fillBuffer(), getImageRectangle(), ossimImageData::getImageRectangle(), ossimImageData::getNumberOfBands(), getNumberOfOutputBands(), ossimImageHandler::getOverviewTile(), ossimIrect::intersects(), isOpen(), ossimSource::isSourceEnabled(), ossimImageHandler::isValidRLevel(), ossimImageData::makeBlank(), ossimReferenced::ref(), status, and ossimReferenced::unref().

114 {
115  bool status = false;
116 
117  //---
118  // Not open, this tile source bypassed, or invalid res level,
119  // return a blank tile.
120  //---
121  if( isOpen() && isSourceEnabled() && isValidRLevel(resLevel) &&
122  result && (result->getNumberOfBands() == getNumberOfOutputBands()) )
123  {
124  result->ref(); // Increment ref count.
125 
126  //---
127  // Check for overview tile. Some overviews can contain r0 so always
128  // call even if resLevel is 0. Method returns true on success, false
129  // on error.
130  //---
131  status = getOverviewTile(resLevel, result);
132 
133  if ( !status ) // Did not get an overview tile.
134  {
135  ossimIrect image_rect = getImageRectangle(resLevel);
136 
137  ossimIrect tile_rect = result->getImageRectangle();
138 
139  //---
140  // See if any point of the requested tile is in the image.
141  //---
142  if ( tile_rect.intersects(image_rect) )
143  {
144  ossimIrect clip_rect = tile_rect.clipToRect(image_rect);
145 
146  if ( !tile_rect.completely_within(clip_rect) )
147  {
148  // Start with a blank tile.
149  result->makeBlank();
150  }
151 
152  // Load the tile buffer with data from the dted cell.
153  status = fillBuffer(tile_rect, clip_rect, result);
154 
155  } // End of if ( tile_rect.intersects(image_rect) )
156  }
157 
158  result->unref(); // Decrement ref count.
159  }
160 
161  return status;
162 }
virtual bool isSourceEnabled() const
Definition: ossimSource.cpp:79
virtual ossim_uint32 getNumberOfBands() const
bool intersects(const ossimIrect &rect) const
Definition: ossimIrect.cpp:183
void ref() const
increment the reference count by one, indicating that this object has another pointer which is refere...
virtual bool isValidRLevel(ossim_uint32 resLevel) const
Determines if the passed in reslution level is valid.
bool completely_within(const ossimIrect &rect) const
Definition: ossimIrect.cpp:425
bool fillBuffer(const ossimIrect &tile_rect, const ossimIrect &clip_rect, ossimImageData *tile)
Returns true on success, false on error.
virtual bool getOverviewTile(ossim_uint32 resLevel, ossimImageData *result)
Method to get an overview tile.
virtual ossimIrect getImageRectangle() const
ossimIrect clipToRect(const ossimIrect &rect) const
Definition: ossimIrect.cpp:501
void unref() const
decrement the reference count by one, indicating that a pointer to this object is referencing it...
return status
virtual void makeBlank()
Initializes data to null pixel values.
virtual bool isOpen() const
Derived classes must implement this method to be concrete.
virtual ossimIrect getImageRectangle(ossim_uint32 reduced_res_level=0) const
Returns the zero based image rectangle for the reduced resolution data set (rrds) passed in...
virtual ossim_uint32 getNumberOfOutputBands() const
Returns the number of bands in a tile returned from this TileSource.

◆ getTileHeight()

ossim_uint32 ossimDtedTileSource::getTileHeight ( ) const
virtual

Returns the height of the output tile.

Reimplemented from ossimImageSource.

Definition at line 464 of file ossimDtedTileSource.cpp.

References theTileHeight.

465 {
466  return theTileHeight;
467 }

◆ getTileWidth()

ossim_uint32 ossimDtedTileSource::getTileWidth ( ) const
virtual

Returns the width of the output tile.

Reimplemented from ossimImageSource.

Definition at line 459 of file ossimDtedTileSource.cpp.

References theTileWidth.

460 {
461  return theTileWidth;
462 }

◆ isOpen()

bool ossimDtedTileSource::isOpen ( ) const
virtual

Derived classes must implement this method to be concrete.

Returns
true if open, false if not.

Implements ossimImageHandler.

Definition at line 237 of file ossimDtedTileSource.cpp.

References m_fileStr.

Referenced by getTile().

238 {
239  return (m_fileStr!=0);
240 }
std::shared_ptr< ossim::istream > m_fileStr

◆ loadMetaData()

void ossimDtedTileSource::loadMetaData ( )
virtual

Sets the min/max.

looks for an omd or statistics file for min/max. If not found calls gatherStatistics method. Overrides ossimImageHandler::loadMetaData called by completeOpen.

Reimplemented from ossimImageHandler.

Definition at line 497 of file ossimDtedTileSource.cpp.

References ossimKeywordlist::addFile(), ossimFilename::exists(), ossimFilename::fileNoExtension(), ossimKeywordlist::find(), gatherStatistics(), ossimKeywordNames::MAX_VALUE_KW, ossimKeywordNames::MIN_VALUE_KW, ossimFilename::setExtension(), ossimImageHandler::theImageFile, theMaxHeight, and theMinHeight.

498 {
499  ossimKeywordlist kwl;
500  const char* min_str = 0;
501  const char* max_str = 0;
502 
504 
505  // Check for omd file.
506  f.setExtension("omd");
507  if ( f.exists() )
508  {
509  kwl.addFile(f);
510  min_str = kwl.find("band1.min_value");
511  max_str = kwl.find("band1.max_value");
512  }
513 
514  if ( !min_str || !max_str )
515  {
516  f.setExtension("statistics");
517  if ( f.exists() )
518  {
519  kwl.addFile(f);
520  min_str = kwl.find(ossimKeywordNames::MIN_VALUE_KW);
521  max_str = kwl.find(ossimKeywordNames::MAX_VALUE_KW);
522  }
523  }
524 
525  if ( min_str || max_str )
526  {
527  theMinHeight = atoi(min_str);
528  theMaxHeight = atoi(max_str);
529  }
530  else
531  {
532  gatherStatistics(false);
533  }
534 }
static const char * MIN_VALUE_KW
ossimFilename theImageFile
Represents serializable keyword/value map.
bool addFile(const char *file)
const char * find(const char *key) const
static const char * MAX_VALUE_KW
void gatherStatistics(bool writeStatsFile)
Scans for min and max.
bool exists() const
ossimFilename fileNoExtension() const
ossimFilename & setExtension(const ossimString &e)
Sets the extension of a file name.

◆ loadState()

bool ossimDtedTileSource::loadState ( const ossimKeywordlist kwl,
const char *  prefix = 0 
)
virtual

Method to the load (recreate) the state of an object from a keyword list.

Return true if ok or false on error.

Reimplemented from ossimImageHandler.

Definition at line 384 of file ossimDtedTileSource.cpp.

References ossimImageHandler::loadState(), ossimImageHandler::open(), and ossimImageHandler::theImageFile.

386 {
387  if (ossimImageHandler::loadState(kwl, prefix))
388  {
390  {
391  return true;
392  }
393  }
394 
395  return false;
396 }
virtual bool open()=0
Pure virtual open.
ossimFilename theImageFile
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.

◆ open()

bool ossimDtedTileSource::open ( )
virtual

Returns true if "theImageFile" can be opened and is a valid adrg file.

Implements ossimImageHandler.

Definition at line 247 of file ossimDtedTileSource.cpp.

248 {
249  static const char MODULE[] = "ossimDtedTileSource::open";
250 
251  if (traceDebug())
252  {
253  CLOG << "DEBUG:"
254  << "\nAttempting to parse file: " << theImageFile.c_str()
255  << endl;
256  }
257  std::shared_ptr<ossim::istream> str = ossim::StreamFactoryRegistry::instance()->
258  createIstream( theImageFile.c_str(), std::ios_base::in|std::ios_base::binary);
259 
260  // Open up the file for reading.
261  if (!str)
262  {
264 
265  if(traceDebug())
266  {
267  ossimNotify(ossimNotifyLevel_WARN) << MODULE << " ERROR!"
268  << "\nCould not open file: " << theImageFile.c_str()
269  << "\nReturning..." << endl;
270  CLOG << "returning with error..." << endl;
271  }
272  return false;
273  }
274 
275  if(!str)
276  {
277  if (traceDebug())
278  {
279  CLOG << "DEBUG:"
280  << "\nCannot open: " << theImageFile.c_str()
281  << endl;
282  }
283  str.reset();
284  return false;
285  }
286  std::string connectionString = theImageFile.c_str();
287  m_dtedInfo = std::make_shared<ossimDtedInfo>();
288  if(!m_dtedInfo->open(str, connectionString))
289  {
290  close();
291  return false;
292  }
293  m_fileStr = str;
294  m_fileStr->clear();
295  m_fileStr->seekg(0);
296 
297  m_vol.parse(*str);
298  m_hdr.parse(*str);
299  m_uhl.parse(*str);
300  m_dsi.parse(*str);
301  m_acc.parse(*str);
302 
303  //***
304  // Check for errors. Must have uhl, dsi and acc records. vol and hdr
305  // are for magnetic tape only; hence, may or may not be there.
306  //***
310  {
311  if (traceDebug())
312  {
313  CLOG << "DEBUG:"
314  << "\nError parsing file: " << theImageFile.c_str()
315  << "\nPossibly not a dted file.\n";
316  }
317 
318  str.reset();
319  return false;
320  }
321  m_fileStr = str;
322 
323  // Get the cell specific info needed for later.
330  (theNumberOfLines * sizeof(ossim_sint16)) +
332 
333  //---
334  // Note:
335  // Complete open calls loadMetaData which we have overriden to check for
336  // dot omd or dot statistics file. If not there it will call
337  // gatherStatistics which will scan the file for min/max values.
338  //---
339  completeOpen();
340 
341  if (traceDebug())
342  {
343  CLOG << "DEBUG:"
344  << "\nNull pix: " << getNullPixelValue(0)
345  << "\nMin pix: " << getMinPixelValue(0)
346  << "\nMax pix: " << getMaxPixelValue(0)
347  << "\ntheNumberOfLines: " << theNumberOfLines
348  << "\ntheNumberOfSamps: " << theNumberOfSamps
349  << "\ntheOffsetToFirstDataRecord: " << theOffsetToFirstDataRecord
350  << "\ntheDataRecordSize: " << theDataRecordSize << "\n";
351  }
352 
353  return true;
354 }
ossim_int32 stopOffset() const
double latInterval() const
#define CLOG
Definition: ossimTrace.h:23
ossimFilename theImageFile
double y
Definition: ossimDpt.h:165
static const ossimErrorCode OSSIM_ERROR
static StreamFactoryRegistry * instance()
void parse(std::istream &in)
ossim_uint32 theDataRecordSize
virtual double getMaxPixelValue(ossim_uint32 band=0) const
Returns the max pixel of the band.
ossim_int32 numLatPoints() const
signed short ossim_sint16
void parse(std::istream &in)
virtual double getNullPixelValue(ossim_uint32 band=0) const
Each band has a null pixel associated with it.
virtual void close()
Deletes the overview and clears the valid image vertices.
virtual double getMinPixelValue(ossim_uint32 band=0) const
Retuns the min pixel value.
void parse(std::istream &in)
virtual void completeOpen()
Will complete the opening process.
void parse(std::istream &in)
virtual ossimErrorCode getErrorStatus() const
double x
Definition: ossimDpt.h:164
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
ossim_uint32 theOffsetToFirstDataRecord
void parse(std::istream &in)
std::shared_ptr< ossimDtedInfo > m_dtedInfo
ossim_int32 numLonLines() const
std::shared_ptr< ossim::istream > m_fileStr
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)
double lonInterval() const

◆ operator=()

const ossimDtedTileSource & ossimDtedTileSource::operator= ( const ossimDtedTileSource rhs)
protected

Definition at line 681 of file ossimDtedTileSource.cpp.

682 {
683  return rhs;
684 }

◆ saveState()

bool ossimDtedTileSource::saveState ( ossimKeywordlist kwl,
const char *  prefix = 0 
) const
virtual

Method to save the state of an object to a keyword list.

Return true if ok or false on error.

Reimplemented from ossimImageHandler.

Definition at line 377 of file ossimDtedTileSource.cpp.

References ossimImageHandler::saveState().

379 {
380  // Currently nothing to do here.
381  return ossimImageHandler::saveState(kwl, prefix);
382 }
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.

Member Data Documentation

◆ m_acc

ossimDtedAcc ossimDtedTileSource::m_acc
protected

Definition at line 236 of file ossimDtedTileSource.h.

◆ m_dsi

ossimDtedDsi ossimDtedTileSource::m_dsi
protected

Definition at line 235 of file ossimDtedTileSource.h.

◆ m_dtedInfo

std::shared_ptr<ossimDtedInfo> ossimDtedTileSource::m_dtedInfo
mutableprotected

Definition at line 220 of file ossimDtedTileSource.h.

Referenced by getProperty(), and getPropertyNames().

◆ m_fileStr

std::shared_ptr<ossim::istream> ossimDtedTileSource::m_fileStr
mutableprotected

Definition at line 219 of file ossimDtedTileSource.h.

Referenced by close(), fillBuffer(), and isOpen().

◆ m_hdr

ossimDtedHdr ossimDtedTileSource::m_hdr
protected

Definition at line 233 of file ossimDtedTileSource.h.

◆ m_uhl

ossimDtedUhl ossimDtedTileSource::m_uhl
protected

Definition at line 234 of file ossimDtedTileSource.h.

Referenced by getImageGeometry().

◆ m_vol

ossimDtedVol ossimDtedTileSource::m_vol
protected

Definition at line 232 of file ossimDtedTileSource.h.

◆ theDataRecordSize

ossim_uint32 ossimDtedTileSource::theDataRecordSize
protected

Definition at line 227 of file ossimDtedTileSource.h.

Referenced by fillBuffer().

◆ theMaxHeight

ossim_sint16 ossimDtedTileSource::theMaxHeight
protected

Definition at line 229 of file ossimDtedTileSource.h.

Referenced by getMaxPixelValue(), and loadMetaData().

◆ theMinHeight

ossim_sint16 ossimDtedTileSource::theMinHeight
protected

Definition at line 228 of file ossimDtedTileSource.h.

Referenced by getMinPixelValue(), and loadMetaData().

◆ theNumberOfLines

ossim_uint32 ossimDtedTileSource::theNumberOfLines
protected

Definition at line 224 of file ossimDtedTileSource.h.

Referenced by fillBuffer(), and getNumberOfLines().

◆ theNumberOfSamps

ossim_uint32 ossimDtedTileSource::theNumberOfSamps
protected

Definition at line 225 of file ossimDtedTileSource.h.

Referenced by getNumberOfSamples().

◆ theOffsetToFirstDataRecord

ossim_uint32 ossimDtedTileSource::theOffsetToFirstDataRecord
protected

Definition at line 226 of file ossimDtedTileSource.h.

Referenced by fillBuffer().

◆ thePostSpacing

ossimDpt ossimDtedTileSource::thePostSpacing
protected

Definition at line 230 of file ossimDtedTileSource.h.

Referenced by getPostSpacing().

◆ theSwapBytesFlag

bool ossimDtedTileSource::theSwapBytesFlag
protected

DTED data is always stored as BIG_ENDIAN.

This flag indicates that byte swapping is needed (LITTLE_ENDIAN machine).

Definition at line 241 of file ossimDtedTileSource.h.

Referenced by convertSignedMagnitude(), and ossimDtedTileSource().

◆ theTile

ossimRefPtr<ossimImageData> ossimDtedTileSource::theTile
protected

Definition at line 218 of file ossimDtedTileSource.h.

Referenced by allocate(), and getTile().

◆ theTileHeight

ossim_uint32 ossimDtedTileSource::theTileHeight
protected

Definition at line 223 of file ossimDtedTileSource.h.

Referenced by getTileHeight(), and ossimDtedTileSource().

◆ theTileWidth

ossim_uint32 ossimDtedTileSource::theTileWidth
protected

Definition at line 222 of file ossimDtedTileSource.h.

Referenced by getTileWidth(), and ossimDtedTileSource().


The documentation for this class was generated from the following files: