VTK
9.2.5
Interaction
Widgets
vtkLogoWidget.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkLogoWidget.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm 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
=========================================================================*/
51
#ifndef vtkLogoWidget_h
52
#define vtkLogoWidget_h
53
54
#include "
vtkBorderWidget.h
"
55
#include "vtkInteractionWidgetsModule.h"
// For export macro
56
57
class
vtkLogoRepresentation
;
58
59
class
VTKINTERACTIONWIDGETS_EXPORT
vtkLogoWidget
:
public
vtkBorderWidget
60
{
61
public
:
65
static
vtkLogoWidget
*
New
();
66
68
71
vtkTypeMacro(
vtkLogoWidget
,
vtkBorderWidget
);
72
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
74
80
void
SetRepresentation
(
vtkLogoRepresentation
* r)
81
{
82
this->
Superclass::SetWidgetRepresentation
(
reinterpret_cast<
vtkWidgetRepresentation
*
>
(r));
83
}
84
88
void
CreateDefaultRepresentation
()
override
;
89
90
protected
:
91
vtkLogoWidget
();
92
~vtkLogoWidget
()
override
;
93
94
private
:
95
vtkLogoWidget
(
const
vtkLogoWidget
&) =
delete
;
96
void
operator=(
const
vtkLogoWidget
&) =
delete
;
97
};
98
99
#endif
vtkAbstractWidget::SetWidgetRepresentation
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
vtkBorderWidget
place a border around a 2D rectangular region
Definition:
vtkBorderWidget.h:148
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:119
vtkLogoRepresentation
represent the vtkLogoWidget
Definition:
vtkLogoRepresentation.h:67
vtkLogoWidget
2D widget for placing and manipulating a logo
Definition:
vtkLogoWidget.h:60
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:80
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:60
vtkBorderWidget.h
Generated on Thu Jan 5 2023 21:32:58 for VTK by
1.9.1