VTK
vtkQtChartAxisDomainPriority.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkQtChartAxisDomainPriority.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 _vtkQtChartAxisDomainPriority_h
25 #define _vtkQtChartAxisDomainPriority_h
26 
27 #include "vtkQtChartExport.h"
28 #include <QList> // Needed for parameter and return type.
29 
30 
35 class VTKQTCHART_EXPORT vtkQtChartAxisDomainPriority
36 {
37 public:
39  {
40  Number = 0,
41  Date,
42  Time,
43  String
44  };
45 
46 public:
50 
55  QList<int> getDefaultOrder() const;
56 
61  const QList<int> &getOrder() const {return this->Order;}
62 
66  void setOrder(const QList<int> &order);
67 
69  const vtkQtChartAxisDomainPriority &other);
70  bool operator==(const vtkQtChartAxisDomainPriority &other) const;
71  bool operator!=(const vtkQtChartAxisDomainPriority &other) const;
72 
73 private:
74  QList<int> Order;
75 };
76 
77 #endif