35 #ifndef vtkDEMReader_h
36 #define vtkDEMReader_h
38 #include "vtkIOImageModule.h"
52 vtkSetStringMacro(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);}
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];
225 void operator=(
const vtkDEMReader&) VTK_DELETE_FUNCTION;
read a digital elevation model (DEM) file
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Reads the DEM Type A record to compute the extent, origin and spacing of the image data.
void ComputeExtentOriginAndSpacing(int extent[6], double origin[6], double spacing[6])
void SetElevationReferenceToElevationBounds()
static vtkDEMReader * New()
const char * GetElevationReferenceAsString(void)
int ElevationUnitOfMeasure
int ReadProfiles(vtkImageData *data)
void SetElevationReferenceToSeaLevel()
vtkTimeStamp ReadHeaderTime
Generic algorithm superclass for image algs.
topologically and geometrically regular array of data
a simple class to control print indentation
record modification and/or execution time
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.