VTK
9.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Interaction
Widgets
vtkFinitePlaneWidget.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkFinitePlaneWidget.h
5
6
Copyright (c)
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
=========================================================================*/
69
#ifndef vtkFinitePlaneWidget_h
70
#define vtkFinitePlaneWidget_h
71
72
#include "
vtkAbstractWidget.h
"
73
#include "vtkInteractionWidgetsModule.h"
// For export macro
74
75
class
vtkFinitePlaneRepresentation
;
76
class
vtkHandleWidget
;
77
78
class
VTKINTERACTIONWIDGETS_EXPORT
vtkFinitePlaneWidget
:
public
vtkAbstractWidget
79
{
80
public
:
84
static
vtkFinitePlaneWidget
*
New
();
85
87
90
vtkTypeMacro(
vtkFinitePlaneWidget
,
vtkAbstractWidget
);
91
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
93
99
void
SetRepresentation
(
vtkFinitePlaneRepresentation
* r);
100
105
void
CreateDefaultRepresentation
()
override
;
106
107
protected
:
108
vtkFinitePlaneWidget
();
109
~vtkFinitePlaneWidget
()
override
;
110
111
int
WidgetState
;
112
enum
_WidgetState
113
{
114
Start = 0,
115
Active
116
};
117
118
// These methods handle events
119
static
void
SelectAction
(
vtkAbstractWidget
*);
120
static
void
EndSelectAction
(
vtkAbstractWidget
*);
121
static
void
MoveAction
(
vtkAbstractWidget
*);
122
127
int
UpdateCursorShape
(
int
interactionState);
128
129
private
:
130
vtkFinitePlaneWidget
(
const
vtkFinitePlaneWidget
&) =
delete
;
131
void
operator=(
const
vtkFinitePlaneWidget
&) =
delete
;
132
};
133
134
#endif
vtkAbstractWidget
define the API for widget / widget representation
Definition:
vtkAbstractWidget.h:63
vtkFinitePlaneRepresentation
represent the vtkFinitePlaneWidget.
Definition:
vtkFinitePlaneRepresentation.h:51
vtkFinitePlaneWidget
3D widget for manipulating a finite plane
Definition:
vtkFinitePlaneWidget.h:79
vtkFinitePlaneWidget::SelectAction
static void SelectAction(vtkAbstractWidget *)
vtkFinitePlaneWidget::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Standard vtkObject methods.
vtkFinitePlaneWidget::New
static vtkFinitePlaneWidget * New()
Instantiate the object.
vtkFinitePlaneWidget::SetRepresentation
void SetRepresentation(vtkFinitePlaneRepresentation *r)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
vtkFinitePlaneWidget::CreateDefaultRepresentation
void CreateDefaultRepresentation() override
Create the default widget representation if one is not set.
vtkFinitePlaneWidget::WidgetState
int WidgetState
Definition:
vtkFinitePlaneWidget.h:111
vtkFinitePlaneWidget::_WidgetState
_WidgetState
Definition:
vtkFinitePlaneWidget.h:113
vtkFinitePlaneWidget::MoveAction
static void MoveAction(vtkAbstractWidget *)
vtkFinitePlaneWidget::vtkFinitePlaneWidget
vtkFinitePlaneWidget()
vtkFinitePlaneWidget::~vtkFinitePlaneWidget
~vtkFinitePlaneWidget() override
vtkFinitePlaneWidget::UpdateCursorShape
int UpdateCursorShape(int interactionState)
Update the cursor shape based on the interaction state.
vtkFinitePlaneWidget::EndSelectAction
static void EndSelectAction(vtkAbstractWidget *)
vtkHandleWidget
a general widget for moving handles
Definition:
vtkHandleWidget.h:73
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:113
vtkAbstractWidget.h
Generated on Sat Feb 25 2023 08:59:35 for VTK by
1.9.4