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;
53  vtkTuple<int, 4> GetGeometry(int index) const;
54  vtkTuple<double, 3> GetLowerLeft(int index) const;
55  vtkTuple<double, 3> GetLowerRight(int index) const;
56  vtkTuple<double, 3> GetUpperRight(int index) const;
57  bool GetHasCorners(int index) const;
59 
63  bool LoadPVX(const char* fname);
64 
65 protected:
67  ~vtkDisplayConfiguration() override;
68 
69 private:
71  void operator=(const vtkDisplayConfiguration&) = delete;
72 
73  bool ShowBorders = false;
74  bool FullScreen = false;
75  double EyeSeparation = 0.0;
76 
77  class vtkInternals;
78  std::unique_ptr<vtkInternals> Internals;
79 };
80 
81 #endif
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
display configuration container
#define VTKREMOTINGCORE_EXPORT
static vtkObject * New()
void operator=(const vtkObjectBase &)