61#include "vtkIOImageModule.h"
81 REFERENCE_SEA_LEVEL = 0,
82 REFERENCE_ELEVATION_BOUNDS
91 vtkSetClampMacro(ElevationReference,
int, REFERENCE_SEA_LEVEL, REFERENCE_ELEVATION_BOUNDS);
92 vtkGetMacro(ElevationReference,
int);
96 this->SetElevationReference(REFERENCE_ELEVATION_BOUNDS);
105 vtkGetStringMacro(MapLabel);
112 vtkGetMacro(DEMLevel,
int);
119 vtkGetMacro(ElevationPattern,
int);
126 vtkGetMacro(GroundSystem,
int);
133 vtkGetMacro(GroundZone,
int);
140 vtkGetVectorMacro(ProjectionParameters,
float, 15);
148 vtkGetMacro(PlaneUnitOfMeasure,
int);
156 vtkGetMacro(ElevationUnitOfMeasure,
int);
164 vtkGetMacro(PolygonSize,
int);
172 vtkGetVectorMacro(ElevationBounds,
float, 2);
181 vtkGetMacro(LocalRotation,
float);
188 vtkGetMacro(AccuracyCode,
int);
196 vtkGetVectorMacro(SpatialResolution,
float, 3);
203 vtkGetVectorMacro(ProfileDimension,
int, 2);
227 float ProjectionParameters[15];
231 float GroundCoords[4][2];
232 float ElevationBounds[2];
235 float SpatialResolution[3];
236 int ProfileDimension[2];
read a digital elevation model (DEM) file
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.
void ComputeExtentOriginAndSpacing(int extent[6], double origin[6], double spacing[6])
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()
const char * GetElevationReferenceAsString(void)
Specify the elevation origin to use.
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 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