VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkArrayDataAlgorithm.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkArrayDataAlgorithm.h
5
6
-------------------------------------------------------------------------
7
Copyright 2008 Sandia Corporation.
8
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9
the U.S. Government retains certain rights in this software.
10
-------------------------------------------------------------------------
11
12
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13
All rights reserved.
14
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15
16
This software is distributed WITHOUT ANY WARRANTY; without even
17
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18
PURPOSE. See the above copyright notice for more information.
19
20
=========================================================================*/
21
47
#ifndef __vtkArrayDataAlgorithm_h
48
#define __vtkArrayDataAlgorithm_h
49
50
#include "
vtkAlgorithm.h
"
51
#include "
vtkArrayData.h
"
52
53
class
vtkDataSet
;
54
55
class
VTK_FILTERING_EXPORT
vtkArrayDataAlgorithm
:
public
vtkAlgorithm
56
{
57
public
:
58
static
vtkArrayDataAlgorithm
*
New
();
59
vtkTypeMacro(
vtkArrayDataAlgorithm
,
vtkAlgorithm
);
60
void
PrintSelf
(ostream& os,
vtkIndent
indent);
61
63
64
virtual
int
ProcessRequest
(
vtkInformation
*,
65
vtkInformationVector
**,
66
vtkInformationVector
*);
68
70
71
vtkArrayData
*
GetOutput
() {
return
this->
GetOutput
(0); }
72
vtkArrayData
* GetOutput(
int
index
);
74
76
83
void
SetInput
(
vtkDataObject
* obj) { this->
SetInput
(0, obj); }
84
void
SetInput(
int
index
,
vtkDataObject
* obj);
86
87
protected
:
88
vtkArrayDataAlgorithm
();
89
~
vtkArrayDataAlgorithm
();
90
91
// convenience method
92
virtual
int
RequestInformation(
vtkInformation
* request,
93
vtkInformationVector
** inputVector,
94
vtkInformationVector
* outputVector);
95
97
99
virtual
int
RequestData(
vtkInformation
* request,
100
vtkInformationVector
** inputVector,
101
vtkInformationVector
* outputVector);
103
105
107
virtual
int
RequestUpdateExtent(
vtkInformation
*,
108
vtkInformationVector
**,
109
vtkInformationVector
*);
111
112
// see algorithm for more info
113
virtual
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
);
114
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
115
116
private
:
117
vtkArrayDataAlgorithm
(
const
vtkArrayDataAlgorithm
&);
// Not implemented.
118
void
operator=(
const
vtkArrayDataAlgorithm
&);
// Not implemented.
119
};
120
121
#endif
Generated on Fri Aug 2 2013 12:19:47 for VTK by
1.8.4