VTK
vtkQtChartRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkQtChartRepresentation.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*----------------------------------------------------------------------------
16  Copyright (c) Sandia Corporation
17  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
18 ----------------------------------------------------------------------------*/
32 #ifndef __vtkQtChartRepresentation_h
33 #define __vtkQtChartRepresentation_h
34 
36 class vtkIntArray;
39 
41 {
42 public:
43  static vtkQtChartRepresentation *New();
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
48  vtkQtChartTableSeriesModel* GetSeriesModel();
49 
50 
52 
55  void SetOptionsModel(vtkQtChartSeriesOptionsModel*);
56  vtkQtChartSeriesOptionsModel* GetOptionsModel();
58 
61  int GetNumberOfSeries();
62 
66  const char* GetSeriesName(int series);
67 
69 
71  void SetColumnsAsSeries(bool);
72  vtkGetMacro(ColumnsAsSeries,int);
74 
75 protected:
78 
81  bool AddToView(vtkView* view);
82 
85  bool RemoveFromView(vtkView* view);
86 
88 
89 private:
90 
91  class vtkInternal;
92  vtkInternal* Internal;
93 
94  vtkQtChartRepresentation(const vtkQtChartRepresentation&); // Not implemented.
95  void operator=(const vtkQtChartRepresentation&); // Not implemented.
96 };
97 
98 #endif