00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkQtChartAxisDomainPriority.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 /*------------------------------------------------------------------------- 00016 Copyright 2008 Sandia Corporation. 00017 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, 00018 the U.S. Government retains certain rights in this software. 00019 -------------------------------------------------------------------------*/ 00020 00023 00024 #ifndef _vtkQtChartAxisDomainPriority_h 00025 #define _vtkQtChartAxisDomainPriority_h 00026 00027 #include "vtkQtChartExport.h" 00028 #include <QList> // Needed for parameter and return type. 00029 00030 00035 class VTKQTCHART_EXPORT vtkQtChartAxisDomainPriority 00036 { 00037 public: 00038 enum DomainType 00039 { 00040 Number = 0, 00041 Date, 00042 Time, 00043 String 00044 }; 00045 00046 public: 00047 vtkQtChartAxisDomainPriority(); 00048 vtkQtChartAxisDomainPriority(const vtkQtChartAxisDomainPriority &other); 00049 ~vtkQtChartAxisDomainPriority() {} 00050 00055 QList<int> getDefaultOrder() const; 00056 00061 const QList<int> &getOrder() const {return this->Order;} 00062 00066 void setOrder(const QList<int> &order); 00067 00068 vtkQtChartAxisDomainPriority &operator=( 00069 const vtkQtChartAxisDomainPriority &other); 00070 bool operator==(const vtkQtChartAxisDomainPriority &other) const; 00071 bool operator!=(const vtkQtChartAxisDomainPriority &other) const; 00072 00073 private: 00074 QList<int> Order; 00075 }; 00076 00077 #endif