#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 | setup_texture (void) |
void | setup_lights (void) |
void | draw_ball (float radius) |
void | init_ball (void) |
void | reset (void) |
bool | needs_idle (void) const |
void | idle (void) |
void | copy_float_array_to_ball (void) |
void | copy_ball_to_float_array (void) |
void | set_spin (float damp_factor) |
GLUI_Rotation (GLUI_Node *parent, const char *name, float *live_var=NULL, int id=-1, GLUI_CB callback=GLUI_CB()) | |
GLUI_Rotation (void) | |
Public Attributes | |
Arcball * | ball |
GLUquadricObj * | quadObj |
bool | can_spin |
bool | spinning |
float | damping |
Protected Member Functions | |
void | common_init () |
GLUI_Rotation::GLUI_Rotation | ( | GLUI_Node * | parent, | |
const char * | name, | |||
float * | live_var = NULL , |
|||
int | id = -1 , |
|||
GLUI_CB | callback = GLUI_CB() | |||
) |
GLUI_Rotation::GLUI_Rotation | ( | void | ) | [inline] |
void GLUI_Rotation::common_init | ( | ) | [protected] |
void GLUI_Rotation::copy_ball_to_float_array | ( | void | ) |
void GLUI_Rotation::copy_float_array_to_ball | ( | void | ) |
void GLUI_Rotation::draw_ball | ( | float | radius | ) |
void GLUI_Rotation::iaction_draw_active_area_ortho | ( | void | ) | [virtual] |
Implements GLUI_Mouse_Interaction.
void GLUI_Rotation::iaction_draw_active_area_persp | ( | void | ) | [virtual] |
Implements GLUI_Mouse_Interaction.
void GLUI_Rotation::iaction_dump | ( | FILE * | output | ) | [virtual] |
Implements GLUI_Mouse_Interaction.
void GLUI_Rotation::iaction_init | ( | void | ) | [inline, virtual] |
Implements GLUI_Mouse_Interaction.
int GLUI_Rotation::iaction_mouse_down_handler | ( | int | local_x, | |
int | local_y | |||
) | [virtual] |
Implements GLUI_Mouse_Interaction.
int GLUI_Rotation::iaction_mouse_held_down_handler | ( | int | local_x, | |
int | local_y, | |||
bool | inside | |||
) | [virtual] |
Implements GLUI_Mouse_Interaction.
int GLUI_Rotation::iaction_mouse_up_handler | ( | int | local_x, | |
int | local_y, | |||
bool | inside | |||
) | [virtual] |
Implements GLUI_Mouse_Interaction.
int GLUI_Rotation::iaction_special_handler | ( | int | key, | |
int | modifiers | |||
) | [virtual] |
Implements GLUI_Mouse_Interaction.
void GLUI_Rotation::idle | ( | void | ) | [virtual] |
Reimplemented from GLUI_Control.
void GLUI_Rotation::init_ball | ( | void | ) |
bool GLUI_Rotation::needs_idle | ( | void | ) | const [virtual] |
Reimplemented from GLUI_Control.
void GLUI_Rotation::reset | ( | void | ) |
void GLUI_Rotation::set_spin | ( | float | damp_factor | ) |
void GLUI_Rotation::setup_lights | ( | void | ) |
void GLUI_Rotation::setup_texture | ( | void | ) |
Arcball* GLUI_Rotation::ball |
float GLUI_Rotation::damping |
GLUquadricObj* GLUI_Rotation::quadObj |