libigl v2.5.0
Loading...
Searching...
No Matches
trackball.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include <Eigen/Geometry>
#include "trackball.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename Q_type >
void igl::trackball (const double w, const double h, const Q_type speed_factor, const double down_mouse_x, const double down_mouse_y, const double mouse_x, const double mouse_y, Q_type *quat)
 Applies a trackball drag to identity.
 
template<typename Q_type >
void igl::trackball (const double w, const double h, const Q_type speed_factor, const Q_type *down_quat, const double down_mouse_x, const double down_mouse_y, const double mouse_x, const double mouse_y, Q_type *quat)
 Applies a trackball drag to a given rotation.
 
template<typename Scalardown_quat , typename Scalarquat >
void igl::trackball (const double w, const double h, const double speed_factor, const Eigen::Quaternion< Scalardown_quat > &down_quat, const double down_mouse_x, const double down_mouse_y, const double mouse_x, const double mouse_y, Eigen::Quaternion< Scalarquat > &quat)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.