#include <glui.h>
Inherits GLUI_Mouse_Interaction.
Public Member Functions | |
int | iaction_mouse_down_handler (int local_x, int local_y) |
int | iaction_mouse_up_handler (int local_x, int local_y, bool inside) |
int | iaction_mouse_held_down_handler (int local_x, int local_y, bool inside) |
int | iaction_special_handler (int key, int modifiers) |
void | iaction_init (void) |
void | iaction_draw_active_area_persp (void) |
void | iaction_draw_active_area_ortho (void) |
void | iaction_dump (FILE *output) |
void | set_speed (float s) |
void | setup_texture (void) |
void | setup_lights (void) |
void | draw_2d_arrow (int radius, int filled, int orientation) |
void | draw_2d_x_arrows (int radius) |
void | draw_2d_y_arrows (int radius) |
void | draw_2d_z_arrows (int radius) |
void | draw_2d_xy_arrows (int radius) |
int | get_mouse_code (int x, int y) |
float | get_z (void) |
float | get_x (void) |
float | get_y (void) |
void | set_z (float val) |
void | set_x (float val) |
void | set_y (float val) |
void | set_one_val (float val, int index) |
GLUI_Translation (GLUI_Node *parent, const char *name, int trans_type, float *live_var=NULL, int id=-1, GLUI_CB callback=GLUI_CB()) | |
GLUI_Translation (void) | |
Public Attributes | |
int | trans_type |
int | down_x |
int | down_y |
float | scale_factor |
GLUquadricObj * | quadObj |
int | trans_mouse_code |
float | orig_x |
float | orig_y |
float | orig_z |
int | locked |
Protected Member Functions | |
void | common_init () |
GLUI_Translation::GLUI_Translation | ( | GLUI_Node * | parent, | |
const char * | name, | |||
int | trans_type, | |||
float * | live_var = NULL , |
|||
int | id = -1 , |
|||
GLUI_CB | callback = GLUI_CB() | |||
) |
GLUI_Translation::GLUI_Translation | ( | void | ) | [inline] |
void GLUI_Translation::common_init | ( | void | ) | [inline, protected] |
void GLUI_Translation::draw_2d_arrow | ( | int | radius, | |
int | filled, | |||
int | orientation | |||
) |
void GLUI_Translation::draw_2d_x_arrows | ( | int | radius | ) |
void GLUI_Translation::draw_2d_xy_arrows | ( | int | radius | ) |
void GLUI_Translation::draw_2d_y_arrows | ( | int | radius | ) |
void GLUI_Translation::draw_2d_z_arrows | ( | int | radius | ) |
int GLUI_Translation::get_mouse_code | ( | int | x, | |
int | y | |||
) |
float GLUI_Translation::get_x | ( | void | ) | [inline] |
float GLUI_Translation::get_y | ( | void | ) | [inline] |
float GLUI_Translation::get_z | ( | void | ) | [inline] |
void GLUI_Translation::iaction_draw_active_area_ortho | ( | void | ) | [virtual] |
Implements GLUI_Mouse_Interaction.
void GLUI_Translation::iaction_draw_active_area_persp | ( | void | ) | [virtual] |
Implements GLUI_Mouse_Interaction.
void GLUI_Translation::iaction_dump | ( | FILE * | output | ) | [virtual] |
Implements GLUI_Mouse_Interaction.
void GLUI_Translation::iaction_init | ( | void | ) | [inline, virtual] |
Implements GLUI_Mouse_Interaction.
int GLUI_Translation::iaction_mouse_down_handler | ( | int | local_x, | |
int | local_y | |||
) | [virtual] |
Implements GLUI_Mouse_Interaction.
int GLUI_Translation::iaction_mouse_held_down_handler | ( | int | local_x, | |
int | local_y, | |||
bool | inside | |||
) | [virtual] |
Implements GLUI_Mouse_Interaction.
int GLUI_Translation::iaction_mouse_up_handler | ( | int | local_x, | |
int | local_y, | |||
bool | inside | |||
) | [virtual] |
Implements GLUI_Mouse_Interaction.
int GLUI_Translation::iaction_special_handler | ( | int | key, | |
int | modifiers | |||
) | [virtual] |
Implements GLUI_Mouse_Interaction.
void GLUI_Translation::set_one_val | ( | float | val, | |
int | index | |||
) |
void GLUI_Translation::set_speed | ( | float | s | ) | [inline] |
void GLUI_Translation::set_x | ( | float | val | ) |
void GLUI_Translation::set_y | ( | float | val | ) |
void GLUI_Translation::set_z | ( | float | val | ) |
void GLUI_Translation::setup_lights | ( | void | ) |
void GLUI_Translation::setup_texture | ( | void | ) |
float GLUI_Translation::orig_x |
float GLUI_Translation::orig_y |
float GLUI_Translation::orig_z |
GLUquadricObj* GLUI_Translation::quadObj |