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 
56  const char* GetEnvironment(int index) const;
57  vtkTuple<int, 4> GetGeometry(int index) const;
58  vtkTuple<double, 3> GetLowerLeft(int index) const;
59  vtkTuple<double, 3> GetLowerRight(int index) const;
60  vtkTuple<double, 3> GetUpperRight(int index) const;
61  bool GetHasCorners(int index) const;
62  bool GetCoverable(int index) const;
64 
68  bool LoadPVX(const char* fname);
69 
70 protected:
72  ~vtkDisplayConfiguration() override;
73 
74 private:
76  void operator=(const vtkDisplayConfiguration&) = delete;
77 
78  bool ShowBorders = false;
79  bool Coverable = false;
80  bool FullScreen = false;
81  double EyeSeparation = 0.0;
82 
83  class vtkInternals;
84  std::unique_ptr<vtkInternals> Internals;
85 };
86 
87 #endif
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
display configuration container
#define VTKREMOTINGCORE_EXPORT
static vtkObject * New()
void operator=(const vtkObjectBase &)