Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
IO/vtkDEMReader.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00048 #ifndef __vtkDEMReader_h
00049 #define __vtkDEMReader_h
00050
00051 #include "vtkImageSource.h"
00052
00053 class VTK_IO_EXPORT vtkDEMReader : public vtkImageSource
00054 {
00055 public:
00056 static vtkDEMReader *New();
00057 vtkTypeRevisionMacro(vtkDEMReader,vtkImageSource);
00058 void PrintSelf(ostream& os, vtkIndent indent);
00059
00061
00062 vtkSetStringMacro(FileName);
00063 vtkGetStringMacro(FileName);
00065
00067
00068 vtkGetStringMacro(MapLabel);
00070
00072
00073 vtkGetMacro(DEMLevel,int);
00075
00077
00078 vtkGetMacro(ElevationPattern, int);
00080
00082
00083 vtkGetMacro(GroundSystem, int);
00085
00087
00088 vtkGetMacro(GroundZone, int);
00090
00092
00093 vtkGetVectorMacro(ProjectionParameters,float,15);
00095
00097
00100 vtkGetMacro(PlaneUnitOfMeasure, int);
00102
00104
00106 vtkGetMacro(ElevationUnitOfMeasure, int);
00108
00110
00112 vtkGetMacro(PolygonSize, int);
00114
00116
00118 vtkGetVectorMacro(ElevationBounds,float,2);
00120
00122
00125 vtkGetMacro(LocalRotation, float);
00127
00129
00130 vtkGetMacro(AccuracyCode, int);
00132
00134
00137 vtkGetVectorMacro(SpatialResolution,float,3);
00139
00141
00142 vtkGetVectorMacro(ProfileDimension,int,2);
00144
00148 void ExecuteInformation();
00149
00150 protected:
00151 vtkDEMReader();
00152 ~vtkDEMReader();
00153
00154 vtkTimeStamp ReadHeaderTime;
00155 int NumberOfColumns;
00156 int NumberOfRows;
00157 int WholeExtent[6];
00158 char *FileName;
00159 char MapLabel[145];
00160 int DEMLevel;
00161 int ElevationPattern;
00162 int GroundSystem;
00163 int GroundZone;
00164 float ProjectionParameters[15];
00165 int PlaneUnitOfMeasure;
00166 int ElevationUnitOfMeasure;
00167 int PolygonSize;
00168 float GroundCoords[4][2];
00169 float ElevationBounds[2];
00170 float LocalRotation;
00171 int AccuracyCode;
00172 float SpatialResolution[3];
00173 int ProfileDimension[2];
00174 int ProfileSeekOffset;
00175 void ComputeExtentOriginAndSpacing (int extent[6], float origin[6], float spacing[6]);
00176 int ReadTypeARecord ();
00177 int ReadProfiles (vtkImageData *data);
00178 void ExecuteData(vtkDataObject *out);
00179 private:
00180 vtkDEMReader(const vtkDEMReader&);
00181 void operator=(const vtkDEMReader&);
00182 };
00183
00184 #endif
00185