VTK  9.3.0
vtkExtractVectorComponents.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
30 #ifndef vtkExtractVectorComponents_h
31 #define vtkExtractVectorComponents_h
32 
33 #include "vtkDataSetAlgorithm.h"
34 #include "vtkFiltersExtractionModule.h" // For export macro
35 
36 VTK_ABI_NAMESPACE_BEGIN
37 class vtkDataSet;
38 
39 class VTKFILTERSEXTRACTION_EXPORT vtkExtractVectorComponents : public vtkDataSetAlgorithm
40 {
41 public:
44  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
49  virtual void SetInputData(vtkDataSet* input);
50 
58 
67 
76 
78 
82  vtkSetMacro(ExtractToFieldData, vtkTypeBool);
83  vtkGetMacro(ExtractToFieldData, vtkTypeBool);
84  vtkBooleanMacro(ExtractToFieldData, vtkTypeBool);
86 
87 protected:
90 
94 
95 private:
97  void operator=(const vtkExtractVectorComponents&) = delete;
98 };
99 
100 VTK_ABI_NAMESPACE_END
101 #endif
Superclass for algorithms that produce output of the same type as input.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
extract components of vector as separate scalars
virtual void SetInputData(vtkDataSet *input)
Specify the input data or filter.
vtkDataSet * GetVzComponent()
Get the output dataset representing velocity z-component.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDataSet * GetVxComponent()
Get the output dataset representing velocity x-component.
static vtkExtractVectorComponents * New()
vtkDataSet * GetVyComponent()
Get the output dataset representing velocity y-component.
~vtkExtractVectorComponents() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkTypeBool
Definition: vtkABI.h:64