• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

include/DGVPlotVTK.h

Go to the documentation of this file.
00001 
00022 #ifndef DGVPLOTVTK_H
00023 #define DGVPLOTVTK_H
00024 
00025 #include "QVTKWidget.h"
00026 #include "vtkRenderer.h"
00027 #include "vtkRenderWindow.h"
00028 #include "vtkXYPlotActor.h"
00029 #include "vtkImageData.h"
00030 
00031 #include "DGVAliases.h"
00032 
00050 class DGV_VTK_EXPORT DGVPlotVTK : public QVTKWidget
00051 {
00052     Q_OBJECT
00053 
00054 public:
00059     DGVPlotVTK(QWidget *parent = 0);
00064     virtual ~DGVPlotVTK();
00065 
00070         void setName(QString filename);
00075     void setData(vtkImageData *data);
00080     void setRanges(double xmin, double xmax, double ymin, double ymax);
00085     void generatePlot();
00086 
00091         QString strippedName();
00096         QString strippedNamePrefix();
00097 
00098 protected:
00099     QString name; 
00100     bool loaded; 
00101 
00102     vtkXYPlotActor *plotActor; 
00103 
00104     vtkRenderer *renderer; 
00105     vtkRenderWindow *renderWin; 
00106 };
00107 
00108 #endif // DGVPLOTVTK_H

Generated on Wed Sep 8 2010 01:36:51 for DGV by  doxygen 1.7.1