VTK
9.0.1
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
=========================================================================*/
75
#ifndef vtkFinitePlaneWidget_h
76
#define vtkFinitePlaneWidget_h
77
78
#include "
vtkAbstractWidget.h
"
79
#include "vtkInteractionWidgetsModule.h"
// For export macro
80
81
class
vtkFinitePlaneRepresentation
;
82
class
vtkHandleWidget
;
83
84
class
VTKINTERACTIONWIDGETS_EXPORT
vtkFinitePlaneWidget
:
public
vtkAbstractWidget
85
{
86
public
:
90
static
vtkFinitePlaneWidget
*
New
();
91
93
96
vtkTypeMacro(
vtkFinitePlaneWidget
,
vtkAbstractWidget
);
97
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
99
105
void
SetRepresentation(
vtkFinitePlaneRepresentation
* r);
106
111
void
CreateDefaultRepresentation
()
override
;
112
113
protected
:
114
vtkFinitePlaneWidget
();
115
~
vtkFinitePlaneWidget
()
override
;
116
117
int
WidgetState
;
118
enum
_WidgetState
119
{
120
Start = 0,
121
Active
122
};
123
124
// These methods handle events
125
static
void
SelectAction(
vtkAbstractWidget
*);
126
static
void
EndSelectAction(
vtkAbstractWidget
*);
127
static
void
MoveAction(
vtkAbstractWidget
*);
128
133
int
UpdateCursorShape(
int
interactionState);
134
135
private
:
136
vtkFinitePlaneWidget
(
const
vtkFinitePlaneWidget
&) =
delete
;
137
void
operator=(
const
vtkFinitePlaneWidget
&) =
delete
;
138
};
139
140
#endif
vtkFinitePlaneRepresentation
represent the vtkFinitePlaneWidget.
Definition:
vtkFinitePlaneRepresentation.h:50
vtkHandleWidget
a general widget for moving handles
Definition:
vtkHandleWidget.h:78
vtkAbstractWidget::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAbstractWidget.h
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkFinitePlaneWidget::_WidgetState
_WidgetState
Definition:
vtkFinitePlaneWidget.h:118
vtkAbstractWidget
define the API for widget / widget representation
Definition:
vtkAbstractWidget.h:65
vtkAbstractWidget::CreateDefaultRepresentation
virtual void CreateDefaultRepresentation()=0
Create the default widget representation if one is not set.
vtkFinitePlaneWidget
3D widget for manipulating a finite plane
Definition:
vtkFinitePlaneWidget.h:84
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkFinitePlaneWidget::WidgetState
int WidgetState
Definition:
vtkFinitePlaneWidget.h:117
Generated on Thu Jun 25 2020 08:30:48 for VTK by
1.8.17