vtkPVExtractComponent.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkPVExtractComponent_h
11 #define vtkPVExtractComponent_h
12 
13 #include "vtkDataSetAlgorithm.h"
14 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" //needed for exports
15 
16 class vtkDataSet;
17 
19 {
20 public:
21  static vtkPVExtractComponent* New();
23  void PrintSelf(ostream& os, vtkIndent indent) override;
24 
25  vtkSetMacro(InputArrayComponent, int);
26  vtkGetMacro(InputArrayComponent, int);
27 
28  vtkSetStringMacro(OutputArrayName);
29  vtkGetStringMacro(OutputArrayName);
30 
31 protected:
33  ~vtkPVExtractComponent() override;
34 
36 
37  int FillInputPortInformation(int port, vtkInformation* info) override;
38 
41 
42 private:
44  void operator=(const vtkPVExtractComponent&) = delete;
45 };
46 
47 #endif
virtual int FillInputPortInformation(int port, vtkInformation *info)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Extract a component of an attribute.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
void operator=(const vtkObjectBase &)
static vtkDataSetAlgorithm * New()