VTK
9.3.1
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
27
VTK_ABI_NAMESPACE_BEGIN
28
class
vtkProgressBarRepresentation
;
29
30
class
VTKINTERACTIONWIDGETS_EXPORT
vtkProgressBarWidget
:
public
vtkBorderWidget
31
{
32
public
:
36
static
vtkProgressBarWidget
*
New
();
37
39
42
vtkTypeMacro(
vtkProgressBarWidget
,
vtkBorderWidget
);
43
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
45
51
void
SetRepresentation
(
vtkProgressBarRepresentation
* r)
52
{
53
this->
Superclass::SetWidgetRepresentation
(reinterpret_cast<vtkWidgetRepresentation*>(r));
54
}
55
59
void
CreateDefaultRepresentation
()
override
;
60
61
protected
:
62
vtkProgressBarWidget
();
63
~
vtkProgressBarWidget
()
override
;
64
65
private
:
66
vtkProgressBarWidget
(
const
vtkProgressBarWidget
&) =
delete
;
67
void
operator=(
const
vtkProgressBarWidget
&) =
delete
;
68
};
69
70
VTK_ABI_NAMESPACE_END
71
#endif
vtkProgressBarRepresentation
represent a vtkProgressBarWidget
Definition:
vtkProgressBarRepresentation.h:29
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
vtkBorderWidget::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for class.
vtkBorderWidget::New
static vtkBorderWidget * New()
Method to instantiate class.
vtkProgressBarWidget
2D widget for placing and manipulating a progress bar
Definition:
vtkProgressBarWidget.h:30
vtkBorderWidget.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:28
vtkProgressBarWidget::SetRepresentation
void SetRepresentation(vtkProgressBarRepresentation *r)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene...
Definition:
vtkProgressBarWidget.h:51
vtkAbstractWidget::SetWidgetRepresentation
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
Generated on Sun Mar 23 2025 01:24:22 for VTK by
1.8.10