VTK  9.2.6
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 =========================================================================*/
29 #ifndef vtkPassThrough_h
30 #define vtkPassThrough_h
31 
32 #include "vtkFiltersCoreModule.h" // For export macro
34 
35 class VTKFILTERSCORE_EXPORT vtkPassThrough : public vtkPassInputTypeAlgorithm
36 {
37 public:
38  static vtkPassThrough* New();
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
46 
48 
54  vtkSetMacro(DeepCopyInput, vtkTypeBool);
55  vtkGetMacro(DeepCopyInput, vtkTypeBool);
56  vtkBooleanMacro(DeepCopyInput, vtkTypeBool);
58 
65  vtkSetMacro(AllowNullInput, bool);
66  vtkGetMacro(AllowNullInput, bool);
67  vtkBooleanMacro(AllowNullInput, bool);
70 protected:
72  ~vtkPassThrough() override;
73 
75  vtkInformation* request, vtkInformationVector** inVec, vtkInformationVector* outVec) override;
77 
80 
81 private:
82  vtkPassThrough(const vtkPassThrough&) = delete;
83  void operator=(const vtkPassThrough&) = delete;
84 };
85 
86 #endif
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
Pass input input data through to the output.
int vtkTypeBool
Definition: vtkABI.h:69
a simple class to control print indentation
Definition: vtkIndent.h:39
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
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
Store zero or more vtkInformation instances.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkPassInputTypeAlgorithm * New()