34 #ifndef __vtkDEMReader_h
35 #define __vtkDEMReader_h
48 vtkSetStringMacro(FileName);
49 vtkGetStringMacro(FileName);
53 enum {REFERENCE_SEA_LEVEL=0,REFERENCE_ELEVATION_BOUNDS};
60 vtkSetClampMacro(ElevationReference,
int,REFERENCE_SEA_LEVEL,
61 REFERENCE_ELEVATION_BOUNDS);
62 vtkGetMacro(ElevationReference,
int);
64 {this->SetElevationReference(REFERENCE_SEA_LEVEL);}
66 {this->SetElevationReference(REFERENCE_ELEVATION_BOUNDS);}
67 const char *GetElevationReferenceAsString(
void);
72 vtkGetStringMacro(MapLabel);
77 vtkGetMacro(DEMLevel,
int);
82 vtkGetMacro(ElevationPattern,
int);
87 vtkGetMacro(GroundSystem,
int);
92 vtkGetMacro(GroundZone,
int);
97 vtkGetVectorMacro(ProjectionParameters,
float,15);
104 vtkGetMacro(PlaneUnitOfMeasure,
int);
110 vtkGetMacro(ElevationUnitOfMeasure,
int);
116 vtkGetMacro(PolygonSize,
int);
122 vtkGetVectorMacro(ElevationBounds,
float,2);
129 vtkGetMacro(LocalRotation,
float);
134 vtkGetMacro(AccuracyCode,
int);
141 vtkGetVectorMacro(SpatialResolution,
float,3);
146 vtkGetVectorMacro(ProfileDimension,
int,2);
171 float ProjectionParameters[15];
175 float GroundCoords[4][2];
176 float ElevationBounds[2];
179 float SpatialResolution[3];
180 int ProfileDimension[2];
184 void ComputeExtentOriginAndSpacing (
int extent[6],
187 int ReadTypeARecord ();