VTK
9.0.1
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
=========================================================================*/
29
#ifndef vtkLogoWidget_h
30
#define vtkLogoWidget_h
31
32
#include "
vtkBorderWidget.h
"
33
#include "vtkInteractionWidgetsModule.h"
// For export macro
34
35
class
vtkLogoRepresentation
;
36
37
class
VTKINTERACTIONWIDGETS_EXPORT
vtkLogoWidget
:
public
vtkBorderWidget
38
{
39
public
:
43
static
vtkLogoWidget
*
New
();
44
46
49
vtkTypeMacro(
vtkLogoWidget
,
vtkBorderWidget
);
50
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
52
58
void
SetRepresentation
(
vtkLogoRepresentation
* r)
59
{
60
this->
Superclass::SetWidgetRepresentation
(reinterpret_cast<vtkWidgetRepresentation*>(r));
61
}
62
66
void
CreateDefaultRepresentation
()
override
;
67
68
protected
:
69
vtkLogoWidget
();
70
~
vtkLogoWidget
()
override
;
71
72
private
:
73
vtkLogoWidget
(
const
vtkLogoWidget
&) =
delete
;
74
void
operator=(
const
vtkLogoWidget
&) =
delete
;
75
};
76
77
#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:87
vtkLogoWidget
2D widget for placing and manipulating a logo
Definition:
vtkLogoWidget.h:37
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:58
vtkBorderWidget.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkAbstractWidget::SetWidgetRepresentation
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
vtkLogoRepresentation
represent the vtkLogoWidget
Definition:
vtkLogoRepresentation.h:44
Generated on Wed Apr 26 2023 03:04:30 for VTK by
1.8.14