vtkAnnotateAttributeDataFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkAnnotateAttributeDataFilter.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 =========================================================================*/
25 #ifndef vtkAnnotateAttributeDataFilter_h
26 #define vtkAnnotateAttributeDataFilter_h
27 
28 #include "vtkPVVTKExtensionsFiltersPythonModule.h" //needed for exports
30 
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
40 
43  vtkSetStringMacro(ArrayName);
44  vtkGetStringMacro(ArrayName);
46 
48 
51  vtkSetMacro(ElementId, vtkIdType);
52  vtkGetMacro(ElementId, vtkIdType);
54 
56 
60  vtkSetMacro(ProcessId, int);
61  vtkGetMacro(ProcessId, int);
63 
65 
68  vtkSetStringMacro(Prefix);
69  vtkGetStringMacro(Prefix);
71 
72 protected:
75 
76  void EvaluateExpression() override;
77 
78  char* ArrayName;
79  char* Prefix;
80  int ProcessId;
82 
83 private:
85  void operator=(const vtkAnnotateAttributeDataFilter&) = delete;
86 };
87 
88 #endif
virtual void EvaluateExpression()
static vtkPythonAnnotationFilter * New()
int vtkIdType
#define VTKPVVTKEXTENSIONSFILTERSPYTHON_EXPORT
filter used to generate text annotation from Python expressions.
specialization of vtkPythonAnnotationFilter to work with element data.
void PrintSelf(ostream &os, vtkIndent indent) override