VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Widgets
vtkSplineWidget2.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkSplineWidget2.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
=========================================================================*/
31
#ifndef __vtkSplineWidget2_h
32
#define __vtkSplineWidget2_h
33
34
#include "
vtkAbstractWidget.h
"
35
36
class
vtkSplineRepresentation
;
37
38
class
VTK_WIDGETS_EXPORT
vtkSplineWidget2
:
public
vtkAbstractWidget
39
{
40
public
:
41
static
vtkSplineWidget2
*
New
();
42
vtkTypeMacro(
vtkSplineWidget2
,
vtkAbstractWidget
);
43
void
PrintSelf
(ostream& os,
vtkIndent
indent);
44
46
49
void
SetRepresentation
(
vtkSplineRepresentation
*r)
50
{
51
this->Superclass::SetWidgetRepresentation(
52
reinterpret_cast<vtkWidgetRepresentation*>(r));
53
}
55
57
59
void
CreateDefaultRepresentation
();
60
//BTX
61
protected
:
62
vtkSplineWidget2
();
63
~
vtkSplineWidget2
();
65
66
int
WidgetState
;
67
enum
_WidgetState
{Start=0,Active};
68
69
// These methods handle events
70
static
void
SelectAction(
vtkAbstractWidget
*);
71
static
void
EndSelectAction(
vtkAbstractWidget
*);
72
static
void
TranslateAction(
vtkAbstractWidget
*);
73
static
void
ScaleAction(
vtkAbstractWidget
*);
74
static
void
MoveAction(
vtkAbstractWidget
*);
75
76
private
:
77
vtkSplineWidget2
(
const
vtkSplineWidget2
&);
// Not implemented.
78
void
operator=(
const
vtkSplineWidget2
&);
// Not implemented.
79
//ETX
80
};
81
82
#endif
83
84
Generated on Fri Aug 2 2013 12:20:04 for VTK by
1.8.4