VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
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
-------------------------------------------------------------------------*/
44
#ifndef __vtkTableAlgorithm_h
45
#define __vtkTableAlgorithm_h
46
47
#include "
vtkAlgorithm.h
"
48
49
class
vtkDataSet
;
50
class
vtkTable
;
51
52
class
VTK_FILTERING_EXPORT
vtkTableAlgorithm
:
public
vtkAlgorithm
53
{
54
public
:
55
static
vtkTableAlgorithm
*
New
();
56
vtkTypeMacro(
vtkTableAlgorithm
,
vtkAlgorithm
);
57
void
PrintSelf
(ostream& os,
vtkIndent
indent);
58
60
61
virtual
int
ProcessRequest
(
vtkInformation
*,
62
vtkInformationVector
**,
63
vtkInformationVector
*);
65
67
68
vtkTable
*
GetOutput
() {
return
this->
GetOutput
(0); }
69
vtkTable
* GetOutput(
int
index
);
71
73
80
void
SetInput
(
vtkDataObject
* obj) { this->
SetInput
(0, obj); }
81
void
SetInput(
int
index
,
vtkDataObject
* obj);
83
84
protected
:
85
vtkTableAlgorithm
();
86
~
vtkTableAlgorithm
();
87
88
// convenience method
89
virtual
int
RequestInformation(
vtkInformation
* request,
90
vtkInformationVector
** inputVector,
91
vtkInformationVector
* outputVector);
92
94
96
virtual
int
RequestData(
vtkInformation
* request,
97
vtkInformationVector
** inputVector,
98
vtkInformationVector
* outputVector);
100
102
104
virtual
int
RequestUpdateExtent(
vtkInformation
*,
105
vtkInformationVector
**,
106
vtkInformationVector
*);
108
109
// see algorithm for more info
110
virtual
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
);
111
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
112
113
private
:
114
vtkTableAlgorithm
(
const
vtkTableAlgorithm
&);
// Not implemented.
115
void
operator=(
const
vtkTableAlgorithm
&);
// Not implemented.
116
};
117
118
#endif
Generated on Wed Nov 21 2012 21:33:46 for VTK by
1.8.2