#include <View3DPy.h>
Public Types | |
enum | Orientation { Top , Bottom , Front , Rear , Left , Right , Isometric , Dimetric , Trimetric } |
Static Public Member Functions | |
static SbRotation | rotation (Orientation view) |
Formulas to get quaternion for axonometric views: More... | |
|
static |
Formulas to get quaternion for axonometric views:
The angles alpha and beta depend on the type of axonometry Isometric:
Dimetric:
Trimetric:
Verification code that the axonomtries are correct:
See also: http://www.mathematik.uni-marburg.de/~thormae/lectures/graphics1/graphics_6_2_ger_web.html#1 http://www.mathematik.uni-marburg.de/~thormae/lectures/graphics1/code_v2/Axonometric/qt/Axonometric.cpp https://de.wikipedia.org/wiki/Arkussinus_und_Arkuskosinus
References Bottom, Dimetric, Front, Isometric, Left, Rear, Right, Top, and Trimetric.
Referenced by femtaskpanels.task_element_rotation1D._TaskPanel::accept(), Gui::AbstractSplitView::onMsg(), Gui::View3DInventor::onMsg(), femtaskpanels.task_element_rotation1D._TaskPanel::rotation_changed(), Gui::View3DInventorPy::viewBottom(), Gui::View3DInventorPy::viewDefaultOrientation(), Gui::View3DInventorPy::viewDimetric(), Gui::View3DInventorPy::viewFront(), Gui::View3DInventorPy::viewIsometric(), Gui::View3DInventorPy::viewLeft(), Gui::View3DInventorPy::viewRear(), Gui::View3DInventorPy::viewRight(), Gui::View3DInventorPy::viewTop(), and Gui::View3DInventorPy::viewTrimetric().