VTK  9.0.20210920
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 =========================================================================*/
32 #ifndef vtkTDxInteractorStyle_h
33 #define vtkTDxInteractorStyle_h
34 
35 #include "vtkObject.h"
36 #include "vtkRenderingCoreModule.h" // For export macro
37 
39 class vtkRenderer;
41 
42 class VTKRENDERINGCORE_EXPORT vtkTDxInteractorStyle : public vtkObject
43 {
44 public:
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
52  virtual void OnMotionEvent(vtkTDxMotionEventInfo* motionInfo);
53 
57  virtual void OnButtonPressedEvent(int button);
58 
62  virtual void OnButtonReleasedEvent(int button);
63 
73  virtual void ProcessEvent(vtkRenderer* renderer, unsigned long event, void* calldata);
74 
76 
80  vtkGetObjectMacro(Settings, vtkTDxInteractorStyleSettings);
81  virtual void SetSettings(vtkTDxInteractorStyleSettings* settings);
83 
84 protected:
87 
89 
91 
92 private:
94  void operator=(const vtkTDxInteractorStyle&) = delete;
95 };
96 #endif
vtkTDxInteractorStyle::~vtkTDxInteractorStyle
~vtkTDxInteractorStyle() override
vtkTDxInteractorStyle::Settings
vtkTDxInteractorStyleSettings * Settings
Definition: vtkTDxInteractorStyle.h:88
vtkTDxInteractorStyle::vtkTDxInteractorStyle
vtkTDxInteractorStyle()
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:82
vtkTDxInteractorStyle::Renderer
vtkRenderer * Renderer
Definition: vtkTDxInteractorStyle.h:90
vtkTDxInteractorStyle::OnMotionEvent
virtual void OnMotionEvent(vtkTDxMotionEventInfo *motionInfo)
Action on motion event.
vtkTDxInteractorStyle::SetSettings
virtual void SetSettings(vtkTDxInteractorStyleSettings *settings)
3Dconnexion device settings.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkTDxInteractorStyleSettings
3DConnexion device settings
Definition: vtkTDxInteractorStyleSettings.h:35
vtkTDxInteractorStyle::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
vtkTDxMotionEventInfo
Store motion information from a 3DConnexion input device.
Definition: vtkTDxMotionEventInfo.h:33
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:182
vtkTDxInteractorStyle::OnButtonReleasedEvent
virtual void OnButtonReleasedEvent(int button)
Action on button released event.
vtkTDxInteractorStyle
provide 3DConnexion device event-driven interface to the rendering window
Definition: vtkTDxInteractorStyle.h:43
vtkTDxInteractorStyle::ProcessEvent
virtual void ProcessEvent(vtkRenderer *renderer, unsigned long event, void *calldata)
Dispatch the events TDxMotionEvent, TDxButtonPressEvent and TDxButtonReleaseEvent to OnMotionEvent(),...
vtkTDxInteractorStyle::OnButtonPressedEvent
virtual void OnButtonPressedEvent(int button)
Action on button pressed event.