VTK
vtkQtStatisticalBoxChartOptions.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkQtStatisticalBoxChartOptions.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 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
20 
23 
24 #ifndef _vtkQtStatisticalBoxChartOptions_h
25 #define _vtkQtStatisticalBoxChartOptions_h
26 
27 #include "vtkQtChartExport.h"
28 #include <QObject>
29 
30 #include "vtkQtChartLayer.h" // needed for enum
31 
33 
34 
44 class VTKQTCHART_EXPORT vtkQtStatisticalBoxChartOptions : public QObject
45 {
46  Q_OBJECT
47 
48 public:
50  {
52  Black
53  };
54 
55 public:
59  vtkQtStatisticalBoxChartOptions(QObject *parent=0);
60 
65  const vtkQtStatisticalBoxChartOptions &other);
67 
72  vtkQtChartLayer::AxesCorner getAxesCorner() const {return this->AxesCorner;}
73 
77  void setAxesCorner(vtkQtChartLayer::AxesCorner axes);
78 
87  float getBoxWidthFraction() const {return this->BoxFraction;}
88 
92  void setBoxWidthFraction(float fraction);
93 
98  OutlineStyle getOutlineStyle() const {return this->OutlineType;}
99 
106  void setOutlineStyle(OutlineStyle style);
107 
116  vtkQtChartHelpFormatter *getHelpFormat() {return this->Help;}
117 
122  const vtkQtChartHelpFormatter *getHelpFormat() const {return this->Help;}
123 
132  vtkQtChartHelpFormatter *getOutlierFormat() {return this->Outlier;}
133 
138  const vtkQtChartHelpFormatter *getOutlierFormat() const {return this->Outlier;}
139 
146  const vtkQtStatisticalBoxChartOptions &other);
147 
148 signals:
150  void axesCornerChanged();
151 
153  void boxFractionChanged();
154 
156  void outlineStyleChanged();
157 
158 private:
159  vtkQtChartLayer::AxesCorner AxesCorner;
160  OutlineStyle OutlineType;
162  vtkQtChartHelpFormatter *Outlier;
163  float BoxFraction;
164 };
165 
166 #endif