VTK
vtkWidgetEvent.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkWidgetEvent.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 =========================================================================*/
25 #ifndef __vtkWidgetEvent_h
26 #define __vtkWidgetEvent_h
27 
28 #include "vtkObject.h"
29 
31 {
32 public:
34  static vtkWidgetEvent *New() ;
35 
37 
38  vtkTypeMacro(vtkWidgetEvent,vtkObject);
39  void PrintSelf(ostream& os, vtkIndent indent);
41 
42 //BTX
44 
46  NoEvent = 0,
65  Reset
66  };
67 //ETX
69 
71 
73  static const char *GetStringFromEventId(unsigned long event);
74  static unsigned long GetEventIdFromString(const char *event);
76 
77 protected:
79  virtual ~vtkWidgetEvent() {}
80 
81 private:
82  vtkWidgetEvent(const vtkWidgetEvent&); //Not implemented
83  void operator=(const vtkWidgetEvent&); //Not implemented
84 
85 };
86 
87 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:60
virtual ~vtkWidgetEvent()
define widget events
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_WIDGETS_EXPORT
static vtkObject * New()