1#ifndef IGL_OPENGL_GFLW_IMGUI_SELECTIONWIDGET_H
2#define IGL_OPENGL_GFLW_IMGUI_SELECTIONWIDGET_H
38 Eigen::Matrix<float,2,2>
M = Eigen::Matrix<float,2,2>::Zero();
40 std::vector<Eigen::RowVector2f>
L;
53 IGL_INLINE static void circle(
const Eigen::Matrix<float,2,2> &
M, std::vector<Eigen::RowVector2f> &
L);
54 IGL_INLINE static void rect(
const Eigen::Matrix<float,2,2> &
M, std::vector<Eigen::RowVector2f> &
L);
57 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
62#ifndef IGL_STATIC_LIBRARY
63#include "SelectionWidget.cpp"
Plugin for the viewer to enable imgui widgets.
Definition ImGuiPlugin.h:32
#define IGL_INLINE
Definition igl_inline.h:15
Definition ImGuiMenu.h:24
Definition background_window.h:13
Definition render_to_tga.h:16
void mode(const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > &X, const int d, Eigen::Matrix< T, Eigen::Dynamic, 1 > &M)
Takes mode of coefficients in a matrix along a given dimension.