00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00023
00024 #ifndef _vtkQtChartAxisCornerDomain_h
00025 #define _vtkQtChartAxisCornerDomain_h
00026
00027 #include "vtkQtChartExport.h"
00028 #include "vtkQtChartAxis.h"
00029
00030 class vtkQtChartAxisCornerDomainInternal;
00031 class vtkQtChartAxisDomainPriority;
00032 class vtkQtChartSeriesDomain;
00033
00034
00039 class VTKQTCHART_EXPORT vtkQtChartAxisCornerDomain
00040 {
00041 public:
00042 vtkQtChartAxisCornerDomain();
00043 vtkQtChartAxisCornerDomain(const vtkQtChartAxisCornerDomain &other);
00044 ~vtkQtChartAxisCornerDomain();
00045
00054 int getNumberOfDomains() const;
00055
00061 const vtkQtChartSeriesDomain *getDomain(int index) const;
00062
00068 vtkQtChartSeriesDomain *getDomain(int index);
00069
00076 const vtkQtChartSeriesDomain *getDomain(
00077 const vtkQtChartAxisDomainPriority &xPriority,
00078 const vtkQtChartAxisDomainPriority &yPriority) const;
00079
00086 const vtkQtChartSeriesDomain *getDomain(
00087 vtkQtChartAxis::AxisDomain xDomain,
00088 const vtkQtChartAxisDomainPriority &yPriority) const;
00089
00096 const vtkQtChartSeriesDomain *getDomain(
00097 const vtkQtChartAxisDomainPriority &xPriority,
00098 vtkQtChartAxis::AxisDomain yDomain) const;
00099
00107 const vtkQtChartSeriesDomain *getDomain(
00108 vtkQtChartAxis::AxisDomain xDomain,
00109 vtkQtChartAxis::AxisDomain yDomain, int *index=0) const;
00110
00123 bool mergeDomain(const vtkQtChartSeriesDomain &domain, int *index=0);
00124
00128 void removeDomain(int index);
00129
00131 void clear();
00132
00138 void setHorizontalPreferences(bool padRange, bool expandToZero,
00139 bool addSpace);
00140
00146 void setVerticalPreferences(bool padRange, bool expandToZero,
00147 bool addSpace);
00148
00149 vtkQtChartAxisCornerDomain &operator=(
00150 const vtkQtChartAxisCornerDomain &other);
00151
00152 private:
00153 vtkQtChartAxisCornerDomainInternal *Internal;
00154 };
00155
00156 #endif