source: flair-src/trunk/lib/FlairCore/src/unexported/OneAxisRotation_impl.h@ 2

Last change on this file since 2 was 2, checked in by Sanahuja Guillaume, 8 years ago

flaircore

File size: 1.3 KB
Line 
1// %flair:license{
2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
4// %flair:license}
5/*!
6 * \file OneAxisRotation_impl.h
7 * \brief Classe définissant une rotation autour d'un axe
8 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
9 * \date 2013/04/17
10 * \version 4.0
11 */
12
13#ifndef ONEAXISROTATION_IMPL_H
14#define ONEAXISROTATION_IMPL_H
15
16namespace flair
17{
18 namespace core
19 {
20 class Vector3D;
21 class Euler;
22 class Quaternion;
23 class RotationMatrix;
24 }
25 namespace gui
26 {
27 class GroupBox;
28 class ComboBox;
29 class DoubleSpinBox;
30 }
31}
32
33/*! \class OneAxisRotation_impl
34* \brief Classe définissant une rotation autour d'un axe
35*
36*/
37class OneAxisRotation_impl
38{
39 public:
40 OneAxisRotation_impl(flair::gui::GroupBox* box);
41 ~OneAxisRotation_impl();
42 void ComputeRotation(flair::core::Vector3D& point) const;
43 void ComputeRotation(flair::core::Quaternion& quat) const;
44 void ComputeRotation(flair::core::RotationMatrix& matrix) const;
45 void ComputeRotation(flair::core::Euler& euler) const;
46
47 private:
48 flair::gui::ComboBox *rot_axe;
49 flair::gui::DoubleSpinBox* rot_value;
50};
51
52#endif // ONEAXISROTATION_IMPL_H
Note: See TracBrowser for help on using the repository browser.