sliceRenderer.h

Go to the documentation of this file.
00001 
00013 #ifndef __SLICERENDERER__
00014 #define __SLICERENDERER__
00015 #pragma once
00016 
00017 #include <QDockWidget>
00018 #include <QApplication>
00019 #include <QFont>
00020 #include <QPushButton>
00021 #include <QGridLayout>
00022 #include <QPainter>
00023 #include <QDialog>
00024 #include <QtDebug>
00025 #include "Volume.h"
00026 
00027 #include "globals.h"
00028 
00033 class SliceRenderer : 
00034         public QDialog
00035 {
00036 
00037 public:
00038         SliceRenderer(QWidget *parent = 0);
00039         unsigned short XDim, YDim, *data;
00040 
00041 
00042         void makeSlice(DIMENSION d, int SliceNumber);
00044         void updateSlice();
00046         void            redraw();
00049 protected:
00050      void paintEvent(QPaintEvent *event);
00053 private:
00054         bool antialiased;
00055         int XSlice, YSlice, ZSlice;
00056         QGridLayout *layout;
00057         Volume* pSlice;
00058         QImage image;
00059         DIMENSION currentDIM;
00060         int currentSlice;
00061 };
00062 
00063 #endif

Generated on Wed Dec 7 14:42:11 2005 for VisUE by  doxygen 1.4.5