00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkRowQueryToTable.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 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 -------------------------------------------------------------------------*/ 00040 #ifndef __vtkRowQueryToTable_h 00041 #define __vtkRowQueryToTable_h 00042 00043 #include "vtkTableAlgorithm.h" 00044 00045 class vtkRowQuery; 00046 00047 class VTK_IO_EXPORT vtkRowQueryToTable : public vtkTableAlgorithm 00048 { 00049 public: 00050 static vtkRowQueryToTable* New(); 00051 vtkTypeRevisionMacro(vtkRowQueryToTable, vtkTableAlgorithm); 00052 void PrintSelf(ostream& os, vtkIndent indent); 00053 00055 00056 void SetQuery(vtkRowQuery* query); 00057 vtkGetObjectMacro(Query, vtkRowQuery); 00059 00061 unsigned long GetMTime(); 00062 00063 protected: 00064 vtkRowQueryToTable(); 00065 ~vtkRowQueryToTable(); 00066 00067 vtkRowQuery* Query; 00068 00069 int RequestData( 00070 vtkInformation*, 00071 vtkInformationVector**, 00072 vtkInformationVector*); 00073 00074 private: 00075 vtkRowQueryToTable(const vtkRowQueryToTable&); // Not implemented 00076 void operator=(const vtkRowQueryToTable&); // Not implemented 00077 }; 00078 00079 #endif 00080