• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/GUISupport/Qt/vtkQtBarChartView.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkQtBarChartView.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 ----------------------------------------------------------------------------*/
00032 #ifndef __vtkQtBarChartView_h
00033 #define __vtkQtBarChartView_h
00034 
00035 #include "vtkQtChartViewBase.h"
00036 
00037 class vtkQtBarChart;
00038 class vtkQtChartSeriesModelCollection;
00039 
00040 class QVTK_EXPORT vtkQtBarChartView : public vtkQtChartViewBase
00041 {
00042 public:
00043   static vtkQtBarChartView *New();
00044   vtkTypeRevisionMacro(vtkQtBarChartView, vtkQtChartViewBase);
00045   void PrintSelf(ostream& os, vtkIndent indent);
00046 
00048   virtual void Update();
00049 
00051   void SetHelpFormat(const char* format);
00052 
00054   void SetOutlineStyle(int outline);
00055 
00057   void SetBarGroupFraction(float fraction);
00058 
00060   void SetBarWidthFraction(float fraction);
00061 
00062   //BTX
00064   virtual void AddChartSelectionHandlers(vtkQtChartMouseSelection* selector);
00065 
00067 
00068   virtual vtkQtChartSeriesModelCollection* GetChartSeriesModel();
00069   //ETX
00071 
00072 protected:
00073   vtkQtBarChartView();
00074   ~vtkQtBarChartView();
00075 
00076 protected:
00077   vtkQtBarChart *BarChart;
00078   vtkQtChartSeriesModelCollection *BarModel;
00079 
00080 private:
00081   vtkQtBarChartView(const vtkQtBarChartView&);  // Not implemented.
00082   void operator=(const vtkQtBarChartView&);  // Not implemented.
00083 };
00084 
00085 #endif

Generated by  doxygen 1.7.1