35 #ifndef vtkDEMReader_h
36 #define vtkDEMReader_h
38 #include "vtkIOImageModule.h"
52 vtkSetStringMacro(FileName);
53 vtkGetStringMacro(FileName);
56 enum {REFERENCE_SEA_LEVEL=0,REFERENCE_ELEVATION_BOUNDS};
64 vtkSetClampMacro(ElevationReference,
int,REFERENCE_SEA_LEVEL,
65 REFERENCE_ELEVATION_BOUNDS);
66 vtkGetMacro(ElevationReference,
int);
68 {this->SetElevationReference(REFERENCE_SEA_LEVEL);}
70 {this->SetElevationReference(REFERENCE_ELEVATION_BOUNDS);}
71 const char *GetElevationReferenceAsString(
void);
78 vtkGetStringMacro(MapLabel);
85 vtkGetMacro(DEMLevel,
int);
92 vtkGetMacro(ElevationPattern,
int);
99 vtkGetMacro(GroundSystem,
int);
106 vtkGetMacro(GroundZone,
int);
113 vtkGetVectorMacro(ProjectionParameters,
float,15);
121 vtkGetMacro(PlaneUnitOfMeasure,
int);
129 vtkGetMacro(ElevationUnitOfMeasure,
int);
137 vtkGetMacro(PolygonSize,
int);
145 vtkGetVectorMacro(ElevationBounds,
float,2);
154 vtkGetMacro(LocalRotation,
float);
161 vtkGetMacro(AccuracyCode,
int);
169 vtkGetVectorMacro(SpatialResolution,
float,3);
176 vtkGetVectorMacro(ProfileDimension,
int,2);
201 float ProjectionParameters[15];
205 float GroundCoords[4][2];
206 float ElevationBounds[2];
209 float SpatialResolution[3];
210 int ProfileDimension[2];
214 void ComputeExtentOriginAndSpacing (
int extent[6],
217 int ReadTypeARecord ();