vtkDisplayConfiguration.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkDisplayConfiguration.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
24 #ifndef vtkDisplayConfiguration_h
25 #define vtkDisplayConfiguration_h
26 
27 #include "vtkObject.h"
28 #include "vtkRemotingCoreModule.h" // for exports
29 #include "vtkTuple.h" // for vtkTuple
30 #include <memory> // for std::unique_ptr
31 
33 {
34 public:
35  static vtkDisplayConfiguration* New();
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
42  vtkGetMacro(ShowBorders, bool);
43 
48  vtkGetMacro(FullScreen, bool);
49 
53  vtkGetMacro(EyeSeparation, double);
54 
58  int GetNumberOfDisplays() const;
59 
61 
64  const char* GetEnvironment(int index) const;
65  vtkTuple<int, 4> GetGeometry(int index) const;
66  vtkTuple<double, 3> GetLowerLeft(int index) const;
67  vtkTuple<double, 3> GetLowerRight(int index) const;
68  vtkTuple<double, 3> GetUpperRight(int index) const;
69  bool GetHasCorners(int index) const;
71 
75  bool LoadPVX(const char* fname);
76 
77 protected:
79  ~vtkDisplayConfiguration() override;
80 
81 private:
83  void operator=(const vtkDisplayConfiguration&) = delete;
84 
85  bool ShowBorders = false;
86  bool FullScreen = false;
87  double EyeSeparation = 0.0;
88 
89  class vtkInternals;
90  std::unique_ptr<vtkInternals> Internals;
91 };
92 
93 #endif
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
display configuration container
#define VTKREMOTINGCORE_EXPORT
static vtkObject * New()
void operator=(const vtkObjectBase &)