VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkQtStatisticalBoxChartView.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 (c) Sandia Corporation 00017 See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. 00018 ----------------------------------------------------------------------------*/ 00019 00030 #ifndef __vtkQtStatisticalBoxChartView_h 00031 #define __vtkQtStatisticalBoxChartView_h 00032 00033 #include "QVTKWin32Header.h" 00034 #include "vtkQtChartView.h" 00035 #include <QPointer> 00036 00037 class vtkQtStatisticalBoxChart; 00038 class vtkQtChartSeriesModelCollection; 00039 class vtkQtChartSeriesOptions; 00040 00041 class QVTK_EXPORT vtkQtStatisticalBoxChartView : public vtkQtChartView 00042 { 00043 Q_OBJECT 00044 00045 public: 00046 static vtkQtStatisticalBoxChartView *New(); 00047 vtkTypeMacro(vtkQtStatisticalBoxChartView, vtkQtChartView); 00048 void PrintSelf(ostream& os, vtkIndent indent); 00049 00051 virtual void Update(); 00052 00054 void SetHelpFormat(const char* format); 00055 00057 void SetOutlierFormat(const char* format); 00058 00060 void SetOutlineStyle(int outline); 00061 00063 void SetBoxWidthFraction(float fraction); 00064 00066 virtual void AddChartSelectionHandlers(vtkQtChartMouseSelection* selector); 00067 00069 virtual vtkQtChartSeriesModelCollection* GetChartSeriesModel(); 00070 00072 virtual vtkQtChartSeriesLayer* GetChartSeriesLayer(); 00073 00075 virtual vtkQtChartSeriesOptions* GetChartSeriesOptions(int series); 00076 00077 protected: 00078 vtkQtStatisticalBoxChartView(); 00079 ~vtkQtStatisticalBoxChartView(); 00080 00081 protected: 00082 vtkQtStatisticalBoxChart *BoxChart; 00083 vtkQtChartSeriesModelCollection *BoxModel; 00084 00085 private: 00086 vtkQtStatisticalBoxChartView(const vtkQtStatisticalBoxChartView&); // Not implemented. 00087 void operator=(const vtkQtStatisticalBoxChartView&); // Not implemented. 00088 }; 00089 00090 #endif