Changeset 1966 for GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface
- Timestamp:
- 01/10/07 21:32:50 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp
r1948 r1966 692 692 updateGL(); 693 693 break; 694 694 case Qt::Key_S: { 695 // set view poitn and direction 696 QString text; 697 bool ok; 698 text.sprintf("%f %f %f", mViewPoint.x, mViewPoint.y, mViewPoint.z); 699 text = QInputDialog::getText(this, 700 "Enter a view point", 701 "", 702 QLineEdit::Normal, 703 text, 704 &ok); 705 if (!ok) 706 break; 707 QTextStream ts(&text); 708 ts>>mViewPoint.x>>mViewPoint.y>>mViewPoint.z; 709 mViewCellsManager->GetViewPoint(mViewPoint); 710 updateGL(); 711 break; 712 } 695 713 default: 696 714 e->ignore();
Note: See TracChangeset
for help on using the changeset viewer.