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

Last change on this file since 187 was 187, checked in by Sanahuja Guillaume, 4 years ago

changement post/pre rotation

File size: 1.3 KB
RevLine 
[2]1// %flair:license{
[15]2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
[2]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
[167]16#include <Vector3D.h>
17
[15]18namespace flair {
19namespace core {
20class Euler;
21class Quaternion;
22class RotationMatrix;
[2]23}
[15]24namespace gui {
25class GroupBox;
26class ComboBox;
27class DoubleSpinBox;
28}
29}
[2]30
31/*! \class OneAxisRotation_impl
32* \brief Classe définissant une rotation autour d'un axe
33*
34*/
[15]35class OneAxisRotation_impl {
36public:
[187]37  OneAxisRotation_impl(flair::gui::GroupBox *box,int rotationType);
[15]38  ~OneAxisRotation_impl();
[167]39  template <typename T> void ComputeRotation(flair::core::Vector3D<T> &point) const;
[15]40  void ComputeRotation(flair::core::Quaternion &quat) const;
41  void ComputeRotation(flair::core::RotationMatrix &matrix) const;
42  void ComputeRotation(flair::core::Euler &euler) const;
[144]43  int GetAxis() const;
44  float GetAngle() const;
45 
[15]46private:
47  flair::gui::ComboBox *rot_axe;
48  flair::gui::DoubleSpinBox *rot_value;
[187]49  int rotationType;
[2]50};
51
52#endif // ONEAXISROTATION_IMPL_H
Note: See TracBrowser for help on using the repository browser.