00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkQtStatisticalBoxChartView.h,v $ 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 00020 #ifndef __vtkQtStatisticalBoxChartView_h 00021 #define __vtkQtStatisticalBoxChartView_h 00022 00023 #include "vtkQtChartViewBase.h" 00024 00025 class vtkQtStatisticalBoxChart; 00026 class vtkQtChartSeriesModelCollection; 00027 00028 class QVTK_EXPORT vtkQtStatisticalBoxChartView : public vtkQtChartViewBase 00029 { 00030 public: 00031 static vtkQtStatisticalBoxChartView *New(); 00032 vtkTypeRevisionMacro(vtkQtStatisticalBoxChartView, vtkQtChartViewBase); 00033 void PrintSelf(ostream& os, vtkIndent indent); 00034 00035 // Description: 00036 // Updates the view. 00037 virtual void Update(); 00038 00039 // Description: 00040 // Sets the box help format. 00041 void SetHelpFormat(const char* format); 00042 00043 // Description: 00044 // Sets the outlier help format. 00045 void SetOutlierFormat(const char* format); 00046 00047 // Description: 00048 // Sets the box outline style. 00049 void SetOutlineStyle(int outline); 00050 00051 // Description: 00052 // Sets the box width fraction. 00053 void SetBoxWidthFraction(float fraction); 00054 00055 //BTX 00056 // Description: 00057 // Adds box chart selection handlers to the mouse selection. 00058 virtual void AddChartSelectionHandlers(vtkQtChartMouseSelection* selector); 00059 00060 // Description: 00061 // Gets the statistical box chart series model. 00062 virtual vtkQtChartSeriesModelCollection* GetChartSeriesModel(); 00063 //ETX 00064 00065 protected: 00066 vtkQtStatisticalBoxChartView(); 00067 ~vtkQtStatisticalBoxChartView(); 00068 00069 protected: 00070 vtkQtStatisticalBoxChart *BoxChart; 00071 vtkQtChartSeriesModelCollection *BoxModel; 00072 00073 private: 00074 vtkQtStatisticalBoxChartView(const vtkQtStatisticalBoxChartView&); // Not implemented. 00075 void operator=(const vtkQtStatisticalBoxChartView&); // Not implemented. 00076 }; 00077 00078 #endif