Changeset 8127 in ntrip for trunk/BNC/qwt/qwt_raster_data.cpp
- Timestamp:
- May 10, 2017, 3:20:54 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/qwt/qwt_raster_data.cpp
r4271 r8127 10 10 #include "qwt_raster_data.h" 11 11 #include "qwt_point_3d.h" 12 #include <qnumeric.h> 12 13 13 14 class QwtRasterData::ContourPlane … … 94 95 case 6: 95 96 // e(-1,1,0), e(1,0,-1) 96 line[0] = vertex[ 1].toPoint();97 line[0] = vertex[2].toPoint(); 97 98 line[1] = intersection( vertex[0], vertex[1] ); 98 99 break; … … 181 182 \brief Initialize a raster 182 183 183 Before the composition of an image QwtPlotSpectrogram calls initRaster ,184 Before the composition of an image QwtPlotSpectrogram calls initRaster(), 184 185 announcing the area and its resolution that will be requested. 185 186 186 187 The default implementation does nothing, but for data sets that 187 are stored in files, it might be good idea to reimplement initRaster ,188 are stored in files, it might be good idea to reimplement initRaster(), 188 189 where the data is resampled and loaded into memory. 189 190 … … 221 222 222 223 Width and height of the hint need to be the horizontal 223 and vertical distances between 2 neighbo ured points.224 and vertical distances between 2 neighbored points. 224 225 The center of the hint has to be the position of any point 225 226 ( it doesn't matter which one ). … … 247 248 /*! 248 249 Calculate contour lines 250 251 \param rect Bounding rectangle for the contour lines 252 \param raster Number of data pixels of the raster data 253 \param levels List of limits, where to insert contour lines 254 \param flags Flags to customize the contouring algorithm 255 256 \return Calculated contour lines 249 257 250 258 An adaption of CONREC, a simple contouring algorithm. … … 337 345 if ( z > zMax ) 338 346 zMax = z; 347 } 348 349 if ( qIsNaN( zSum ) ) 350 { 351 // one of the points is NaN 352 continue; 339 353 } 340 354
Note:
See TracChangeset
for help on using the changeset viewer.