This class can be used to read DTED files. More...
#include <ilviews/maps/format/dted/dtedreader.h>
Public Member Functions | |
IlvDTEDReader (const char *filename) | |
Initializes a new instance of the DTED reader for a specified file name. More... | |
IlvDTEDReader (IlIUrlStream &input) | |
Initializes a new instance of the DTED reader from a IlIUrlStream . More... | |
IlvDTEDReader (std::istream &input) | |
Initializes a new instance of the DTED reader from an input stream. More... | |
IlvFeatureRenderer * | getDefaultFeatureRenderer (IlvDisplay *display) |
Returns an instance of IlvDefaultFeatureRenderer . More... | |
virtual IlvMapsError | getInitStatus () const |
Checks the initialization status of this feature iterator. More... | |
virtual IlBoolean | getLowerRightCorner (IlvCoordinate &) const |
Computes the lower right corner of the rectangle containing all the map features of this iterator. More... | |
virtual const IlvMapFeature * | getNextFeature (IlvMapsError &) |
Returns the next map feature of the iterator. More... | |
const IlvProjection * | getProjection () const |
Returns the projection used in the DTED file. More... | |
virtual IlBoolean | getUpperLeftCorner (IlvCoordinate &) const |
Computes the upper left corner of the rectangle containing all the map features of this iterator. More... | |
Public Member Functions inherited from IlvMapFeatureIterator | |
virtual IlvClassInfo * | getClassInfo () const =0 |
Returns the class information for this feature iterator. More... | |
virtual void | setSourceProjection (IlvProjection *projection) |
Sets the projection of geometries generated by this feature iterator. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from IlvMapFeatureIterator | |
static IlvClassInfo * | ClassInfo () |
Returns the class information of the class. More... | |
static IlvClassInfo ** | ClassInfoRef () |
Returns the address of the class information of the class. More... | |
This class can be used to read DTED files.
Library: ilvmaps
The Digital Terrain Elevation Data (DTED) format is a map format for representing terrain elevations, which is published by the US National Imagery and Mapping Agency (NIMA).
This reader produces only one map feature which is an IlvMapRaster
.
The DTED reader provided in this package is based on the specification document MIL-PRF-89020A of 19 April 1996.
DTED files are available with various precision levels: DTED0, DTED1 and DTED2, with DTED2 offering the greatest precision.
Samples of DTED files can be downloaded from the Geospatial Engine.
IlvDTEDReader::IlvDTEDReader | ( | const char * | filename | ) |
Initializes a new instance of the DTED reader for a specified file name.
filename | The name of the DTED file to be read. |
IlvDTEDReader::IlvDTEDReader | ( | std::istream & | input | ) |
Initializes a new instance of the DTED reader from an input stream.
input | An input stream, that must be opened on a DTED file. |
IlvDTEDReader::IlvDTEDReader | ( | IlIUrlStream & | input | ) |
Initializes a new instance of the DTED reader from a IlIUrlStream
.
input | A stream opened on a DTED URL. |
|
virtual |
Returns an instance of IlvDefaultFeatureRenderer
.
display | The display instance that is used by the renderer. |
IlvDefaultFeatureRenderer
. Implements IlvMapFeatureIterator.
|
virtual |
Checks the initialization status of this feature iterator.
Implements IlvMapFeatureIterator.
|
virtual |
Computes the lower right corner of the rectangle containing all the map features of this iterator.
result | Set on return to the lower right corner of the rectangle containing all the map features of this iterator. |
IlFalse
if lower right is unknown. Implements IlvMapFeatureIterator.
|
virtual |
Returns the next map feature of the iterator.
status | Set on return to the status of the operation. This status is IlvMaps::NoError() if no error occurs. |
0
if the iteration is finished. The returned feature is owned by the feature iterator. Implements IlvMapFeatureIterator.
|
virtual |
Returns the projection used in the DTED file.
The projection is an IlvGeographicProjection
.
Implements IlvMapFeatureIterator.
|
virtual |
Computes the upper left corner of the rectangle containing all the map features of this iterator.
result | Set on return to the upper left corner of the rectangle containing all the map features of this iterator. |
IlFalse
if upper left is unknown. Implements IlvMapFeatureIterator.