34 #ifndef vtkDEMReader_h
35 #define vtkDEMReader_h
49 vtkSetStringMacro(FileName);
50 vtkGetStringMacro(FileName);
54 enum {REFERENCE_SEA_LEVEL=0,REFERENCE_ELEVATION_BOUNDS};
61 vtkSetClampMacro(ElevationReference,
int,REFERENCE_SEA_LEVEL,
62 REFERENCE_ELEVATION_BOUNDS);
63 vtkGetMacro(ElevationReference,
int);
65 {this->SetElevationReference(REFERENCE_SEA_LEVEL);}
67 {this->SetElevationReference(REFERENCE_ELEVATION_BOUNDS);}
68 const char *GetElevationReferenceAsString(
void);
73 vtkGetStringMacro(MapLabel);
78 vtkGetMacro(DEMLevel,
int);
83 vtkGetMacro(ElevationPattern,
int);
88 vtkGetMacro(GroundSystem,
int);
93 vtkGetMacro(GroundZone,
int);
98 vtkGetVectorMacro(ProjectionParameters,
float,15);
105 vtkGetMacro(PlaneUnitOfMeasure,
int);
111 vtkGetMacro(ElevationUnitOfMeasure,
int);
117 vtkGetMacro(PolygonSize,
int);
123 vtkGetVectorMacro(ElevationBounds,
float,2);
130 vtkGetMacro(LocalRotation,
float);
135 vtkGetMacro(AccuracyCode,
int);
142 vtkGetVectorMacro(SpatialResolution,
float,3);
147 vtkGetVectorMacro(ProfileDimension,
int,2);
172 float ProjectionParameters[15];
176 float GroundCoords[4][2];
177 float ElevationBounds[2];
180 float SpatialResolution[3];
181 int ProfileDimension[2];
185 void ComputeExtentOriginAndSpacing (
int extent[6],
188 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
#define VTKIOIMAGE_EXPORT
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
read a digital elevation model (DEM) file
void SetElevationReferenceToSeaLevel()