Remoting
Views
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
40
class
VTKREMOTINGVIEWS_EXPORT
vtkPVCameraCollection
:
public
vtkObject
41
{
42
public
:
43
static
vtkPVCameraCollection
*
New
();
44
vtkTypeMacro(
vtkPVCameraCollection
,
vtkObject
);
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
:
87
vtkPVCameraCollection
();
88
~
vtkPVCameraCollection
()
override
;
89
90
int
LastCameraIndex
;
91
92
private
:
93
vtkPVCameraCollection
(
const
vtkPVCameraCollection
&) =
delete
;
94
void
operator=
(
const
vtkPVCameraCollection
&) =
delete
;
95
class
vtkInternals;
96
vtkInternals* Internals;
97
};
98
99
#endif
vtkObject
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkIndent
vtkCamera
vtkPVCameraCollection::LastCameraIndex
int LastCameraIndex
Definition:
vtkPVCameraCollection.h:90
vtkPVCameraCollection
collection of cameras used by vtkPVRenderView for cases where one wants to limit interactions to a fi...
Definition:
vtkPVCameraCollection.h:40
vtkNew.h
vtkObject::New
static vtkObject * New()
vtkObject.h
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
Generated by
1.8.13 on Tue May 18 2021