vtkPVCameraCollection.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVCameraCollection.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 =========================================================================*/
30 #ifndef vtkPVCameraCollection_h
31 #define vtkPVCameraCollection_h
32 
33 #include "vtkObject.h"
34 
35 #include "vtkNew.h" // needed for vtkNew
36 #include "vtkRemotingViewsModule.h" // needed for export macro
37 
38 class vtkCamera;
39 
41 {
42 public:
43  static vtkPVCameraCollection* New();
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
55  virtual int AddCamera(vtkCamera* camera);
56 
62  vtkCamera* GetCamera(int index);
63 
67  virtual void RemoveAllCameras();
68 
74  int FindClosestCamera(vtkCamera* target);
75 
84  virtual bool UpdateCamera(int index, vtkCamera* target);
85 
86 protected:
88  ~vtkPVCameraCollection() override;
89 
91 
92 private:
94  void operator=(const vtkPVCameraCollection&) = delete;
95  class vtkInternals;
96  vtkInternals* Internals;
97 };
98 
99 #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 &)