#include <model_control.hpp>
|
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | ModelControl (const std::string &name, const Eigen::Matrix4f &init_model_matrix=Eigen::Matrix4f::Identity()) |
| |
| void | draw_ui () |
| |
| void | draw_gizmo_ui () |
| |
| void | draw_gizmo () |
| |
| void | draw_gizmo (int win_x, int win_y, int win_w, int win_h, const Eigen::Matrix4f &view, const Eigen::Matrix4f &projection, bool on_window=false) |
| |
| bool | is_guizmo_using () const |
| |
| const std::string & | model_name () const |
| |
| Eigen::Matrix4f | model_matrix () const |
| |
| void | set_model_matrix (const Eigen::Matrix4f &matrix) |
| |
| void | set_model_matrix (const Eigen::Matrix4d &matrix) |
| |
| template<typename Scalar , int Mode> |
| void | set_model_matrix (const Eigen::Transform< Scalar, 3, Mode > &matrix) |
| |
| void | set_gizmo_enabled (bool enabled) |
| |
| void | enable_gizmo () |
| |
| void | disable_gizmo () |
| |
| void | set_gizmo_operation (const std::string &operation) |
| |
| void | set_gizmo_operation (int operation) |
| |
| void | set_gizmo_mode (int mode) |
| |
| void | set_gizmo_clip_scale (float space=0.1f) |
| |
◆ ModelControl()
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW guik::ModelControl::ModelControl |
( |
const std::string & |
name, |
|
|
const Eigen::Matrix4f & |
init_model_matrix = Eigen::Matrix4f::Identity() |
|
) |
| |
◆ disable_gizmo()
| void guik::ModelControl::disable_gizmo |
( |
| ) |
|
◆ draw_gizmo() [1/2]
| void guik::ModelControl::draw_gizmo |
( |
| ) |
|
◆ draw_gizmo() [2/2]
| void guik::ModelControl::draw_gizmo |
( |
int |
win_x, |
|
|
int |
win_y, |
|
|
int |
win_w, |
|
|
int |
win_h, |
|
|
const Eigen::Matrix4f & |
view, |
|
|
const Eigen::Matrix4f & |
projection, |
|
|
bool |
on_window = false |
|
) |
| |
◆ draw_gizmo_ui()
| void guik::ModelControl::draw_gizmo_ui |
( |
| ) |
|
◆ draw_ui()
| void guik::ModelControl::draw_ui |
( |
| ) |
|
◆ enable_gizmo()
| void guik::ModelControl::enable_gizmo |
( |
| ) |
|
◆ is_guizmo_using()
| bool guik::ModelControl::is_guizmo_using |
( |
| ) |
const |
◆ model_matrix()
| Eigen::Matrix4f guik::ModelControl::model_matrix |
( |
| ) |
const |
◆ model_name()
| const std::string & guik::ModelControl::model_name |
( |
| ) |
const |
◆ set_gizmo_clip_scale()
| void guik::ModelControl::set_gizmo_clip_scale |
( |
float |
space = 0.1f | ) |
|
◆ set_gizmo_enabled()
| void guik::ModelControl::set_gizmo_enabled |
( |
bool |
enabled | ) |
|
◆ set_gizmo_mode()
| void guik::ModelControl::set_gizmo_mode |
( |
int |
mode | ) |
|
◆ set_gizmo_operation() [1/2]
| void guik::ModelControl::set_gizmo_operation |
( |
const std::string & |
operation | ) |
|
◆ set_gizmo_operation() [2/2]
| void guik::ModelControl::set_gizmo_operation |
( |
int |
operation | ) |
|
◆ set_model_matrix() [1/3]
| void guik::ModelControl::set_model_matrix |
( |
const Eigen::Matrix4d & |
matrix | ) |
|
|
inline |
◆ set_model_matrix() [2/3]
| void guik::ModelControl::set_model_matrix |
( |
const Eigen::Matrix4f & |
matrix | ) |
|
|
inline |
◆ set_model_matrix() [3/3]
template<typename Scalar , int Mode>
| void guik::ModelControl::set_model_matrix |
( |
const Eigen::Transform< Scalar, 3, Mode > & |
matrix | ) |
|
|
inline |
The documentation for this class was generated from the following file: