VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkRowQueryToTable.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 2008 Sandia Corporation. 00017 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, 00018 the U.S. Government retains certain rights in this software. 00019 -------------------------------------------------------------------------*/ 00043 #ifndef vtkRowQueryToTable_h 00044 #define vtkRowQueryToTable_h 00045 00046 #include "vtkIOSQLModule.h" // For export macro 00047 #include "vtkTableAlgorithm.h" 00048 00049 class vtkRowQuery; 00050 00051 class VTKIOSQL_EXPORT vtkRowQueryToTable : public vtkTableAlgorithm 00052 { 00053 public: 00054 static vtkRowQueryToTable* New(); 00055 vtkTypeMacro(vtkRowQueryToTable, vtkTableAlgorithm); 00056 void PrintSelf(ostream& os, vtkIndent indent); 00057 00059 00060 void SetQuery(vtkRowQuery* query); 00061 vtkGetObjectMacro(Query, vtkRowQuery); 00063 00065 unsigned long GetMTime(); 00066 00067 protected: 00068 vtkRowQueryToTable(); 00069 ~vtkRowQueryToTable(); 00070 00071 vtkRowQuery* Query; 00072 00073 int RequestData( 00074 vtkInformation*, 00075 vtkInformationVector**, 00076 vtkInformationVector*); 00077 00078 private: 00079 vtkRowQueryToTable(const vtkRowQueryToTable&); // Not implemented 00080 void operator=(const vtkRowQueryToTable&); // Not implemented 00081 }; 00082 00083 #endif 00084