Changeset 15 in flair-src for trunk/lib/FlairCore/src/unexported/OneAxisRotation_impl.h
- Timestamp:
- 04/08/16 15:40:57 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/unexported/OneAxisRotation_impl.h
r2 r15 14 14 #define ONEAXISROTATION_IMPL_H 15 15 16 namespace 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 } 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 } 31 28 } 32 29 … … 35 32 * 36 33 */ 37 class 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; 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; 46 42 47 48 49 flair::gui::DoubleSpinBox*rot_value;43 private: 44 flair::gui::ComboBox *rot_axe; 45 flair::gui::DoubleSpinBox *rot_value; 50 46 }; 51 47
Note:
See TracChangeset
for help on using the changeset viewer.