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 "vtkTableAlgorithm.h" 00047 00048 class vtkRowQuery; 00049 00050 class VTK_IO_EXPORT vtkRowQueryToTable : public vtkTableAlgorithm 00051 { 00052 public: 00053 static vtkRowQueryToTable* New(); 00054 vtkTypeMacro(vtkRowQueryToTable, vtkTableAlgorithm); 00055 void PrintSelf(ostream& os, vtkIndent indent); 00056 00058 00059 void SetQuery(vtkRowQuery* query); 00060 vtkGetObjectMacro(Query, vtkRowQuery); 00062 00064 unsigned long GetMTime(); 00065 00066 protected: 00067 vtkRowQueryToTable(); 00068 ~vtkRowQueryToTable(); 00069 00070 vtkRowQuery* Query; 00071 00072 int RequestData( 00073 vtkInformation*, 00074 vtkInformationVector**, 00075 vtkInformationVector*); 00076 00077 private: 00078 vtkRowQueryToTable(const vtkRowQueryToTable&); // Not implemented 00079 void operator=(const vtkRowQueryToTable&); // Not implemented 00080 }; 00081 00082 #endif 00083