VTK
dox
Interaction
Widgets
vtkProgressBarWidget.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkProgressBarWidget.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
=========================================================================*/
33
#ifndef vtkProgressBarWidget_h
34
#define vtkProgressBarWidget_h
35
36
#include "vtkInteractionWidgetsModule.h"
// For export macro
37
#include "
vtkBorderWidget.h
"
38
39
class
vtkProgressBarRepresentation
;
40
41
class
VTKINTERACTIONWIDGETS_EXPORT
vtkProgressBarWidget
:
public
vtkBorderWidget
42
{
43
public
:
47
static
vtkProgressBarWidget
*
New
();
48
50
53
vtkTypeMacro(
vtkProgressBarWidget
,
vtkBorderWidget
);
54
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
56
62
void
SetRepresentation
(
vtkProgressBarRepresentation
*r)
63
{this->
Superclass::SetWidgetRepresentation
(reinterpret_cast<vtkWidgetRepresentation*>(r));}
64
68
void
CreateDefaultRepresentation
()
override
;
69
70
protected
:
71
vtkProgressBarWidget
();
72
~
vtkProgressBarWidget
()
override
;
73
74
private
:
75
vtkProgressBarWidget
(
const
vtkProgressBarWidget
&) =
delete
;
76
void
operator=(
const
vtkProgressBarWidget
&) =
delete
;
77
};
78
79
#endif
vtkBorderWidget
place a border around a 2D rectangular region
Definition:
vtkBorderWidget.h:85
vtkBorderWidget::CreateDefaultRepresentation
void CreateDefaultRepresentation() override
Create the default widget representation if one is not set.
vtkBorderWidget.h
vtkBorderWidget::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkProgressBarRepresentation
represent a vtkProgressBarWidget
Definition:
vtkProgressBarRepresentation.h:40
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkBorderWidget::New
static vtkBorderWidget * New()
Method to instantiate class.
vtkProgressBarWidget
2D widget for placing and manipulating a progress bar
Definition:
vtkProgressBarWidget.h:41
vtkAbstractWidget::SetWidgetRepresentation
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
vtkProgressBarWidget::SetRepresentation
void SetRepresentation(vtkProgressBarRepresentation *r)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
Definition:
vtkProgressBarWidget.h:62
Generated by
1.8.16