VTK
9.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Interaction
Widgets
vtkRectilinearWipeWidget.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkRectilinearWipeWidget.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
=========================================================================*/
92
#ifndef vtkRectilinearWipeWidget_h
93
#define vtkRectilinearWipeWidget_h
94
95
#include "
vtkAbstractWidget.h
"
96
#include "vtkInteractionWidgetsModule.h"
// For export macro
97
98
class
vtkRectilinearWipeRepresentation
;
99
100
class
VTKINTERACTIONWIDGETS_EXPORT
vtkRectilinearWipeWidget
:
public
vtkAbstractWidget
101
{
102
public
:
106
static
vtkRectilinearWipeWidget
*
New
();
107
109
112
vtkTypeMacro(
vtkRectilinearWipeWidget
,
vtkAbstractWidget
);
113
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
115
121
void
SetRepresentation
(
vtkRectilinearWipeRepresentation
* r)
122
{
123
this->Superclass::SetWidgetRepresentation(
reinterpret_cast<
vtkWidgetRepresentation
*
>
(r));
124
}
125
129
vtkRectilinearWipeRepresentation
*
GetRectilinearWipeRepresentation
()
130
{
131
return
reinterpret_cast<
vtkRectilinearWipeRepresentation
*
>
(this->
WidgetRep
);
132
}
133
137
void
CreateDefaultRepresentation
()
override
;
138
139
protected
:
140
vtkRectilinearWipeWidget
();
141
~vtkRectilinearWipeWidget
()
override
;
142
143
// These methods handle events
144
static
void
SelectAction
(
vtkAbstractWidget
*);
145
static
void
MoveAction
(
vtkAbstractWidget
*);
146
static
void
EndSelectAction
(
vtkAbstractWidget
*);
147
148
// helper methods for cursor management
149
void
SetCursor
(
int
state)
override
;
150
151
// Manage the state of the widget
152
int
WidgetState
;
153
enum
_WidgetState
154
{
155
Start = 0,
156
Selected
157
};
158
159
private
:
160
vtkRectilinearWipeWidget
(
const
vtkRectilinearWipeWidget
&) =
delete
;
161
void
operator=(
const
vtkRectilinearWipeWidget
&) =
delete
;
162
};
163
164
#endif
vtkAbstractWidget
define the API for widget / widget representation
Definition:
vtkAbstractWidget.h:75
vtkAbstractWidget::WidgetRep
vtkWidgetRepresentation * WidgetRep
Definition:
vtkAbstractWidget.h:184
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:43
vtkRectilinearWipeRepresentation
represent a vtkRectilinearWipeWidget
Definition:
vtkRectilinearWipeRepresentation.h:64
vtkRectilinearWipeWidget
interactively control an instance of vtkImageRectilinearWipe filter
Definition:
vtkRectilinearWipeWidget.h:101
vtkRectilinearWipeWidget::WidgetState
int WidgetState
Definition:
vtkRectilinearWipeWidget.h:152
vtkRectilinearWipeWidget::New
static vtkRectilinearWipeWidget * New()
Instantiate the class.
vtkRectilinearWipeWidget::SetRepresentation
void SetRepresentation(vtkRectilinearWipeRepresentation *r)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
Definition:
vtkRectilinearWipeWidget.h:121
vtkRectilinearWipeWidget::GetRectilinearWipeRepresentation
vtkRectilinearWipeRepresentation * GetRectilinearWipeRepresentation()
Return the representation as a vtkRectilinearWipeRepresentation.
Definition:
vtkRectilinearWipeWidget.h:129
vtkRectilinearWipeWidget::vtkRectilinearWipeWidget
vtkRectilinearWipeWidget()
vtkRectilinearWipeWidget::SelectAction
static void SelectAction(vtkAbstractWidget *)
vtkRectilinearWipeWidget::EndSelectAction
static void EndSelectAction(vtkAbstractWidget *)
vtkRectilinearWipeWidget::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Standard macros.
vtkRectilinearWipeWidget::SetCursor
void SetCursor(int state) override
vtkRectilinearWipeWidget::~vtkRectilinearWipeWidget
~vtkRectilinearWipeWidget() override
vtkRectilinearWipeWidget::MoveAction
static void MoveAction(vtkAbstractWidget *)
vtkRectilinearWipeWidget::_WidgetState
_WidgetState
Definition:
vtkRectilinearWipeWidget.h:154
vtkRectilinearWipeWidget::CreateDefaultRepresentation
void CreateDefaultRepresentation() override
Create the default widget representation if one is not set.
vtkWidgetRepresentation
abstract class defines interface between the widget and widget representation classes
Definition:
vtkWidgetRepresentation.h:60
vtkAbstractWidget.h
Generated on Thu Mar 21 2024 00:00:00 for VTK by
1.9.6