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