20 #ifndef vtkDEMReader_h
21 #define vtkDEMReader_h
23 #include "vtkIOImageModule.h"
26 VTK_ABI_NAMESPACE_BEGIN
38 vtkSetFilePathMacro(FileName);
39 vtkGetFilePathMacro(FileName);
44 REFERENCE_SEA_LEVEL = 0,
45 REFERENCE_ELEVATION_BOUNDS
54 vtkSetClampMacro(ElevationReference,
int, REFERENCE_SEA_LEVEL, REFERENCE_ELEVATION_BOUNDS);
55 vtkGetMacro(ElevationReference,
int);
59 this->SetElevationReference(REFERENCE_ELEVATION_BOUNDS);
61 const char* GetElevationReferenceAsString();
68 vtkGetStringMacro(MapLabel);
75 vtkGetMacro(DEMLevel,
int);
82 vtkGetMacro(ElevationPattern,
int);
89 vtkGetMacro(GroundSystem,
int);
96 vtkGetMacro(GroundZone,
int);
103 vtkGetVectorMacro(ProjectionParameters,
float, 15);
111 vtkGetMacro(PlaneUnitOfMeasure,
int);
119 vtkGetMacro(ElevationUnitOfMeasure,
int);
127 vtkGetMacro(PolygonSize,
int);
135 vtkGetVectorMacro(ElevationBounds,
float, 2);
144 vtkGetMacro(LocalRotation,
float);
151 vtkGetMacro(AccuracyCode,
int);
159 vtkGetVectorMacro(SpatialResolution,
float, 3);
166 vtkGetVectorMacro(ProfileDimension,
int, 2);
190 float ProjectionParameters[15];
194 float GroundCoords[4][2];
195 float ElevationBounds[2];
198 float SpatialResolution[3];
199 int ProfileDimension[2];
203 void ComputeExtentOriginAndSpacing(
int extent[6],
double origin[3],
double spacing[3]);
204 int ReadTypeARecord();
214 VTK_ABI_NAMESPACE_END
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.