29 #ifndef vtkDEMReader_h
30 #define vtkDEMReader_h
32 #include "vtkIOImageModule.h"
46 vtkSetStringMacro(FileName);
47 vtkGetStringMacro(FileName);
52 REFERENCE_SEA_LEVEL = 0,
53 REFERENCE_ELEVATION_BOUNDS
62 vtkSetClampMacro(ElevationReference,
int, REFERENCE_SEA_LEVEL, REFERENCE_ELEVATION_BOUNDS);
63 vtkGetMacro(ElevationReference,
int);
67 this->SetElevationReference(REFERENCE_ELEVATION_BOUNDS);
69 const char* GetElevationReferenceAsString(
void);
76 vtkGetStringMacro(MapLabel);
83 vtkGetMacro(DEMLevel,
int);
90 vtkGetMacro(ElevationPattern,
int);
97 vtkGetMacro(GroundSystem,
int);
104 vtkGetMacro(GroundZone,
int);
111 vtkGetVectorMacro(ProjectionParameters,
float, 15);
119 vtkGetMacro(PlaneUnitOfMeasure,
int);
127 vtkGetMacro(ElevationUnitOfMeasure,
int);
135 vtkGetMacro(PolygonSize,
int);
143 vtkGetVectorMacro(ElevationBounds,
float, 2);
152 vtkGetMacro(LocalRotation,
float);
159 vtkGetMacro(AccuracyCode,
int);
167 vtkGetVectorMacro(SpatialResolution,
float, 3);
174 vtkGetVectorMacro(ProfileDimension,
int, 2);
198 float ProjectionParameters[15];
202 float GroundCoords[4][2];
203 float ElevationBounds[2];
206 float SpatialResolution[3];
207 int ProfileDimension[2];
211 void ComputeExtentOriginAndSpacing(
int extent[6],
double origin[6],
double spacing[6]);
212 int ReadTypeARecord();