vtkPVCameraCollection.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
18 #ifndef vtkPVCameraCollection_h
19 #define vtkPVCameraCollection_h
20 
21 #include "vtkObject.h"
22 
23 #include "vtkNew.h" // needed for vtkNew
24 #include "vtkRemotingViewsModule.h" // needed for export macro
25 
26 class vtkCamera;
27 
29 {
30 public:
31  static vtkPVCameraCollection* New();
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
43  virtual int AddCamera(vtkCamera* camera);
44 
50  vtkCamera* GetCamera(int index);
51 
55  virtual void RemoveAllCameras();
56 
62  int FindClosestCamera(vtkCamera* target);
63 
72  virtual bool UpdateCamera(int index, vtkCamera* target);
73 
74 protected:
76  ~vtkPVCameraCollection() override;
77 
79 
80 private:
82  void operator=(const vtkPVCameraCollection&) = delete;
83  class vtkInternals;
84  vtkInternals* Internals;
85 };
86 
87 #endif
#define VTKREMOTINGVIEWS_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
collection of cameras used by vtkPVRenderView for cases where one wants to limit interactions to a fi...
static vtkObject * New()
void operator=(const vtkObjectBase &)