00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkQtChartTableRepresentation.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 __vtkQtChartTableRepresentation_h 00033 #define __vtkQtChartTableRepresentation_h 00034 00035 #include "vtkQtTableDataRepresentation.h" 00036 class vtkQtChartTableSeriesModel; 00037 00038 class QVTK_EXPORT vtkQtChartTableRepresentation : public vtkQtTableDataRepresentation 00039 { 00040 public: 00041 static vtkQtChartTableRepresentation *New(); 00042 vtkTypeRevisionMacro(vtkQtChartTableRepresentation, vtkQtTableDataRepresentation); 00043 void PrintSelf(ostream& os, vtkIndent indent); 00044 00046 vtkQtChartTableSeriesModel* GetSeriesModel(); 00047 00049 00051 void SetColumnsAsSeries(bool); 00052 vtkGetMacro(ColumnsAsSeries,int); 00054 00055 protected: 00056 vtkQtChartTableRepresentation(); 00057 ~vtkQtChartTableRepresentation(); 00058 00061 bool AddToView(vtkView* view); 00062 00065 bool RemoveFromView(vtkView* view); 00066 00067 bool ColumnsAsSeries; 00068 00069 private: 00070 00071 //BTX 00072 class vtkInternal; 00073 vtkInternal* Internal; 00074 //ETX 00075 00076 vtkQtChartTableRepresentation(const vtkQtChartTableRepresentation&); // Not implemented. 00077 void operator=(const vtkQtChartTableRepresentation&); // Not implemented. 00078 }; 00079 00080 #endif