VTK
vtkQtBarChartView.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkQtBarChartView.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 ----------------------------------------------------------------------------*/
35 #ifndef __vtkQtBarChartView_h
36 #define __vtkQtBarChartView_h
37 
38 #include "QVTKWin32Header.h"
39 #include "vtkQtChartView.h"
40 
41 class vtkQtBarChart;
44 
45 class QVTK_EXPORT vtkQtBarChartView : public vtkQtChartView
46 {
47 Q_OBJECT
48 
49 public:
50  static vtkQtBarChartView *New();
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
55  virtual void Update();
56 
58  void SetHelpFormat(const char* format);
59 
61  void SetOutlineStyle(int outline);
62 
64  void SetBarGroupFraction(float fraction);
65 
67  void SetBarWidthFraction(float fraction);
68 
71 
74 
77 
80 
81 protected:
84 
87 
88 private:
89  vtkQtBarChartView(const vtkQtBarChartView&); // Not implemented.
90  void operator=(const vtkQtBarChartView&); // Not implemented.
91 };
92 
93 #endif
virtual vtkQtChartSeriesOptions * GetChartSeriesOptions(int series)=0
static vtkView * New()
vtkQtChartSeriesModelCollection * BarModel
virtual vtkQtChartSeriesModelCollection * GetChartSeriesModel()=0
void PrintSelf(ostream &os, vtkIndent indent)
virtual void AddChartSelectionHandlers(vtkQtChartMouseSelection *selector)
Wraps a vtkQtChartArea into a VTK view.
a simple class to control print indentation
Definition: vtkIndent.h:37
The vtkQtBarChart class is used to display a bar chart.
Definition: vtkQtBarChart.h:38
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.
vtkQtBarChart * BarChart
The vtkQtChartMouseSelection class is used to select chart elements based on the current selection mo...