nuclear@29: #include "ui_xferview.h" nuclear@29: #include "volray.h" nuclear@29: nuclear@29: XFerView::XFerView(QGLWidget *share_widget) nuclear@29: : QGLWidget(QGLFormat(QGL::DoubleBuffer), 0, share_widget) nuclear@29: { nuclear@29: } nuclear@29: nuclear@29: QSize XFerView::minimumSizeHint() const nuclear@29: { nuclear@29: return QSize(160, 100); nuclear@29: } nuclear@29: nuclear@29: void XFerView::initializeGL() nuclear@29: { nuclear@29: } nuclear@29: nuclear@29: void XFerView::resizeGL(int xsz, int ysz) nuclear@29: { nuclear@29: glViewport(0, 0, xsz, ysz); nuclear@29: } nuclear@29: nuclear@29: void XFerView::paintGL() nuclear@29: { nuclear@29: volray_draw_xfer(); nuclear@29: }