4#include <igl/opengl/glfw/Viewer.h>
22 void initialize(igl::opengl::glfw::Viewer* viewer,
Class KinematicAnimation.
void initialize(igl::opengl::glfw::Viewer *viewer, Exoskeleton *left_exo, AnimatedHand *anim_hand, MenuHandler *menu_handler)
Initialize animation.
MenuHandler * m_menu_handler
Menu handler pointer.
Eigen::Matrix3d m_camera_center
Camera matrix.
bool m_initialize_animation
Bool start animation.
Eigen::Vector3d m_left_origin
Left hand origin.
KinematicAnimation()
Constructor.
Eigen::Vector3d m_right_origin
Right hand origin.
AnimatedHand * m_anim_hand
Animated hand pointer.
void setup_exoskeletons(igl::opengl::glfw::Viewer &viewer)
Setup exoskeletons.
Hand m_left_hand
Left and right hand.
Exoskeleton * m_left_exo
Exoskeleton handler pointer.
bool animation_loop(igl::opengl::glfw::Viewer &viewer)
Animation loop callback.