00001 /* -*- Mode: C++; -*- */ 00002 00003 /*========================================================================= 00004 00005 Program: Visualization Toolkit 00006 Module: $RCSfile: vtkQtTableMetadataRepresentation.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 (c) Sandia Corporation 00019 See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. 00020 ----------------------------------------------------------------------------*/ 00021 00037 #ifndef __vtkQtTableMetadataRepresentation_h 00038 #define __vtkQtTableMetadataRepresentation_h 00039 00040 #include "QVTKWin32Header.h" 00041 #include "vtkQtTableRepresentation.h" 00042 00043 // ---------------------------------------------------------------------- 00044 00045 class QVTK_EXPORT vtkQtTableMetadataRepresentation : public vtkQtTableRepresentation 00046 { 00047 public: 00048 vtkTypeRevisionMacro(vtkQtTableMetadataRepresentation, vtkQtTableRepresentation); 00049 static vtkQtTableMetadataRepresentation *New(); 00050 void PrintSelf(ostream &os, vtkIndent indent); 00051 00055 virtual void SetInputConnection(vtkAlgorithmOutput *conn); 00056 00057 protected: 00058 vtkQtTableMetadataRepresentation(); 00059 ~vtkQtTableMetadataRepresentation(); 00060 00063 bool AddToView(vtkView *view); 00064 00066 bool RemoveFromView(vtkView *view); 00067 00068 void SetModelType(); 00069 00070 private: 00071 vtkQtTableMetadataRepresentation(const vtkQtTableMetadataRepresentation &); 00072 void operator=(const vtkQtTableMetadataRepresentation &); 00073 00074 }; 00075 00076 #endif 00077