VTK  9.0.2
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 =========================================================================*/
23 #ifndef vtkPassThrough_h
24 #define vtkPassThrough_h
25 
26 #include "vtkFiltersGeneralModule.h" // For export macro
28 
29 class VTKFILTERSGENERAL_EXPORT vtkPassThrough : public vtkPassInputTypeAlgorithm
30 {
31 public:
32  static vtkPassThrough* New();
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
40 
42 
48  vtkSetMacro(DeepCopyInput, vtkTypeBool);
49  vtkGetMacro(DeepCopyInput, vtkTypeBool);
50  vtkBooleanMacro(DeepCopyInput, vtkTypeBool);
52 
59  vtkSetMacro(AllowNullInput, bool);
60  vtkGetMacro(AllowNullInput, bool);
61  vtkBooleanMacro(AllowNullInput, bool);
64 protected:
66  ~vtkPassThrough() override;
67 
69  vtkInformation* request, vtkInformationVector** inVec, vtkInformationVector* outVec) override;
71 
74 
75 private:
76  vtkPassThrough(const vtkPassThrough&) = delete;
77  void operator=(const vtkPassThrough&) = delete;
78 };
79 
80 #endif
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.
Shallow copies the input into 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 to when a request asks the algorithm to create empty output data...
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