use a switch statement for DepthViewWindow::mousePressEvent()