VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Parallel
vtkPieceRequestFilter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPieceRequestFilter.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
=========================================================================*/
22
#ifndef __vtkPieceRequestFilter_h
23
#define __vtkPieceRequestFilter_h
24
25
#include "
vtkAlgorithm.h
"
26
27
class
vtkDataObject
;
28
29
class
VTK_PARALLEL_EXPORT
vtkPieceRequestFilter
:
public
vtkAlgorithm
30
{
31
public
:
32
static
vtkPieceRequestFilter
*
New
();
33
vtkTypeMacro(
vtkPieceRequestFilter
,
vtkAlgorithm
);
34
void
PrintSelf
(ostream& os,
vtkIndent
indent);
35
37
38
vtkSetClampMacro(NumberOfPieces,
int
, 0,
VTK_INT_MAX
);
39
vtkGetMacro(NumberOfPieces,
int
);
41
43
44
vtkSetClampMacro(Piece,
int
, 0,
VTK_INT_MAX
);
45
vtkGetMacro(Piece,
int
);
47
49
50
vtkDataObject
* GetOutput();
51
vtkDataObject
* GetOutput(
int
);
53
55
56
void
SetInput(
vtkDataObject
*);
57
void
SetInput(
int
,
vtkDataObject
*);
59
61
62
virtual
int
ProcessRequest
(
vtkInformation
* request,
63
vtkInformationVector
** inputVector,
64
vtkInformationVector
* outputVector);
66
67
protected
:
68
vtkPieceRequestFilter
();
69
~vtkPieceRequestFilter
() {};
70
71
virtual
int
RequestDataObject(
vtkInformation
* request,
72
vtkInformationVector
** inputVector,
73
vtkInformationVector
* outputVector);
74
75
virtual
int
RequestData(
vtkInformation
*,
76
vtkInformationVector
**,
77
vtkInformationVector
*);
78
79
virtual
int
RequestUpdateExtent(
vtkInformation
*,
80
vtkInformationVector
**,
81
vtkInformationVector
*);
82
83
virtual
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
);
84
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
85
86
int
NumberOfPieces
;
87
int
Piece
;
88
89
private
:
90
vtkPieceRequestFilter
(
const
vtkPieceRequestFilter
&);
// Not implemented.
91
void
operator=(
const
vtkPieceRequestFilter
&);
// Not implemented.
92
};
93
94
#endif
95
96
Generated on Fri Aug 2 2013 12:20:01 for VTK by
1.8.4