vtkEnvironmentAnnotationFilter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
19 #ifndef vtkEnvironmentAnnotationFilter_h
20 #define vtkEnvironmentAnnotationFilter_h
21 
22 #include "vtkPVVTKExtensionsMiscModule.h" //needed for exports
23 #include "vtkTableAlgorithm.h"
24 #include <string> //needed for iVars
25 
27 {
28 public:
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
33  vtkSetMacro(FileName, std::string);
34  vtkGetMacro(FileName, std::string);
35 
36  vtkSetMacro(DisplayUserName, bool);
37  vtkGetMacro(DisplayUserName, bool);
38 
39  vtkSetMacro(DisplaySystemName, bool);
40  vtkGetMacro(DisplaySystemName, bool);
41 
42  vtkSetMacro(DisplayFileName, bool);
43  vtkGetMacro(DisplayFileName, bool);
44 
45  vtkSetMacro(DisplayFilePath, bool);
46  vtkGetMacro(DisplayFilePath, bool);
47 
48  vtkSetMacro(DisplayDate, bool);
49  vtkGetMacro(DisplayDate, bool);
50 
51 protected:
54 
55  int FillInputPortInformation(int port, vtkInformation* info) override;
56  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
57  vtkInformationVector* outputVector) override;
58 
59  std::string AnnotationValue;
60  std::string FileName;
61 
62 private:
64  void operator=(const vtkEnvironmentAnnotationFilter&) = delete;
65 
66  void UpdateAnnotationValue();
67 
68  bool DisplayUserName;
69  bool DisplaySystemName;
70  bool DisplayFileName;
71  bool DisplayFilePath;
72  bool DisplayDate;
73 };
74 
75 #endif
filter used to generate text annotation for the current project.
static vtkTableAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual int FillInputPortInformation(int port, vtkInformation *info)
#define VTKPVVTKEXTENSIONSMISC_EXPORT
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void operator=(const vtkObjectBase &)