VTK
vtkQtStackedChartView.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkQtStackedChartView.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 ----------------------------------------------------------------------------*/
19 
20 #ifndef _vtkQtStackedChartView_h
21 #define _vtkQtStackedChartView_h
22 
23 #include "QVTKWin32Header.h"
24 #include "vtkQtChartView.h"
25 #include <QPointer>
26 
27 class vtkQtStackedChart;
30 
31 class QVTK_EXPORT vtkQtStackedChartView : public vtkQtChartView
32 {
33 Q_OBJECT
34 
35 public:
36  static vtkQtStackedChartView *New();
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
40  // Description:
41  // Updates the view.
42  virtual void Update();
43 
44  // Description:
45  // Sets the stacked chart help format.
46  void SetHelpFormat(const char* format);
47 
48  // Description:
49  // Sets whether or not the stacked chart sumation is normalized.
50  void SetSumNormalized(bool normalized);
51 
52  // Description:
53  // Sets whether or not the stacked chart is drawn with a gradient.
54  void SetGradientDisplayed(bool gradient);
55 
56  // Description:
57  // Adds stacked chart selection handlers to the mouse selection.
59 
60  // Description:
61  // Gets the chart series layer
63 
64  // Description:
65  // Gets the stacked chart series model.
67 
68  // Description:
69  // Gets the stacked chart series options.
71 
72 protected:
75 
76 protected:
79 
80 private:
81  vtkQtStackedChartView(const vtkQtStackedChartView&); // Not implemented.
82  void operator=(const vtkQtStackedChartView&); // Not implemented.
83 };
84 
85 #endif
vtkQtChartSeriesModelCollection * StackedModel
The vtkQtStackedChart class is used to display a stacked chart.
virtual vtkQtChartSeriesOptions * GetChartSeriesOptions(int series)=0
static vtkView * New()
virtual vtkQtChartSeriesModelCollection * GetChartSeriesModel()=0
void PrintSelf(ostream &os, vtkIndent indent)
virtual void AddChartSelectionHandlers(vtkQtChartMouseSelection *selector)
vtkQtStackedChart * StackedChart
a simple class to control print indentation
Definition: vtkIndent.h:37
The vtkQtChartSeriesLayer class is the base class for chart layers that use the chart series model...
The vtkQtChartSeriesOptions class stores the common series drawing options.
The vtkQtChartSeriesModelCollection class is used to combine chart series models. ...
virtual vtkQtChartSeriesLayer * GetChartSeriesLayer()=0
virtual void Update()
Wraps a vtkQtChartArea into a VTK view.
The vtkQtChartMouseSelection class is used to select chart elements based on the current selection mo...