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 ();
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)
void SetElevationReferenceToElevationBounds()
Generic algorithm superclass for image algs.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
int ElevationUnitOfMeasure
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
read a digital elevation model (DEM) file
void SetElevationReferenceToSeaLevel()