Changeset 11783 for trunk/FACT++/gui/QCameraWidget.cc
- Timestamp:
- 08/05/11 13:24:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/QCameraWidget.cc
r11779 r11783 12 12 fMin = -1; 13 13 fMax = -1; 14 CalculatePixelsColor(); 14 15 } 15 16 void QCameraWidget::paintGL() … … 154 155 void QCameraWidget::SetData(const valarray<double> &ddata) 155 156 { 156 double min, max;157 for (int i=0;i<ACTUAL_NUM_PIXELS;i++)158 fData[i] = ddata[i];157 fData = data; 158 // for (int i=0;i<ACTUAL_NUM_PIXELS;i++) 159 // fData[i] = ddata[i]; 159 160 CalculatePixelsColor(); 160 161 }
Note:
See TracChangeset
for help on using the changeset viewer.