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.
66 lines
1.6 KiB
C++
66 lines
1.6 KiB
C++
/*=========================================================================
|
|
|
|
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
|