vtkPVExtractComponent.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVExtractComponent.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
22 #ifndef vtkPVExtractComponent_h
23 #define vtkPVExtractComponent_h
24 
25 #include "vtkDataSetAlgorithm.h"
26 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" //needed for exports
27 
28 class vtkDataSet;
29 
31 {
32 public:
33  static vtkPVExtractComponent* New();
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
37  vtkSetMacro(InputArrayComponent, int);
38  vtkGetMacro(InputArrayComponent, int);
39 
40  vtkSetStringMacro(OutputArrayName);
41  vtkGetStringMacro(OutputArrayName);
42 
43 protected:
45  ~vtkPVExtractComponent() override;
46 
48 
49  int FillInputPortInformation(int port, vtkInformation* info) override;
50 
53 
54 private:
56  void operator=(const vtkPVExtractComponent&) = delete;
57 };
58 
59 #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()