VTK
dox
Filters
General
vtkPassThrough.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPassThrough.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
=========================================================================*/
26
#ifndef vtkPassThrough_h
27
#define vtkPassThrough_h
28
29
#include "vtkFiltersGeneralModule.h"
// For export macro
30
#include "
vtkPassInputTypeAlgorithm.h
"
31
32
class
VTKFILTERSGENERAL_EXPORT
vtkPassThrough
:
public
vtkPassInputTypeAlgorithm
33
{
34
public
:
35
static
vtkPassThrough
*
New
();
36
vtkTypeMacro(
vtkPassThrough
,
vtkPassInputTypeAlgorithm
);
37
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
38
42
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
)
override
;
43
45
51
vtkSetMacro(DeepCopyInput,
vtkTypeBool
);
52
vtkGetMacro(DeepCopyInput,
vtkTypeBool
);
53
vtkBooleanMacro(DeepCopyInput,
vtkTypeBool
);
55
62
vtkSetMacro(AllowNullInput,
bool
)
63
vtkGetMacro(AllowNullInput,
bool
)
64
vtkBooleanMacro(AllowNullInput,
bool
)
67
protected:
68
vtkPassThrough
();
69
~
vtkPassThrough
() override;
70
71
int
RequestDataObject(
72
vtkInformation
*request,
73
vtkInformationVector
**inVec,
74
vtkInformationVector
*outVec) override;
75
int
RequestData(
76
vtkInformation
*,
77
vtkInformationVector
**,
78
vtkInformationVector
*) override;
79
80
vtkTypeBool
DeepCopyInput;
81
bool
AllowNullInput;
82
83
private:
84
vtkPassThrough
(const
vtkPassThrough
&) = delete;
85
void
operator=(const
vtkPassThrough
&) = delete;
86
};
87
88
#endif
89
vtkPassInputTypeAlgorithm.h
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:42
vtkPassThrough::New
static vtkPassThrough * New()
vtkX3D::port
@ port
Definition:
vtkX3D.h:447
vtkPassThrough::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Specify the first input port as optional.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkPassThrough::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:87
vtkX3D::info
@ info
Definition:
vtkX3D.h:376
vtkPassThrough
Shallow copies the input into the output.
Definition:
vtkPassThrough.h:33
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkPassInputTypeAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition:
vtkPassInputTypeAlgorithm.h:55
Generated by
1.8.20