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
virtual bool AddToView(vtkView *vtkNotUsed(view))
The vtkQtChartTableSeriesModel class is a chart series model proxy for a QAbstractItemModel table...
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:42
The superclass for all views.
Definition: vtkView.h:61
vtkQtChartSeriesOptionsModel is the base class for all chart series options models.
a simple class to control print indentation
Definition: vtkIndent.h:37
virtual bool RemoveFromView(vtkView *vtkNotUsed(view))
static vtkDataRepresentation * New()
void PrintSelf(ostream &os, vtkIndent indent)
A representation for displaying a vtkTable in a vtkQtChartView.
set up a vtkTable in a Qt model