/usr/include/paraview/vtkCameraManipulatorGUIHelper.h is in paraview-dev 5.0.1+dfsg1-4.
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 | /*=========================================================================
Program: ParaView
Module: vtkCameraManipulatorGUIHelper.h
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 vtkCameraManipulatorGUIHelper - Helper class for Camera
// Manipulators.
// .SECTION Description
// This class is the interaface that defines API for a helper class
// used by some specialized camera manipulators that needed
// access to GUI. GUI implementations subclass this.
// vtkPVInteractorStyle sets the helper on every manipulator,
// if available so that the manipulator can use it.
// .SECTION See Also
// vtkPVInteractorStyle
#ifndef vtkCameraManipulatorGUIHelper_h
#define vtkCameraManipulatorGUIHelper_h
#include "vtkObject.h"
#include "vtkPVVTKExtensionsRenderingModule.h" // needed for export macro
class VTKPVVTKEXTENSIONSRENDERING_EXPORT vtkCameraManipulatorGUIHelper : public vtkObject
{
public:
vtkTypeMacro(vtkCameraManipulatorGUIHelper, vtkObject);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Called by the manipulator to update the GUI.
// This typically involves calling processing pending
// events on the GUI.
virtual void UpdateGUI() = 0;
// Description:
// Some interactors use the bounds of the active source.
// The method returns 0 is no active source is present or
// not supported by GUI, otherwise returns 1 and the bounds
// are filled into the passed argument array.
virtual int GetActiveSourceBounds(double bounds[6])= 0;
// Description:
// Called to get/set the translation for the actor for the active
// source in the active view. If applicable returns 1, otherwise
// returns 0.
virtual int GetActiveActorTranslate(double translate[3])=0;
virtual int SetActiveActorTranslate(double translate[3])=0;
// Description:
// Get the center of rotation. Returns 0 if not applicable.
virtual int GetCenterOfRotation(double center[3]) = 0;
protected:
vtkCameraManipulatorGUIHelper();
~vtkCameraManipulatorGUIHelper();
private:
vtkCameraManipulatorGUIHelper(const vtkCameraManipulatorGUIHelper&); // Not implemented.
void operator=(const vtkCameraManipulatorGUIHelper&); // Not implemented.
};
#endif
|