32 #ifndef vtkDEMReader_h
33 #define vtkDEMReader_h
35 #include "vtkIOImageModule.h"
49 vtkSetFilePathMacro(FileName);
50 vtkGetFilePathMacro(FileName);
55 REFERENCE_SEA_LEVEL = 0,
56 REFERENCE_ELEVATION_BOUNDS
65 vtkSetClampMacro(ElevationReference,
int, REFERENCE_SEA_LEVEL, REFERENCE_ELEVATION_BOUNDS);
66 vtkGetMacro(ElevationReference,
int);
70 this->SetElevationReference(REFERENCE_ELEVATION_BOUNDS);
72 const char* GetElevationReferenceAsString(
void);
79 vtkGetStringMacro(MapLabel);
86 vtkGetMacro(DEMLevel,
int);
93 vtkGetMacro(ElevationPattern,
int);
100 vtkGetMacro(GroundSystem,
int);
107 vtkGetMacro(GroundZone,
int);
114 vtkGetVectorMacro(ProjectionParameters,
float, 15);
122 vtkGetMacro(PlaneUnitOfMeasure,
int);
130 vtkGetMacro(ElevationUnitOfMeasure,
int);
138 vtkGetMacro(PolygonSize,
int);
146 vtkGetVectorMacro(ElevationBounds,
float, 2);
155 vtkGetMacro(LocalRotation,
float);
162 vtkGetMacro(AccuracyCode,
int);
170 vtkGetVectorMacro(SpatialResolution,
float, 3);
177 vtkGetVectorMacro(ProfileDimension,
int, 2);
201 float ProjectionParameters[15];
205 float GroundCoords[4][2];
206 float ElevationBounds[2];
209 float SpatialResolution[3];
210 int ProfileDimension[2];
214 void ComputeExtentOriginAndSpacing(
int extent[6],
double origin[6],
double spacing[6]);
215 int ReadTypeARecord();
record modification and/or execution time
vtkTimeStamp ReadHeaderTime
a simple class to control print indentation
topologically and geometrically regular array of data
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetElevationReferenceToElevationBounds()
Specify the elevation origin to use.
Generic algorithm superclass for image algs.
static vtkAlgorithm * New()
int ElevationUnitOfMeasure
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
read a digital elevation model (DEM) file
void SetElevationReferenceToSeaLevel()
Specify the elevation origin to use.