00001 /* -*- Mode: C++; -*- */ 00002 00003 /*========================================================================= 00004 00005 Program: Visualization Toolkit 00006 Module: $RCSfile: vtkQtChartStyleGenerator.h,v $ 00007 00008 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00009 All rights reserved. 00010 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notice for more information. 00015 00016 =========================================================================*/ 00017 /*------------------------------------------------------------------------- 00018 Copyright 2008 Sandia Corporation. 00019 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, 00020 the U.S. Government retains certain rights in this software. 00021 -------------------------------------------------------------------------*/ 00022 00025 00026 #ifndef __vtkQtChartStyleGenerator_h 00027 #define __vtkQtChartStyleGenerator_h 00028 00029 #include "vtkQtChartExport.h" 00030 #include <QObject> 00031 #include <QBrush> // Needed for return value. 00032 #include <QPen> // Needed for return value. 00033 00034 00039 class VTKQTCHART_EXPORT vtkQtChartStyleGenerator : public QObject 00040 { 00041 Q_OBJECT 00042 00043 public: 00047 vtkQtChartStyleGenerator(QObject *parent=0); 00048 virtual ~vtkQtChartStyleGenerator() {} 00049 00055 virtual QBrush getSeriesBrush(int index) const = 0; 00056 00062 virtual QPen getSeriesPen(int index) const = 0; 00063 }; 00064 00065 #endif 00066