Ignore:
Timestamp:
05/24/08 22:40:42 (16 years ago)
Author:
bittner
Message:

shaft culling for dynamic updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/QtGlRenderer.cpp

    r2706 r2707  
    333333                        char filename[256]; 
    334334                        //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); 
    336336                        QImage im = toImage(); 
    337337                        string str = mSnapPrefix + filename; 
     
    367367 
    368368                                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); 
    370370                                str = mSnapPrefix + filename; 
    371371                                qstr = str.c_str(); 
     
    10431043                        break; 
    10441044 
    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) { 
    10461046                        text.sprintf("%f %f %f", mViewDirection.x, mViewDirection.y, mViewDirection.z); 
    10471047                        text = QInputDialog::getText(this, 
     
    10531053                        if (!ok) 
    10541054                                break; 
    1055                         if (sscanf_s(text.toAscii(), "%f %f %f", &mViewDirection.x, 
     1055                        if (sscanf(text.toAscii(), "%f %f %f", &mViewDirection.x, 
    10561056                                &mViewDirection.y, &mViewDirection.z) == 3) { 
    10571057                                        updateGL(); 
     
    21942194#endif 
    21952195 
    2196 #if 0 
     2196#if 1 
    21972197        QGroupBox *groupBox4 = CreateTrafoPanel(hbox); 
    21982198        vh->addWidget(groupBox4, 0, 0); 
Note: See TracChangeset for help on using the changeset viewer.