![]() |
Prusa Slicer 2.6.0
|
#include <src/libigl/igl/opengl2/RotateWidget.h>
Public Types | |
| enum | DownType { DOWN_TYPE_X = 0 , DOWN_TYPE_Y = 1 , DOWN_TYPE_Z = 2 , DOWN_TYPE_OUTLINE = 3 , DOWN_TYPE_TRACKBALL = 4 , DOWN_TYPE_NONE = 5 , NUM_DOWN_TYPES = 6 } |
Public Member Functions | |
| RotateWidget () | |
| Eigen::Vector3d | unproject_onto (const int x, const int y) const |
| bool | intersect (const int x, const int y, Eigen::Vector3d &hit) const |
| double | unprojected_inner_radius () const |
| bool | down (const int x, const int y) |
| bool | drag (const int x, const int y) |
| bool | up (const int x, const int y) |
| bool | is_down () const |
| void | draw () const |
| void | draw_guide () const |
Static Public Member Functions | |
| static Eigen::Quaterniond | axis_q (const int a) |
| static Eigen::Vector3d | view_direction (const int x, const int y) |
| static Eigen::Vector3d | view_direction (const Eigen::Vector3d &pos) |
Public Attributes | |
| Eigen::Vector3d | pos |
| Eigen::Quaterniond | rot |
| Eigen::Quaterniond | down_rot |
| Eigen::Vector2d | down_xy |
| Eigen::Vector2d | drag_xy |
| Eigen::Vector2d | down_dir |
| Eigen::Vector3d | udown |
| Eigen::Vector3d | udrag |
| double | outer_radius_on_screen |
| double | outer_over_inner |
| bool | m_is_enabled |
| enum igl::opengl2::RotateWidget::DownType | down_type |
| enum igl::opengl2::RotateWidget::DownType | selected_type |
Static Private Member Functions | |
| static void | glColor4fv (const bool a, const Eigen::Vector4f &A) |
| Enumerator | |
|---|---|
| DOWN_TYPE_X | |
| DOWN_TYPE_Y | |
| DOWN_TYPE_Z | |
| DOWN_TYPE_OUTLINE | |
| DOWN_TYPE_TRACKBALL | |
| DOWN_TYPE_NONE | |
| NUM_DOWN_TYPES | |
|
inline |
|
inlinestatic |
References Eigen::QuaternionBase< Quaternion< _Scalar, _Options > >::Identity(), and igl::PI.
Here is the call graph for this function:References head(), igl::intersect(), igl::PI, and igl::opengl2::project().
Here is the call graph for this function:References Eigen::Quaternion< _Scalar, _Options >::coeffs(), Eigen::QuaternionBase< Derived >::conjugate(), igl::dot(), igl::mat4_to_quat(), Eigen::QuaternionBase< Derived >::normalize(), igl::PI, igl::opengl2::project(), and igl::trackball().
Here is the call graph for this function:
|
inline |
References cos(), igl::dot(), igl::FLOAT_EPS, igl::MAYA_BLUE(), igl::MAYA_CYAN(), igl::MAYA_GREEN(), igl::MAYA_GREY(), igl::MAYA_RED(), igl::MAYA_YELLOW(), igl::PI, Eigen::QuaternionBase< Derived >::setFromTwoVectors(), and sin().
Here is the call graph for this function:
|
inline |
References Eigen::QuaternionBase< Derived >::conjugate(), and GL_TRIANGLE_FAN.
Here is the call graph for this function:
|
inlinestaticprivate |
References glColor4fv(), and L.
Referenced by glColor4fv().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References igl::opengl2::project(), igl::ray_sphere_intersect(), and igl::opengl2::unproject().
Here is the call graph for this function:
|
inline |
Referenced by igl::opengl2::MouseController::is_widget_down().
Here is the caller graph for this function:
|
inline |
References igl::dot(), and igl::opengl2::unproject().
Here is the call graph for this function:
|
inline |
References igl::opengl2::project(), and igl::opengl2::unproject().
Here is the call graph for this function:
|
inlinestatic |
|
inlinestatic |
References igl::opengl2::unproject().
Here is the call graph for this function:| Eigen::Vector2d igl::opengl2::RotateWidget::down_dir |
| Eigen::Quaterniond igl::opengl2::RotateWidget::down_rot |
| enum igl::opengl2::RotateWidget::DownType igl::opengl2::RotateWidget::down_type |
| Eigen::Vector2d igl::opengl2::RotateWidget::down_xy |
| Eigen::Vector2d igl::opengl2::RotateWidget::drag_xy |
| bool igl::opengl2::RotateWidget::m_is_enabled |
| double igl::opengl2::RotateWidget::outer_over_inner |
| double igl::opengl2::RotateWidget::outer_radius_on_screen |
| Eigen::Vector3d igl::opengl2::RotateWidget::pos |
| Eigen::Quaterniond igl::opengl2::RotateWidget::rot |
| enum igl::opengl2::RotateWidget::DownType igl::opengl2::RotateWidget::selected_type |
| Eigen::Vector3d igl::opengl2::RotateWidget::udown |
| Eigen::Vector3d igl::opengl2::RotateWidget::udrag |