VTK
9.2.6
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
=========================================================================*/
41
#ifndef vtkLogoWidget_h
42
#define vtkLogoWidget_h
43
44
#include "
vtkBorderWidget.h
"
45
#include "vtkInteractionWidgetsModule.h"
// For export macro
46
47
class
vtkLogoRepresentation
;
48
49
class
VTKINTERACTIONWIDGETS_EXPORT
vtkLogoWidget
:
public
vtkBorderWidget
50
{
51
public
:
55
static
vtkLogoWidget
*
New
();
56
58
61
vtkTypeMacro(
vtkLogoWidget
,
vtkBorderWidget
);
62
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
64
70
void
SetRepresentation
(
vtkLogoRepresentation
* r)
71
{
72
this->
Superclass::SetWidgetRepresentation
(
reinterpret_cast<
vtkWidgetRepresentation
*
>
(r));
73
}
74
78
void
CreateDefaultRepresentation
()
override
;
79
80
protected
:
81
vtkLogoWidget
();
82
~vtkLogoWidget
()
override
;
83
84
private
:
85
vtkLogoWidget
(
const
vtkLogoWidget
&) =
delete
;
86
void
operator=(
const
vtkLogoWidget
&) =
delete
;
87
};
88
89
#endif
vtkAbstractWidget::SetWidgetRepresentation
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
vtkBorderWidget
place a border around a 2D rectangular region
Definition
vtkBorderWidget.h:98
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:49
vtkLogoRepresentation
represent the vtkLogoWidget
Definition
vtkLogoRepresentation.h:57
vtkLogoWidget
2D widget for placing and manipulating a logo
Definition
vtkLogoWidget.h:50
vtkLogoWidget::New
static vtkLogoWidget * New()
Instantiate this class.
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:70
vtkLogoWidget::~vtkLogoWidget
~vtkLogoWidget() override
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 Sat Nov 9 2024 00:00:00 for VTK by
1.9.7