VTK
vtkRectilinearWipeWidget.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRectilinearWipeWidget.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 =========================================================================*/
82 #ifndef vtkRectilinearWipeWidget_h
83 #define vtkRectilinearWipeWidget_h
84 
85 #include "vtkInteractionWidgetsModule.h" // For export macro
86 #include "vtkAbstractWidget.h"
87 
89 
90 
92 {
93 public:
96 
98 
100  void PrintSelf(ostream& os, vtkIndent indent);
102 
104 
108  {this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));}
110 
112 
114  {return reinterpret_cast<vtkRectilinearWipeRepresentation*>(this->WidgetRep);}
116 
119 
120 protected:
123 
124  // These methods handle events
128 
129  // helper methods for cursor management
130  void SetCursor(int state);
131 
132 //BTX - manage the state of the widget
135  {
136  Start=0,
137  Selected
138  };
139 //ETX
140 
141 private:
142  vtkRectilinearWipeWidget(const vtkRectilinearWipeWidget&); //Not implemented
143  void operator=(const vtkRectilinearWipeWidget&); //Not implemented
144 };
145 
146 #endif
vtkRectilinearWipeWidget::New
static vtkRectilinearWipeWidget * New()
vtkRectilinearWipeWidget::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkRectilinearWipeWidget::vtkRectilinearWipeWidget
vtkRectilinearWipeWidget()
vtkRectilinearWipeRepresentation
represent a vtkRectilinearWipeWidget
Definition: vtkRectilinearWipeRepresentation.h:58
vtkRectilinearWipeWidget::WidgetState
int WidgetState
Definition: vtkRectilinearWipeWidget.h:133
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
vtkAbstractWidget::WidgetRep
vtkWidgetRepresentation * WidgetRep
Definition: vtkAbstractWidget.h:159
vtkRectilinearWipeWidget::SelectAction
static void SelectAction(vtkAbstractWidget *)
vtkInteractionWidgetsModule.h
vtkRectilinearWipeWidget::CreateDefaultRepresentation
virtual void CreateDefaultRepresentation()
vtkRectilinearWipeWidget::EndSelectAction
static void EndSelectAction(vtkAbstractWidget *)
vtkRectilinearWipeWidget::SetCursor
void SetCursor(int state)
vtkAbstractWidget
define the API for widget / widget representation
Definition: vtkAbstractWidget.h:66
vtkRectilinearWipeWidget::_WidgetState
_WidgetState
Definition: vtkRectilinearWipeWidget.h:135
vtkRectilinearWipeWidget::~vtkRectilinearWipeWidget
~vtkRectilinearWipeWidget()
vtkRectilinearWipeWidget::MoveAction
static void MoveAction(vtkAbstractWidget *)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkRectilinearWipeWidget
interactively control an instance of vtkImageRectilinearWipe filter
Definition: vtkRectilinearWipeWidget.h:92
vtkgl::r
GLdouble GLdouble GLdouble r
Definition: vtkgl.h:11610
VTKINTERACTIONWIDGETS_EXPORT
#define VTKINTERACTIONWIDGETS_EXPORT
Definition: vtkInteractionWidgetsModule.h:15
vtkRectilinearWipeWidget::SetRepresentation
void SetRepresentation(vtkRectilinearWipeRepresentation *r)
Definition: vtkRectilinearWipeWidget.h:107
vtkRectilinearWipeWidget::GetRectilinearWipeRepresentation
vtkRectilinearWipeRepresentation * GetRectilinearWipeRepresentation()
Definition: vtkRectilinearWipeWidget.h:113