You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWTAI-Platform/3rd/VTK7.1/include/vtkTDxInteractorStyleCamera.h

60 lines
1.8 KiB
C++

/*=========================================================================
Program: Visualization Toolkit
Module: vtkTDxInteractorStyleCamera.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.
=========================================================================*/
/**
* @class vtkTDxInteractorStyleCamera
* @brief interactive manipulation of the camera with a 3DConnexion device
*
*
* vtkTDxInteractorStyleCamera allows the end-user to manipulate tha camera
* with a 3DConnexion device.
*
* @sa
* vtkInteractorStyle vtkRenderWindowInteractor
* vtkTDxInteractorStyle
*/
#ifndef vtkTDxInteractorStyleCamera_h
#define vtkTDxInteractorStyleCamera_h
#include "vtkRenderingCoreModule.h" // For export macro
#include "vtkTDxInteractorStyle.h"
class vtkTransform;
class VTKRENDERINGCORE_EXPORT vtkTDxInteractorStyleCamera : public vtkTDxInteractorStyle
{
public:
static vtkTDxInteractorStyleCamera *New();
vtkTypeMacro(vtkTDxInteractorStyleCamera,vtkTDxInteractorStyle);
void PrintSelf(ostream& os, vtkIndent indent);
/**
* Action on motion event.
* \pre: motionInfo_exist: motionInfo!=0
*/
virtual void OnMotionEvent(vtkTDxMotionEventInfo *motionInfo);
protected:
vtkTDxInteractorStyleCamera();
virtual ~vtkTDxInteractorStyleCamera();
vtkTransform *Transform; // Used for internal intermediate calculation.
private:
vtkTDxInteractorStyleCamera(const vtkTDxInteractorStyleCamera&) VTK_DELETE_FUNCTION;
void operator=(const vtkTDxInteractorStyleCamera&) VTK_DELETE_FUNCTION;
};
#endif