VTK
9.3.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
20
#ifndef vtkLogoWidget_h
21
#define vtkLogoWidget_h
22
23
#include "
vtkBorderWidget.h
"
24
#include "vtkInteractionWidgetsModule.h"
// For export macro
25
26
VTK_ABI_NAMESPACE_BEGIN
27
class
vtkLogoRepresentation
;
28
29
class
VTKINTERACTIONWIDGETS_EXPORT
vtkLogoWidget
:
public
vtkBorderWidget
30
{
31
public
:
35
static
vtkLogoWidget
*
New
();
36
38
41
vtkTypeMacro(
vtkLogoWidget
,
vtkBorderWidget
);
42
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
44
50
void
SetRepresentation
(
vtkLogoRepresentation
* r)
51
{
52
this->
Superclass::SetWidgetRepresentation
(reinterpret_cast<vtkWidgetRepresentation*>(r));
53
}
54
58
void
CreateDefaultRepresentation
()
override
;
59
60
protected
:
61
vtkLogoWidget
();
62
~
vtkLogoWidget
()
override
;
63
64
private
:
65
vtkLogoWidget
(
const
vtkLogoWidget
&) =
delete
;
66
void
operator=(
const
vtkLogoWidget
&) =
delete
;
67
};
68
69
VTK_ABI_NAMESPACE_END
70
#endif
vtkBorderWidget::CreateDefaultRepresentation
void CreateDefaultRepresentation() override
Create the default widget representation if one is not set.
vtkBorderWidget
place a border around a 2D rectangular region
Definition:
vtkBorderWidget.h:78
vtkLogoWidget
2D widget for placing and manipulating a logo
Definition:
vtkLogoWidget.h:29
vtkBorderWidget::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for class.
vtkBorderWidget::New
static vtkBorderWidget * New()
Method to instantiate class.
vtkLogoWidget::SetRepresentation
void SetRepresentation(vtkLogoRepresentation *r)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene...
Definition:
vtkLogoWidget.h:50
vtkBorderWidget.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:28
vtkAbstractWidget::SetWidgetRepresentation
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
vtkLogoRepresentation
represent the vtkLogoWidget
Definition:
vtkLogoRepresentation.h:36
Generated on Sun Dec 8 2024 22:10:39 for VTK by
1.8.10