VTK  9.0.1
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
vtkPassThrough::AllowNullInput
bool AllowNullInput
Definition: vtkPassThrough.h:73
vtkPassInputTypeAlgorithm.h
vtkPassInputTypeAlgorithm::RequestDataObject
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called within ProcessRequest to when a request asks the algorithm to create empty output data...
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkPassInputTypeAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkPassThrough::DeepCopyInput
vtkTypeBool DeepCopyInput
Definition: vtkPassThrough.h:72
vtkPassInputTypeAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Definition: vtkPassInputTypeAlgorithm.h:171
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkPassThrough
Shallow copies the input into the output.
Definition: vtkPassThrough.h:29
vtkPassInputTypeAlgorithm::New
static vtkPassInputTypeAlgorithm * New()
vtkPassInputTypeAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkPassInputTypeAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPassInputTypeAlgorithm.h:51