vtkCaveSynchronizedRenderers.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
18 #ifndef vtkCaveSynchronizedRenderers_h
19 #define vtkCaveSynchronizedRenderers_h
20 
21 #include "vtkRemotingViewsModule.h" //needed for exports
23 
24 class vtkCamera;
25 class vtkMatrix4x4;
26 
28 {
29 public:
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
34 protected:
36  ~vtkCaveSynchronizedRenderers() override;
37 
42  void HandleStartRender() override;
43 
48  void ProcessCaveConfiguration();
49 
54  void SetNumberOfDisplays(int numberOfDisplays);
55 
59  void SetEyeSeparation(double eyeSeparation);
60 
61  void DefineDisplay(int idx, double origin[3], double x[3], double y[3]);
62 
66  void ComputeCamera(vtkCamera* cam);
67 
72  void SetRenderer(vtkRenderer* renderer) override;
73 
74  double EyeSeparation;
76  double** Displays;
77  double DisplayOrigin[3];
78  double DisplayX[3];
79  double DisplayY[3];
80  int once;
81 
82 private:
84  void operator=(const vtkCaveSynchronizedRenderers&) = delete;
85 };
86 
87 #endif
#define VTKREMOTINGVIEWS_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
virtual void HandleStartRender()
vtkSynchronizedRenderers subclass that handles adjusting of camera for cave configurations.
static vtkSynchronizedRenderers * New()
virtual void SetRenderer(vtkRenderer *)
void operator=(const vtkObjectBase &)