FACT++  1.0
void RawDataViewer::mouseMoveEvent ( QMouseEvent *  event)
protectedvirtual

Reimplemented from BasicGlCamera.

Definition at line 536 of file RawEventsViewer.cc.

References lastPos, and setCorrectSlice().

Referenced by getCurrentPixel().

537 {
538  if (cEvent->buttons() & Qt::LeftButton) {
539  setCorrectSlice(cEvent);
540  updateGL();
541  } else if (cEvent->buttons() & Qt::RightButton) {
542  updateGL();
543  }
544  lastPos = cEvent->pos();
545 }
bool setCorrectSlice(QMouseEvent *event)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: