VTK
dox
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 "vtkInteractionWidgetsModule.h"
// For export macro
73
#include "
vtkAbstractWidget.h
"
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
{Start = 0, Active};
113
114
// These methods handle events
115
static
void
SelectAction(
vtkAbstractWidget
*);
116
static
void
EndSelectAction(
vtkAbstractWidget
*);
117
static
void
MoveAction(
vtkAbstractWidget
*);
118
123
int
UpdateCursorShape(
int
interactionState );
124
125
private
:
126
vtkFinitePlaneWidget
(
const
vtkFinitePlaneWidget
&) =
delete
;
127
void
operator=(
const
vtkFinitePlaneWidget
&) =
delete
;
128
};
129
130
#endif
vtkFinitePlaneRepresentation
represent the vtkFinitePlaneWidget.
Definition:
vtkFinitePlaneRepresentation.h:50
vtkHandleWidget
a general widget for moving handles
Definition:
vtkHandleWidget.h:73
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:112
vtkAbstractWidget
define the API for widget / widget representation
Definition:
vtkAbstractWidget.h:63
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:78
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkFinitePlaneWidget::WidgetState
int WidgetState
Definition:
vtkFinitePlaneWidget.h:111
Generated by
1.8.16