52#include "vtkIOImageModule.h"
55VTK_ABI_NAMESPACE_BEGIN
73 REFERENCE_SEA_LEVEL = 0,
74 REFERENCE_ELEVATION_BOUNDS
83 vtkSetClampMacro(ElevationReference,
int, REFERENCE_SEA_LEVEL, REFERENCE_ELEVATION_BOUNDS);
84 vtkGetMacro(ElevationReference,
int);
88 this->SetElevationReference(REFERENCE_ELEVATION_BOUNDS);
97 vtkGetStringMacro(MapLabel);
104 vtkGetMacro(DEMLevel,
int);
111 vtkGetMacro(ElevationPattern,
int);
118 vtkGetMacro(GroundSystem,
int);
125 vtkGetMacro(GroundZone,
int);
132 vtkGetVectorMacro(ProjectionParameters,
float, 15);
140 vtkGetMacro(PlaneUnitOfMeasure,
int);
148 vtkGetMacro(ElevationUnitOfMeasure,
int);
156 vtkGetMacro(PolygonSize,
int);
164 vtkGetVectorMacro(ElevationBounds,
float, 2);
173 vtkGetMacro(LocalRotation,
float);
180 vtkGetMacro(AccuracyCode,
int);
188 vtkGetVectorMacro(SpatialResolution,
float, 3);
195 vtkGetVectorMacro(ProfileDimension,
int, 2);
219 float ProjectionParameters[15];
223 float GroundCoords[4][2];
224 float ElevationBounds[2];
227 float SpatialResolution[3];
228 int ProfileDimension[2];
read a digital elevation model (DEM) file
const char * GetElevationReferenceAsString()
Specify the elevation origin to use.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Reads the DEM Type A record to compute the extent, origin and spacing of the image data.
void SetElevationReferenceToElevationBounds()
Specify the elevation origin to use.
static vtkDEMReader * New()
vtkGetFilePathMacro(FileName)
Specify file name of Digital Elevation Model (DEM) file.
int ElevationUnitOfMeasure
vtkSetFilePathMacro(FileName)
Specify file name of Digital Elevation Model (DEM) file.
int ReadProfiles(vtkImageData *data)
void ComputeExtentOriginAndSpacing(int extent[6], double origin[3], double spacing[3])
void SetElevationReferenceToSeaLevel()
Specify the elevation origin to use.
vtkTimeStamp ReadHeaderTime
Generic algorithm superclass for image algs.
topologically and geometrically regular array of data
a simple class to control print indentation
record modification and/or execution time