vtkDisplayConfiguration.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkDisplayConfiguration_h
13 #define vtkDisplayConfiguration_h
14 
15 #include "vtkObject.h"
16 #include "vtkRemotingCoreModule.h" // for exports
17 #include "vtkTuple.h" // for vtkTuple
18 #include <memory> // for std::unique_ptr
19 
21 {
22 public:
23  static vtkDisplayConfiguration* New();
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
30  vtkGetMacro(ShowBorders, bool);
31 
36  vtkGetMacro(FullScreen, bool);
37 
41  vtkGetMacro(EyeSeparation, double);
42 
46  int GetNumberOfDisplays() const;
47 
49 
52  const char* GetEnvironment(int index) const;
54 
56 
60  vtkTuple<int, 4> GetGeometry(int index) const;
62 
64 
68  vtkTuple<double, 3> GetLowerLeft(int index) const;
69  vtkTuple<double, 3> GetLowerRight(int index) const;
70  vtkTuple<double, 3> GetUpperRight(int index) const;
72 
74 
78  bool GetHasCorners(int index) const;
80 
82 
88  bool GetCoverable(int index) const;
90 
92 
96  bool GetShow2DOverlays(int index) const;
98 
102  bool LoadPVX(const char* fname);
103 
104 protected:
106  ~vtkDisplayConfiguration() override;
107 
108 private:
110  void operator=(const vtkDisplayConfiguration&) = delete;
111 
112  bool ShowBorders = false;
113  bool Coverable = false;
114  bool FullScreen = false;
115  double EyeSeparation = 0.0;
116 
117  class vtkInternals;
118  std::unique_ptr<vtkInternals> Internals;
119 };
120 
121 #endif
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
display configuration container
#define VTKREMOTINGCORE_EXPORT
static vtkObject * New()
void operator=(const vtkObjectBase &)