VTK
9.3.0
Interaction
Widgets
vtkLogoWidget.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
29
#ifndef vtkLogoWidget_h
30
#define vtkLogoWidget_h
31
32
#include "
vtkBorderWidget.h
"
33
#include "vtkInteractionWidgetsModule.h"
// For export macro
34
35
VTK_ABI_NAMESPACE_BEGIN
36
class
vtkLogoRepresentation
;
37
38
class
VTKINTERACTIONWIDGETS_EXPORT
vtkLogoWidget
:
public
vtkBorderWidget
39
{
40
public
:
44
static
vtkLogoWidget
*
New
();
45
47
50
vtkTypeMacro(
vtkLogoWidget
,
vtkBorderWidget
);
51
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
53
59
void
SetRepresentation
(
vtkLogoRepresentation
* r)
60
{
61
this->
Superclass::SetWidgetRepresentation
(
reinterpret_cast<
vtkWidgetRepresentation
*
>
(r));
62
}
63
67
void
CreateDefaultRepresentation
()
override
;
68
69
protected
:
70
vtkLogoWidget
();
71
~vtkLogoWidget
()
override
;
72
73
private
:
74
vtkLogoWidget
(
const
vtkLogoWidget
&) =
delete
;
75
void
operator=(
const
vtkLogoWidget
&) =
delete
;
76
};
77
78
VTK_ABI_NAMESPACE_END
79
#endif
vtkAbstractWidget::SetWidgetRepresentation
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
vtkBorderWidget
place a border around a 2D rectangular region
Definition:
vtkBorderWidget.h:88
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkLogoRepresentation
represent the vtkLogoWidget
Definition:
vtkLogoRepresentation.h:46
vtkLogoWidget
2D widget for placing and manipulating a logo
Definition:
vtkLogoWidget.h:39
vtkLogoWidget::CreateDefaultRepresentation
void CreateDefaultRepresentation() override
Create the default widget representation if one is not set.
vtkLogoWidget::SetRepresentation
void SetRepresentation(vtkLogoRepresentation *r)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
Definition:
vtkLogoWidget.h:59
vtkLogoWidget::~vtkLogoWidget
~vtkLogoWidget() override
vtkLogoWidget::New
static vtkLogoWidget * New()
Instantiate this class.
vtkLogoWidget::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK class methods.
vtkLogoWidget::vtkLogoWidget
vtkLogoWidget()
vtkWidgetRepresentation
abstract class defines interface between the widget and widget representation classes
Definition:
vtkWidgetRepresentation.h:65
vtkBorderWidget.h
Generated on Sat Apr 6 2024 14:40:03 for VTK by
1.9.1