comac_desk_app/ThirdpartyLibs/Libs/windows-x86_64/vtk/include/vtkTDxMotionEventInfo.h

66 lines
1.6 KiB
C
Raw Permalink Normal View History

2024-11-21 11:50:43 +08:00
/*=========================================================================
Program: Visualization Toolkit
Module: vtkTDxMotionEventInfo.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 vtkTDxMotionEventInfo
* @brief Store motion information from a 3DConnexion input device
*
* vtkTDxMotionEventInfo is a data structure that stores the information about
* a motion event from a 3DConnexion input device.
*
* @sa
* vtkTDxDevice
*/
#ifndef vtkTDxMotionEventInfo_h
#define vtkTDxMotionEventInfo_h
#include "vtkObject.h" // for the export macro
#include "vtkRenderingCoreModule.h" // For export macro
class VTKRENDERINGCORE_EXPORT vtkTDxMotionEventInfo
{
public:
///@{
/**
* Translation coordinates
*/
double X;
double Y;
double Z;
///@}
/**
* Rotation angle.
* The angle is in arbitrary unit.
* It makes sense to have arbitrary unit
* because the data comes from a device
* where the information can be scaled by
* the end-user.
*/
double Angle;
///@{
/**
* Rotation axis expressed as a unit vector.
*/
double AxisX;
double AxisY;
double AxisZ;
///@}
};
#endif
// VTK-HeaderTest-Exclude: vtkTDxMotionEventInfo.h