vtkPVArrayCalculator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPVArrayCalculator.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 =========================================================================*/
31 #ifndef vtkPVArrayCalculator_h
32 #define vtkPVArrayCalculator_h
33 
34 #include "vtkArrayCalculator.h"
35 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" //needed for exports
36 
37 class vtkDataObject;
39 
41 {
42 public:
44  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
46  static vtkPVArrayCalculator* New();
47 
48 protected:
50  ~vtkPVArrayCalculator() override;
51 
53 
57  int GetAttributeTypeFromInput(vtkDataObject* input);
58 
62  void ResetArrayAndVariableNames();
63 
67  void AddCoordinateVariableNames();
68 
77  void AddArrayAndVariableNames(vtkDataObject* theInputObj, vtkDataSetAttributes* inDataAttrs);
78 
79 private:
81  void operator=(const vtkPVArrayCalculator&) = delete;
82 };
84 
85 #endif
static vtkArrayCalculator * New()
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
perform mathematical operations on data in field data arrays
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void operator=(const vtkObjectBase &)