VTK
vtkTDxInteractorStyle.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTDxInteractorStyle.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 =========================================================================*/
34 #ifndef vtkTDxInteractorStyle_h
35 #define vtkTDxInteractorStyle_h
36 
37 #include "vtkRenderingCoreModule.h" // For export macro
38 #include "vtkObject.h"
39 
41 class vtkRenderer;
43 
45 {
46 public:
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
50  //BTX
53  virtual void OnMotionEvent(vtkTDxMotionEventInfo *motionInfo);
54 
56  virtual void OnButtonPressedEvent(int button);
57 
59 
60  virtual void OnButtonReleasedEvent(int button);
61  //ETX
63 
65 
71  virtual void ProcessEvent(vtkRenderer *renderer,
72  unsigned long event,
73  void *calldata);
75 
77 
80  virtual void SetSettings(vtkTDxInteractorStyleSettings *settings);
82 
83 protected:
86 
88 
90 
91 private:
92  vtkTDxInteractorStyle(const vtkTDxInteractorStyle&); // Not implemented.
93  void operator=(const vtkTDxInteractorStyle&); // Not implemented.
94 };
95 #endif
vtkTDxInteractorStyle::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkTDxInteractorStyle::~vtkTDxInteractorStyle
virtual ~vtkTDxInteractorStyle()
vtkTDxInteractorStyle::Settings
vtkTDxInteractorStyleSettings * Settings
Definition: vtkTDxInteractorStyle.h:87
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkTDxInteractorStyle::vtkTDxInteractorStyle
vtkTDxInteractorStyle()
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkTDxInteractorStyle::Renderer
vtkRenderer * Renderer
Definition: vtkTDxInteractorStyle.h:89
vtkgl::event
struct _cl_event * event
Definition: vtkgl.h:14387
vtkTDxInteractorStyle::OnMotionEvent
virtual void OnMotionEvent(vtkTDxMotionEventInfo *motionInfo)
vtkTDxInteractorStyle::SetSettings
virtual void SetSettings(vtkTDxInteractorStyleSettings *settings)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkRenderingCoreModule.h
vtkTDxInteractorStyleSettings
3DConnexion device settings
Definition: vtkTDxInteractorStyleSettings.h:34
vtkObject.h
vtkTDxMotionEventInfo
Store motion information from a 3DConnexion input device.
Definition: vtkTDxMotionEventInfo.h:35
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:64
vtkTDxInteractorStyle::OnButtonReleasedEvent
virtual void OnButtonReleasedEvent(int button)
vtkTDxInteractorStyle
provide 3DConnexion device event-driven interface to the rendering window
Definition: vtkTDxInteractorStyle.h:45
vtkTDxInteractorStyle::ProcessEvent
virtual void ProcessEvent(vtkRenderer *renderer, unsigned long event, void *calldata)
VTKRENDERINGCORE_EXPORT
#define VTKRENDERINGCORE_EXPORT
Definition: vtkRenderingCoreModule.h:15
vtkTDxInteractorStyle::OnButtonPressedEvent
virtual void OnButtonPressedEvent(int button)