Changeset 2707 for GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface
- Timestamp:
- 05/24/08 22:40:42 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp
r2706 r2707 333 333 char filename[256]; 334 334 //sprintf(filename, "error-frame-%04d-%0.5f.png", mFrame, pErrorPixels); 335 sprintf _s(filename, "error-frame-%04d-%04d-%08d.png", mFrame, viewcell->GetId(), pixelCount);335 sprintf(filename, "error-frame-%04d-%04d-%08d.png", mFrame, viewcell->GetId(), pixelCount); 336 336 QImage im = toImage(); 337 337 string str = mSnapPrefix + filename; … … 367 367 368 368 im = toImage(); 369 sprintf _s(filename, "error-frame-%04d-%04d-%08d-pvs.png", mFrame, viewcell->GetId(), pixelCount);369 sprintf(filename, "error-frame-%04d-%04d-%08d-pvs.png", mFrame, viewcell->GetId(), pixelCount); 370 370 str = mSnapPrefix + filename; 371 371 qstr = str.c_str(); … … 1043 1043 break; 1044 1044 1045 if (sscanf _s(text.toAscii(), "%f %f %f", &mViewPoint.x, &mViewPoint.y, &mViewPoint.z) == 3) {1045 if (sscanf(text.toAscii(), "%f %f %f", &mViewPoint.x, &mViewPoint.y, &mViewPoint.z) == 3) { 1046 1046 text.sprintf("%f %f %f", mViewDirection.x, mViewDirection.y, mViewDirection.z); 1047 1047 text = QInputDialog::getText(this, … … 1053 1053 if (!ok) 1054 1054 break; 1055 if (sscanf _s(text.toAscii(), "%f %f %f", &mViewDirection.x,1055 if (sscanf(text.toAscii(), "%f %f %f", &mViewDirection.x, 1056 1056 &mViewDirection.y, &mViewDirection.z) == 3) { 1057 1057 updateGL(); … … 2194 2194 #endif 2195 2195 2196 #if 02196 #if 1 2197 2197 QGroupBox *groupBox4 = CreateTrafoPanel(hbox); 2198 2198 vh->addWidget(groupBox4, 0, 0);
Note: See TracChangeset
for help on using the changeset viewer.