Changeset 14793 for trunk/FACT++/gui/Q3DCameraWidget.cc
- Timestamp:
- 01/28/13 12:33:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/Q3DCameraWidget.cc
r14791 r14793 31 31 _z[i] = 0; 32 32 } 33 _warningWritten = false; 33 34 } 34 35 Q3DCameraWidget::~Q3DCameraWidget() … … 163 164 void Q3DCameraWidget::setData(float* ddata) 164 165 { 165 cout << "Info : 3D plotter disabled. requires more work so that less than 300 slices per pixel can be loaded" << endl; 166 cout << "Contact Etienne (etienne.lyard@unige.ch) for more information." << endl; 167 //disabled for now as I am working with 150 slices only 166 if (!_warningWritten) 167 { 168 _warningWritten = true; 169 cout << "Info : 3D plotter disabled. requires more work so that less than 300 slices per pixel can be loaded" << endl; 170 cout << "Contact Etienne (etienne.lyard@unige.ch) for more information." << endl; 171 } 172 //disabled for now as I am working with 150 slices only 168 173 /* for (int i=0;i<1440;i++) 169 174 for (int j=0;j<300;j++) … … 176 181 void Q3DCameraWidget::setData(short* ddata) 177 182 { 178 cout << "Info : 3D plotter disabled. requires more work so that less than 300 slices per pixel can be loaded" << endl; 179 cout << "Contact Etienne (etienne.lyard@unige.ch) for more information." << endl; 180 /* for (int i=0;i<1440;i++) 183 if (!_warningWritten) 184 { 185 _warningWritten = true; 186 cout << "Info : 3D plotter disabled. requires more work so that less than 300 slices per pixel can be loaded" << endl; 187 cout << "Contact Etienne (etienne.lyard@unige.ch) for more information." << endl; 188 } 189 /* for (int i=0;i<1440;i++) 181 190 for (int j=0;j<300;j++) 182 191 _data[i*300+j] = ddata[i* 300 + j];
Note:
See TracChangeset
for help on using the changeset viewer.