VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
=========================================================================*/
72
#ifndef vtkFinitePlaneWidget_h
73
#define vtkFinitePlaneWidget_h
74
75
#include "vtkInteractionWidgetsModule.h"
// For export macro
76
#include "
vtkAbstractWidget.h
"
77
78
class
vtkFinitePlaneRepresentation
;
79
class
vtkHandleWidget
;
80
81
class
VTKINTERACTIONWIDGETS_EXPORT
vtkFinitePlaneWidget
:
public
vtkAbstractWidget
82
{
83
public
:
87
static
vtkFinitePlaneWidget
*
New
();
88
90
93
vtkTypeMacro(
vtkFinitePlaneWidget
,
vtkAbstractWidget
);
94
void
PrintSelf
(ostream& os,
vtkIndent
indent);
96
102
void
SetRepresentation
(
vtkFinitePlaneRepresentation
*r);
103
108
void
CreateDefaultRepresentation
();
109
110
protected
:
111
vtkFinitePlaneWidget
();
112
~vtkFinitePlaneWidget
();
113
114
int
WidgetState
;
115
enum
_WidgetState
{Start = 0, Active};
116
117
// These methods handle events
118
static
void
SelectAction
(
vtkAbstractWidget
*);
119
static
void
EndSelectAction
(
vtkAbstractWidget
*);
120
static
void
MoveAction
(
vtkAbstractWidget
*);
121
126
int
UpdateCursorShape
(
int
interactionState );
127
128
private
:
129
vtkFinitePlaneWidget
(
const
vtkFinitePlaneWidget
&) VTK_DELETE_FUNCTION;
130
void
operator=(
const
vtkFinitePlaneWidget
&) VTK_DELETE_FUNCTION;
131
};
132
133
#endif
vtkAbstractWidget
define the API for widget / widget representation
Definition:
vtkAbstractWidget.h:64
vtkFinitePlaneRepresentation
represent the vtkFinitePlaneWidget.
Definition:
vtkFinitePlaneRepresentation.h:54
vtkFinitePlaneWidget
3D widget for manipulating a finite plane
Definition:
vtkFinitePlaneWidget.h:82
vtkFinitePlaneWidget::SelectAction
static void SelectAction(vtkAbstractWidget *)
vtkFinitePlaneWidget::New
static vtkFinitePlaneWidget * New()
Instantiate the object.
vtkFinitePlaneWidget::CreateDefaultRepresentation
void CreateDefaultRepresentation()
Create the default widget representation if one is not set.
vtkFinitePlaneWidget::SetRepresentation
void SetRepresentation(vtkFinitePlaneRepresentation *r)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
vtkFinitePlaneWidget::WidgetState
int WidgetState
Definition:
vtkFinitePlaneWidget.h:114
vtkFinitePlaneWidget::~vtkFinitePlaneWidget
~vtkFinitePlaneWidget()
vtkFinitePlaneWidget::_WidgetState
_WidgetState
Definition:
vtkFinitePlaneWidget.h:115
vtkFinitePlaneWidget::MoveAction
static void MoveAction(vtkAbstractWidget *)
vtkFinitePlaneWidget::vtkFinitePlaneWidget
vtkFinitePlaneWidget()
vtkFinitePlaneWidget::UpdateCursorShape
int UpdateCursorShape(int interactionState)
Update the cursor shape based on the interaction state.
vtkFinitePlaneWidget::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkFinitePlaneWidget::EndSelectAction
static void EndSelectAction(vtkAbstractWidget *)
vtkHandleWidget
a general widget for moving handles
Definition:
vtkHandleWidget.h:77
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkAbstractWidget.h
Generated by
1.9.4