VTK  9.4.20241221
vtkCameraWidget.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
23#ifndef vtkCameraWidget_h
24#define vtkCameraWidget_h
25
26#include "vtkBorderWidget.h"
27#include "vtkInteractionWidgetsModule.h" // For export macro
28
29VTK_ABI_NAMESPACE_BEGIN
31
32class VTKINTERACTIONWIDGETS_EXPORT vtkCameraWidget : public vtkBorderWidget
33{
34public:
39
41
45 void PrintSelf(ostream& os, vtkIndent indent) override;
47
54 {
56 }
57
62
63protected:
65 ~vtkCameraWidget() override;
66
72 void SelectRegion(double eventPos[2]) override;
73
74private:
75 vtkCameraWidget(const vtkCameraWidget&) = delete;
76 void operator=(const vtkCameraWidget&) = delete;
77};
78
79VTK_ABI_NAMESPACE_END
80#endif
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
place a border around a 2D rectangular region
represent the vtkCameraWidget
2D widget for saving a series of camera views
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK class methods.
~vtkCameraWidget() override
void CreateDefaultRepresentation() override
Create the default widget representation if one is not set.
void SetRepresentation(vtkCameraRepresentation *r)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
static vtkCameraWidget * New()
Instantiate this class.
void SelectRegion(double eventPos[2]) override
When selecting the interior of this widget, special operations occur (i.e., adding a camera view,...
a simple class to control print indentation
Definition vtkIndent.h:108
abstract class defines interface between the widget and widget representation classes