VTK  9.2.5
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 =========================================================================*/
48 #ifndef vtkPassThrough_h
49 #define vtkPassThrough_h
50 
51 #include "vtkFiltersCoreModule.h" // For export macro
53 
54 class VTKFILTERSCORE_EXPORT vtkPassThrough : public vtkPassInputTypeAlgorithm
55 {
56 public:
57  static vtkPassThrough* New();
59  void PrintSelf(ostream& os, vtkIndent indent) override;
60 
65 
67 
73  vtkSetMacro(DeepCopyInput, vtkTypeBool);
74  vtkGetMacro(DeepCopyInput, vtkTypeBool);
75  vtkBooleanMacro(DeepCopyInput, vtkTypeBool);
77 
84  vtkSetMacro(AllowNullInput, bool);
85  vtkGetMacro(AllowNullInput, bool);
86  vtkBooleanMacro(AllowNullInput, bool);
89 protected:
91  ~vtkPassThrough() override;
92 
94  vtkInformation* request, vtkInformationVector** inVec, vtkInformationVector* outVec) override;
96 
99 
100 private:
101  vtkPassThrough(const vtkPassThrough&) = delete;
102  void operator=(const vtkPassThrough&) = delete;
103 };
104 
105 #endif
a simple class to control print indentation
Definition: vtkIndent.h:119
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.
Pass input input data through to the output.
int FillInputPortInformation(int port, vtkInformation *info) override
Specify the first input port as optional.
static vtkPassThrough * New()
~vtkPassThrough() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
int RequestDataObject(vtkInformation *request, vtkInformationVector **inVec, vtkInformationVector *outVec) override
This is called within ProcessRequest when a request asks the algorithm to create empty output data ob...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool DeepCopyInput
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
int vtkTypeBool
Definition: vtkABI.h:69