VTK
dox/GUISupport/Qt/vtkQtLineChartView.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkQtLineChartView.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 /*----------------------------------------------------------------------------
00016  Copyright (c) Sandia Corporation
00017  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
00018 ----------------------------------------------------------------------------*/
00035 #ifndef __vtkQtLineChartView_h
00036 #define __vtkQtLineChartView_h
00037 
00038 #include "QVTKWin32Header.h"
00039 #include "vtkQtChartView.h"
00040 
00041 class vtkQtLineChart;
00042 class vtkQtChartSeriesModelCollection;
00043 class vtkQtChartSeriesOptions;
00044 
00045 class QVTK_EXPORT vtkQtLineChartView : public vtkQtChartView
00046 {
00047 Q_OBJECT
00048 
00049 public:
00050   static vtkQtLineChartView *New();
00051   vtkTypeMacro(vtkQtLineChartView, vtkQtChartView);
00052   void PrintSelf(ostream& os, vtkIndent indent);
00053 
00055   virtual void Update();
00056 
00058   void SetHelpFormat(const char* format);
00059 
00061   virtual void AddChartSelectionHandlers(vtkQtChartMouseSelection* selector);
00062 
00064   virtual vtkQtChartSeriesModelCollection* GetChartSeriesModel();
00065 
00067   virtual vtkQtChartSeriesLayer* GetChartSeriesLayer();
00068 
00070   virtual vtkQtChartSeriesOptions* GetChartSeriesOptions(int series);
00071 
00072 protected:
00073   vtkQtLineChartView();
00074   ~vtkQtLineChartView();
00075 
00076   vtkQtLineChart *LineChart;
00077   vtkQtChartSeriesModelCollection *LineModel;
00078 
00079 private:
00080   vtkQtLineChartView(const vtkQtLineChartView&);  // Not implemented.
00081   void operator=(const vtkQtLineChartView&);  // Not implemented.
00082 };
00083 
00084 #endif