/*=========================================================================Program: Visualization ToolkitModule: vtkRowQueryToTable.hCopyright (c) Ken Martin, Will Schroeder, Bill LorensenAll rights reserved.See Copyright.txt or http://www.kitware.com/Copyright.htm for details.This software is distributed WITHOUT ANY WARRANTY; without eventhe implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULARPURPOSE. See the above copyright notice for more information.=========================================================================*//*-------------------------------------------------------------------------Copyright 2008 Sandia Corporation.Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,the U.S. Government retains certain rights in this software.-------------------------------------------------------------------------*//*** @class vtkRowQueryToTable* @brief executes an sql query and retrieves results into a table*** vtkRowQueryToTable creates a vtkTable with the results of an arbitrary SQL* query. To use this filter, you first need an instance of a vtkSQLDatabase* subclass. You may use the database class to obtain a vtkRowQuery instance.* Set that query on this filter to extract the query as a table.** @par Thanks:* Thanks to Andrew Wilson from Sandia National Laboratories for his work* on the database classes.** @sa* vtkSQLDatabase vtkRowQuery*/#ifndef vtkRowQueryToTable_h#define vtkRowQueryToTable_h#include "vtkIOSQLModule.h" // For export macro#include "vtkTableAlgorithm.h"class vtkRowQuery;class VTKIOSQL_EXPORT vtkRowQueryToTable : public vtkTableAlgorithm{public:static vtkRowQueryToTable* New();vtkTypeMacro(vtkRowQueryToTable, vtkTableAlgorithm);void PrintSelf(ostream& os, vtkIndent indent) override;//@{/*** The query to execute.*/void SetQuery(vtkRowQuery* query);vtkGetObjectMacro(Query, vtkRowQuery);//@}/*** Update the modified time based on the query.*/vtkMTimeType GetMTime() override;protected:vtkRowQueryToTable();~vtkRowQueryToTable() override;vtkRowQuery* Query;int RequestData(vtkInformation*,vtkInformationVector**,vtkInformationVector*) override;private:vtkRowQueryToTable(const vtkRowQueryToTable&) = delete;void operator=(const vtkRowQueryToTable&) = delete;};#endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。