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 
00060   //BTX
00062   virtual void AddChartSelectionHandlers(vtkQtChartMouseSelection* selector);
00063 
00065   virtual vtkQtChartSeriesModelCollection* GetChartSeriesModel();
00066 
00068 
00069   virtual vtkQtChartSeriesLayer* GetChartSeriesLayer();
00070   //ETX
00072 
00074   virtual vtkQtChartSeriesOptions* GetChartSeriesOptions(int series);
00075 
00076 protected:
00077   vtkQtLineChartView();
00078   ~vtkQtLineChartView();
00079 
00080   vtkQtLineChart *LineChart;
00081   vtkQtChartSeriesModelCollection *LineModel;
00082 
00083 private:
00084   vtkQtLineChartView(const vtkQtLineChartView&);  // Not implemented.
00085   void operator=(const vtkQtLineChartView&);  // Not implemented.
00086 };
00087 
00088 #endif