VTK
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 "vtkInteractionWidgetsModule.h" // For export macro
35 #include "vtkAbstractWidget.h"
36 
38 
40 {
41 public:
42  static vtkSplineWidget2* New();
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
47 
51  {
52  this->Superclass::SetWidgetRepresentation(
53  reinterpret_cast<vtkWidgetRepresentation*>(r));
54  }
56 
58 
61 //BTX
62 protected:
66 
68  enum _WidgetState {Start=0,Active};
69 
70  // These methods handle events
76 
77 private:
78  vtkSplineWidget2(const vtkSplineWidget2&); // Not implemented.
79  void operator=(const vtkSplineWidget2&); // Not implemented.
80 //ETX
81 };
82 
83 #endif
84 
85 
vtkSplineWidget2::SelectAction
static void SelectAction(vtkAbstractWidget *)
vtkAbstractWidget.h
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkWidgetRepresentation
abstract class defines interface between the widget and widget representation classes
Definition: vtkWidgetRepresentation.h:54
vtkSplineWidget2::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkInteractionWidgetsModule.h
vtkSplineWidget2::EndSelectAction
static void EndSelectAction(vtkAbstractWidget *)
vtkSplineWidget2::New
static vtkSplineWidget2 * New()
vtkSplineWidget2::TranslateAction
static void TranslateAction(vtkAbstractWidget *)
vtkSplineWidget2::MoveAction
static void MoveAction(vtkAbstractWidget *)
vtkAbstractWidget
define the API for widget / widget representation
Definition: vtkAbstractWidget.h:66
vtkSplineWidget2::WidgetState
int WidgetState
Definition: vtkSplineWidget2.h:67
vtkSplineWidget2::CreateDefaultRepresentation
void CreateDefaultRepresentation()
vtkSplineWidget2::ScaleAction
static void ScaleAction(vtkAbstractWidget *)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSplineWidget2::_WidgetState
_WidgetState
Definition: vtkSplineWidget2.h:68
vtkSplineWidget2::SetRepresentation
void SetRepresentation(vtkSplineRepresentation *r)
Definition: vtkSplineWidget2.h:50
vtkSplineWidget2::~vtkSplineWidget2
~vtkSplineWidget2()
vtkSplineWidget2
widget for vtkSplineRepresentation.
Definition: vtkSplineWidget2.h:40
vtkgl::r
GLdouble GLdouble GLdouble r
Definition: vtkgl.h:11610
VTKINTERACTIONWIDGETS_EXPORT
#define VTKINTERACTIONWIDGETS_EXPORT
Definition: vtkInteractionWidgetsModule.h:15
vtkSplineWidget2::vtkSplineWidget2
vtkSplineWidget2()
vtkSplineRepresentation
representation for a spline.
Definition: vtkSplineRepresentation.h:50