#ifndef dm_view_tools_H #define dm_view_tools_H #include #include #include #include #include #include void dm_view_tools_draw_ball(r3_t* p,double radius,GLUquadricObj* quad); /* Draws a ball at {p} with radius {radius}. */ void dm_view_tools_draw_stick(r3_t* p, r3_t* q, double radius, GLUquadricObj* quad); /* Draws a stick from {p} to {q} given radius {radius}. */ void dm_view_tools_draw_sequence(dm_seq_t *z, frgb_t* color, double radius, r3_t perturbation); /* Paints the sequence {z} and displaces it in R3 space adding {perturbation} to the datum coordinates*/ void dm_view_tools_draw_tetrahedron ( void ); /* Paints the tetrahedron. */ void dm_view_tools_draw_pairing( msm_rung_vec_t* gv, dm_seq_t* x,dm_seq_t* y, frgb_t* color_x,frgb_t* color_y, frgb_t* color_p, double radius, bool_t perturbation ); /*Paints sequences {x} and {y} with colors {color_x} and {color_y}, and connected pairs informed by the pairing {gv} with sticks colored with {color_p}. If {perturbation} is TRUE, displaces the second sequence by a slight perturbation, proportional to {radius} */ #endif