VTK
vtkTableAlgorithm.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTableAlgorithm.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
38 #ifndef vtkTableAlgorithm_h
39 #define vtkTableAlgorithm_h
40 
41 #include "vtkCommonExecutionModelModule.h" // For export macro
42 #include "vtkAlgorithm.h"
43 
44 class vtkDataSet;
45 class vtkTable;
46 
48 {
49 public:
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
55 
60 
62 
63  vtkTable* GetOutput() { return this->GetOutput(0); }
66 
68 
71  void SetInputData(vtkDataObject * obj) { this->SetInputData(0, obj); }
74 
75 protected:
78 
79  // convenience method
80  virtual int RequestInformation(vtkInformation* request,
81  vtkInformationVector** inputVector,
82  vtkInformationVector* outputVector);
83 
85 
87  virtual int RequestData(vtkInformation* request,
88  vtkInformationVector** inputVector,
89  vtkInformationVector* outputVector);
91 
93 
99 
100  // see algorithm for more info
103 
104 private:
105  vtkTableAlgorithm(const vtkTableAlgorithm&); // Not implemented.
106  void operator=(const vtkTableAlgorithm&); // Not implemented.
107 };
108 
109 #endif
vtkTableAlgorithm::SetInputData
void SetInputData(int index, vtkDataObject *obj)
VTKCOMMONEXECUTIONMODEL_EXPORT
#define VTKCOMMONEXECUTIONMODEL_EXPORT
Definition: vtkCommonExecutionModelModule.h:15
vtkTableAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkTableAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkTableAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkgl::obj
GLsizei GLsizei GLuint * obj
Definition: vtkgl.h:11994
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:62
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkCommonExecutionModelModule.h
vtkAlgorithm.h
vtkTableAlgorithm::vtkTableAlgorithm
vtkTableAlgorithm()
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkTableAlgorithm
Superclass for algorithms that produce only vtkTables as output.
Definition: vtkTableAlgorithm.h:48
vtkTableAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkTableAlgorithm::SetInputData
void SetInputData(vtkDataObject *obj)
Definition: vtkTableAlgorithm.h:71
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkgl::index
GLuint index
Definition: vtkgl.h:11983
vtkTableAlgorithm::GetOutput
vtkTable * GetOutput(int index)
vtkTableAlgorithm::~vtkTableAlgorithm
~vtkTableAlgorithm()
vtkTableAlgorithm::FillOutputPortInformation
virtual int FillOutputPortInformation(int port, vtkInformation *info)
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkTableAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkTableAlgorithm::GetOutput
vtkTable * GetOutput()
Definition: vtkTableAlgorithm.h:63
vtkTableAlgorithm::New
static vtkTableAlgorithm * New()
vtkTableAlgorithm::ProcessRequest
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)