Last change
on this file since 15 was 15, checked in by Bayard Gildas, 8 years ago |
sources reformatted with flair-format-dir script
|
File size:
1.1 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 |
|
---|
16 | namespace flair {
|
---|
17 | namespace core {
|
---|
18 | class Vector3D;
|
---|
19 | class Euler;
|
---|
20 | class Quaternion;
|
---|
21 | class RotationMatrix;
|
---|
22 | }
|
---|
23 | namespace gui {
|
---|
24 | class GroupBox;
|
---|
25 | class ComboBox;
|
---|
26 | class DoubleSpinBox;
|
---|
27 | }
|
---|
28 | }
|
---|
29 |
|
---|
30 | /*! \class OneAxisRotation_impl
|
---|
31 | * \brief Classe définissant une rotation autour d'un axe
|
---|
32 | *
|
---|
33 | */
|
---|
34 | class OneAxisRotation_impl {
|
---|
35 | public:
|
---|
36 | OneAxisRotation_impl(flair::gui::GroupBox *box);
|
---|
37 | ~OneAxisRotation_impl();
|
---|
38 | void ComputeRotation(flair::core::Vector3D &point) const;
|
---|
39 | void ComputeRotation(flair::core::Quaternion &quat) const;
|
---|
40 | void ComputeRotation(flair::core::RotationMatrix &matrix) const;
|
---|
41 | void ComputeRotation(flair::core::Euler &euler) const;
|
---|
42 |
|
---|
43 | private:
|
---|
44 | flair::gui::ComboBox *rot_axe;
|
---|
45 | flair::gui::DoubleSpinBox *rot_value;
|
---|
46 | };
|
---|
47 |
|
---|
48 | #endif // ONEAXISROTATION_IMPL_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.