29 #ifndef vtkDEMReader_h
30 #define vtkDEMReader_h
32 #include "vtkIOImageModule.h"
46 vtkSetStringMacro(FileName);
50 enum {REFERENCE_SEA_LEVEL=0,REFERENCE_ELEVATION_BOUNDS};
58 vtkSetClampMacro(ElevationReference,
int,REFERENCE_SEA_LEVEL,
59 REFERENCE_ELEVATION_BOUNDS);
60 vtkGetMacro(ElevationReference,
int);
62 {this->SetElevationReference(REFERENCE_SEA_LEVEL);}
64 {this->SetElevationReference(REFERENCE_ELEVATION_BOUNDS);}
65 const char *GetElevationReferenceAsString(
void);
79 vtkGetMacro(DEMLevel,
int);
86 vtkGetMacro(ElevationPattern,
int);
93 vtkGetMacro(GroundSystem,
int);
100 vtkGetMacro(GroundZone,
int);
107 vtkGetVectorMacro(ProjectionParameters,
float,15);
115 vtkGetMacro(PlaneUnitOfMeasure,
int);
123 vtkGetMacro(ElevationUnitOfMeasure,
int);
131 vtkGetMacro(PolygonSize,
int);
139 vtkGetVectorMacro(ElevationBounds,
float,2);
148 vtkGetMacro(LocalRotation,
float);
155 vtkGetMacro(AccuracyCode,
int);
163 vtkGetVectorMacro(SpatialResolution,
float,3);
170 vtkGetVectorMacro(ProfileDimension,
int,2);
183 ~vtkDEMReader() VTK_OVERRIDE;
192 int ElevationPattern;
195 float ProjectionParameters[15];
196 int PlaneUnitOfMeasure;
197 int ElevationUnitOfMeasure;
199 float GroundCoords[4][2];
200 float ElevationBounds[2];
203 float SpatialResolution[3];
204 int ProfileDimension[2];
205 int ProfileSeekOffset;
206 int ElevationReference;
208 void ComputeExtentOriginAndSpacing (
int extent[6],
211 int ReadTypeARecord ();
218 vtkDEMReader(const vtkDEMReader&) VTK_DELETE_FUNCTION;
219 void operator=(const vtkDEMReader&) VTK_DELETE_FUNCTION;
record modification and/or execution time
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...
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
void SetElevationReferenceToElevationBounds()
Specify the elevation origin to use.
Generic algorithm superclass for image algs.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
read a digital elevation model (DEM) file
void SetElevationReferenceToSeaLevel()
Specify the elevation origin to use.