VTK
9.4.20241221
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Interaction
Widgets
vtkProgressBarWidget.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
21
#ifndef vtkProgressBarWidget_h
22
#define vtkProgressBarWidget_h
23
24
#include "
vtkBorderWidget.h
"
25
#include "vtkInteractionWidgetsModule.h"
// For export macro
26
#include "
vtkWrappingHints.h
"
// For VTK_MARSHALAUTO
27
28
VTK_ABI_NAMESPACE_BEGIN
29
class
vtkProgressBarRepresentation
;
30
31
class
VTKINTERACTIONWIDGETS_EXPORT
VTK_MARSHALAUTO
vtkProgressBarWidget
:
public
vtkBorderWidget
32
{
33
public
:
37
static
vtkProgressBarWidget
*
New
();
38
40
43
vtkTypeMacro(
vtkProgressBarWidget
,
vtkBorderWidget
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
46
52
void
SetRepresentation
(
vtkProgressBarRepresentation
* r)
53
{
54
this->
Superclass::SetWidgetRepresentation
(
reinterpret_cast<
vtkWidgetRepresentation
*
>
(r));
55
}
56
60
void
CreateDefaultRepresentation
()
override
;
61
62
protected
:
63
vtkProgressBarWidget
();
64
~vtkProgressBarWidget
()
override
;
65
66
private
:
67
vtkProgressBarWidget
(
const
vtkProgressBarWidget
&) =
delete
;
68
void
operator=(
const
vtkProgressBarWidget
&) =
delete
;
69
};
70
71
VTK_ABI_NAMESPACE_END
72
#endif
vtkAbstractWidget::SetWidgetRepresentation
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
vtkBorderWidget
place a border around a 2D rectangular region
Definition
vtkBorderWidget.h:137
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkProgressBarRepresentation
represent a vtkProgressBarWidget
Definition
vtkProgressBarRepresentation.h:32
vtkProgressBarWidget
2D widget for placing and manipulating a progress bar
Definition
vtkProgressBarWidget.h:32
vtkProgressBarWidget::CreateDefaultRepresentation
void CreateDefaultRepresentation() override
Create the default widget representation if one is not set.
vtkProgressBarWidget::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK class methods.
vtkProgressBarWidget::vtkProgressBarWidget
vtkProgressBarWidget()
vtkProgressBarWidget::SetRepresentation
void SetRepresentation(vtkProgressBarRepresentation *r)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
Definition
vtkProgressBarWidget.h:52
vtkProgressBarWidget::~vtkProgressBarWidget
~vtkProgressBarWidget() override
vtkProgressBarWidget::New
static vtkProgressBarWidget * New()
Instantiate this class.
vtkWidgetRepresentation
abstract class defines interface between the widget and widget representation classes
Definition
vtkWidgetRepresentation.h:68
vtkBorderWidget.h
vtkWrappingHints.h
VTK_MARSHALAUTO
#define VTK_MARSHALAUTO
Definition
vtkWrappingHints.h:50
Generated on Sat Dec 21 2024 12:52:49 for VTK by
1.9.7