/usr/include/vtk-5.10/vtkTDxInteractorStyle.h is in libvtk5-dev 5.10.1+dfsg-2.1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkTDxInteractorStyle.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkTDxInteractorStyle - provide 3DConnexion device event-driven interface to the rendering window
// .SECTION Description
// vtkTDxInteractorStyle is an abstract class defining an event-driven
// interface to support 3DConnexion device events send by
// vtkRenderWindowInteractor.
// vtkRenderWindowInteractor forwards events in a platform independent form to
// vtkInteractorStyle which can then delegate some processing to
// vtkTDxInteractorStyle.
// .SECTION See Also
// vtkInteractorStyle vtkRenderWindowInteractor
// vtkTDxInteractorStyleCamera
#ifndef __vtkTDxInteractorStyle_h
#define __vtkTDxInteractorStyle_h
#include "vtkObject.h"
class vtkTDxMotionEventInfo;
class vtkRenderer;
class vtkTDxInteractorStyleSettings;
class VTK_RENDERING_EXPORT vtkTDxInteractorStyle : public vtkObject
{
public:
vtkTypeMacro(vtkTDxInteractorStyle,vtkObject);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
// Description:
// Action on motion event. Default implementation is empty.
// \pre: motionInfo_exist: motionInfo!=0
virtual void OnMotionEvent(vtkTDxMotionEventInfo *motionInfo);
// Description:
// Action on button pressed event. Default implementation is empty.
virtual void OnButtonPressedEvent(int button);
// Description:
// Action on button released event. Default implementation is empty.
virtual void OnButtonReleasedEvent(int button);
//ETX
// Description:
// Dispatch the events TDxMotionEvent, TDxButtonPressEvent and
// TDxButtonReleaseEvent to OnMotionEvent(), OnButtonPressedEvent() and
// OnButtonReleasedEvent() respectively.
// It is called by the vtkInteractorStyle.
// This method is virtual for convenient but you should really override
// the On*Event() methods only.
// \pre renderer can be null.
virtual void ProcessEvent(vtkRenderer *renderer,
unsigned long event,
void *calldata);
// Description:
// 3Dconnexion device settings. (sensitivity, individual axis filters).
// Initial object is not null.
vtkGetObjectMacro(Settings,vtkTDxInteractorStyleSettings);
virtual void SetSettings(vtkTDxInteractorStyleSettings *settings);
protected:
vtkTDxInteractorStyle();
virtual ~vtkTDxInteractorStyle();
vtkTDxInteractorStyleSettings *Settings;
vtkRenderer *Renderer;
private:
vtkTDxInteractorStyle(const vtkTDxInteractorStyle&); // Not implemented.
void operator=(const vtkTDxInteractorStyle&); // Not implemented.
};
#endif
|