vtkPVRepresentedArrayListSettings.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
19 #ifndef vtkPVRepresentedArrayListSettings_h
20 #define vtkPVRepresentedArrayListSettings_h
21 
22 #include "vtkObject.h"
23 #include "vtkRemotingViewsModule.h" //needed for exports
24 #include "vtkSmartPointer.h" // needed for vtkSmartPointer
25 
26 #include <string>
27 #include <vector>
28 
29 class vtkStringArray;
31 namespace vtksys
32 {
33 class RegularExpression;
34 }
35 
37 {
38 public:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
46  static vtkPVRepresentedArrayListSettings* GetInstance();
47 
49 
52  virtual void SetNumberOfFilterExpressions(int n);
53  virtual int GetNumberOfFilterExpressions();
55 
57 
61  virtual void SetFilterExpression(int i, const char* expression);
62  virtual const char* GetFilterExpression(int i);
64 
66 
81  vtkSetMacro(ComputeArrayMagnitude, bool);
82  virtual void SetArrayMagnitudeException(int idx, int ncomp);
83  virtual void SetNumberOfArrayMagnitudeExceptions(int nexceptions);
85 
93  virtual bool ShouldUseMagnitudeMode(int ncomp) const;
94 
96 
100  virtual void SetNumberOfChartsDefaultXAxis(int n);
101  virtual int GetNumberOfChartsDefaultXAxis() const;
102  virtual void SetChartsDefaultXAxis(int i, const char* expression);
103  virtual const char* GetChartsDefaultXAxis(int i) const;
104  virtual const std::vector<std::string>& GetAllChartsDefaultXAxis() const;
106 
108 
115  virtual void SetNumberOfChartsHiddenAttributes(int n);
116  virtual int GetNumberOfChartsHiddenAttributes() const;
117  virtual void SetChartsHiddenAttributes(int i, const char* expression);
118  virtual const std::vector<vtksys::RegularExpression>& GetAllChartsHiddenAttributes() const;
119  virtual bool GetSeriesVisibilityDefault(const char* name) const;
121 
122 protected:
125 
126 private:
128  void operator=(const vtkPVRepresentedArrayListSettings&) = delete;
129 
131 
132  bool ComputeArrayMagnitude = true;
133 
134  class vtkInternals;
135  vtkInternals* Internals;
136 };
137 
138 #endif
#define VTKREMOTINGVIEWS_EXPORT
singleton used to filter out undesired data attribute from the representation.