Changeset 12104 for trunk/FACT++/gui/RawEventsViewer
- Timestamp:
- 09/15/11 13:26:39 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc
r12103 r12104 215 215 if (!alsoWire) 216 216 return; 217 glTranslatef(0,0,0.1f); 217 218 glColor3f(0.0f,0.0f,0.0f); 218 219 for (int i=0;i<ACTUAL_NUM_PIXELS;i++) … … 518 519 void RawDataViewer::paintGL() 519 520 { 520 glClear(GL_COLOR_BUFFER_BIT );521 glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); 521 522 glLoadIdentity(); 522 523 524 glTranslatef(0,0,-0.5); 523 525 524 526 if (drawBlur) … … 532 534 drawCamera(true); 533 535 } 536 glTranslatef(0,0,0.1f); 534 537 if (drawPatch) 535 538 drawPatches(); 536 539 glTranslatef(0,0,0.1f); 537 540 if (!drawBlur) 538 541 { … … 541 544 drawHexagon(selectedPixel, false); 542 545 } 546 glTranslatef(0,0,0.1f); 543 547 if (drawImpulse) 544 548 { … … 548 552 drawPixelCurve(); 549 553 } 550 554 glTranslatef(0,0,0.1f); 551 555 DrawScale(); 552 556 }
Note:
See TracChangeset
for help on using the changeset viewer.