src
paraview-5.12
Remoting
Views
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
28
class
VTKREMOTINGVIEWS_EXPORT
vtkPVCameraCollection
:
public
vtkObject
29
{
30
public
:
31
static
vtkPVCameraCollection
*
New
();
32
vtkTypeMacro(
vtkPVCameraCollection
,
vtkObject
);
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
:
75
vtkPVCameraCollection
();
76
~
vtkPVCameraCollection
()
override
;
77
78
int
LastCameraIndex
;
79
80
private
:
81
vtkPVCameraCollection
(
const
vtkPVCameraCollection
&) =
delete
;
82
void
operator=
(
const
vtkPVCameraCollection
&) =
delete
;
83
class
vtkInternals;
84
vtkInternals* Internals;
85
};
86
87
#endif
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkObject::New
static vtkObject * New()
vtkObject
vtkIndent
vtkCamera
vtkPVCameraCollection::LastCameraIndex
int LastCameraIndex
Definition:
vtkPVCameraCollection.h:78
vtkObject.h
vtkPVCameraCollection
collection of cameras used by vtkPVRenderView for cases where one wants to limit interactions to a fi...
Definition:
vtkPVCameraCollection.h:28
vtkNew.h
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Generated by
1.8.17 on Wed Mar 27 2024