33#ifndef G4OPENGLXMVIEWER_HH
34#define G4OPENGLXMVIEWER_HH
191 XtPointer clientData,
195 XtPointer clientData,
199 XtPointer clientData,
203 XtPointer clientData,
214 XtPointer clientData,
218 XtPointer clientData,
222 XtPointer clientData,
226 XtIntervalId* timer_id);
229 XtPointer clientData,
233 XtPointer clientData,
237 XtPointer clientData,
241 XtIntervalId* timer_id);
244 XtPointer clientData,
248 XtPointer clientData,
252 XtPointer clientData,
256 XtPointer clientData,
260 XtPointer clientData,
264 XtPointer clientData,
268 XtPointer clientData,
272 XtPointer clientData,
276 XtPointer clientData,
280 XtPointer clientData,
284 XtIntervalId* timerid);
287 Widget* parent_frame_widget,
288 XtCallbackRec* radio_box_cb,
290 G4int default_button,
291 char* radio_box_name,
296 XtCallbackRec** arrow_callbacks,
297 Widget* parent_widget);
308 unsigned char* orientation,
309 unsigned char* direction,
310 XtCallbackRec** slider_box_cb,
311 Widget* parent_frame_widget);
314 XtIntervalId* timer_id);
317 XtIntervalId* timer_id);
320 XtPointer clientData,
324 XtPointer clientData,
328 XtPointer clientData,
332 XtPointer clientData,
336 XtPointer clientData,
340 XtPointer clientData,
344 XtPointer clientData,
348 XtPointer clientData,
352 XtPointer clientData,
friend class G4OpenGLXmViewer
G4OpenGLXmPushButton * fpok_button
G4OpenGLXmViewer & operator=(const G4OpenGLXmViewer &)
G4OpenGLXmTopLevelShell * fpmiscellany_top
static void rotate_in_theta(XtPointer clientData, XtIntervalId *timer_id)
static void wobble_timer_callback(XtPointer clientData, XtIntervalId *timerid)
static void set_pan_sens_callback(Widget w, XtPointer clientData, XtPointer callData)
G4OpenGLXmFramedBox * fpprint_style_box
G4OpenGLXmPushButton * fpwobble_button
G4OpenGLXmBox * fprotation_slider_box
static void set_wob_sens_callback(Widget w, XtPointer clientData, XtPointer callData)
static void background_color_callback(Widget w, XtPointer clientData, XtPointer callData)
static void antialias_callback(Widget w, XtPointer clientData, XtPointer callData)
static void phi_rotation_callback(Widget w, XtPointer clientData, XtPointer callData)
G4OpenGLXmSliderBar * fppanning_slider
static void set_print_colour_callback(Widget w, XtPointer clientData, XtPointer callData)
static void drawing_style_callback(Widget w, XtPointer clientData, XtPointer callData)
G4OpenGLXmSliderBar * fprotation_slider
G4OpenGLXmTextField * fpfov_text
Widget antialias_pullright
G4OpenGLXmTextField * fprot_set
static void resize_callback(Widget w, XtPointer clientData, XtPointer callData)
G4OpenGLXmBox * fprotation_button_box
static void set_rot_sens_callback(Widget w, XtPointer clientData, XtPointer callData)
static void haloing_callback(Widget w, XtPointer clientData, XtPointer callData)
G4OpenGLXmTopLevelShell * fpsetting_top
static void expose_callback(Widget w, XtPointer clientData, XtPointer callData)
static void aux_edge_callback(Widget w, XtPointer clientData, XtPointer callData)
G4OpenGLXmTextField * fpdolly_lower
G4OpenGLXmTextField * fpzoom_lower
G4OpenGLXmRadioButton * fpperspective_button
static void pan_up_down_callback(Widget w, XtPointer clientData, XtPointer callData)
G4OpenGLXmSeparator * fpprint_line
G4OpenGLXmRadioButton * fpprint_style_radio1
G4OpenGLXmFramedBox * fpproj_style_box
G4OpenGLXmPushButton * fpreset_button
static void print_callback(Widget w, XtPointer clientData, XtPointer callData)
XtIntervalId rotation_timer
static void Add_set_field(char *widget, char *widget_text, Widget *row_col_box, Widget *wid, G4double *val, G4OpenGLXmViewer *pView)
G4OpenGLXmViewer(const G4OpenGLXmViewer &)
G4OpenGLXmRadioButton * fporthogonal_button
static void pan_left_right_callback(Widget w, XtPointer clientData, XtPointer callData)
virtual ~G4OpenGLXmViewer()
G4OpenGLXmTextField * fpprint_text
G4OpenGLXmTopLevelShell * fpprint_top
G4OpenGLXmFramedBox * fpzoom_box
static void set_print_style_callback(Widget w, XtPointer clientData, XtPointer callData)
static void rotate_in_phi(XtPointer clientData, XtIntervalId *timer_id)
G4OpenGLXmFramedBox * fpprint_box
G4OpenGLXmPushButton * fpprint_button
G4OpenGLXmRadioButton * fpprint_style_radio2
Widget drawing_style_pullright
static void projection_callback(Widget w, XtPointer clientData, XtPointer callData)
G4OpenGLXmTextField * fpdolly_upper
static void set_rot_subject_callback(Widget w, XtPointer clientData, XtPointer callData)
G4OpenGLXmRadioButton * fprotation_button1
G4OpenGLXmFramedBox * fppanning_box
G4OpenGLXmBox * fprotation_arrow_box
G4OpenGLXmFramedBox * fpprint_col_box
G4OpenGLXmSliderBar * fpwobble_slider
static G4bool get_boolean_userData(Widget w)
static void zoom_callback(Widget w, XtPointer clientData, XtPointer callData)
G4OpenGLXmTopLevelShell * fppanning_top
G4OpenGLXmRadioButton * fpprint_col_radio1
G4OpenGLXmSliderBar * fpzoom_slider
static G4int get_int_userData(Widget w)
G4OpenGLXmFramedBox * fpsetting_box
G4OpenGLXmTopLevelShell * fprotation_top
static void misc_callback(Widget w, XtPointer clientData, XtPointer callData)
static void Add_four_arrow_buttons(G4OpenGLXmViewer *pView, XtCallbackRec **arrow_callbacks, Widget *parent_widget)
virtual void CreateMainWindow()
static void dolly_callback(Widget w, XtPointer clientData, XtPointer callData)
static void up_down_pan_callback(XtPointer clientData, XtIntervalId *timer_id)
G4OpenGLXmSliderBar * fpdolly_slider
static void left_right_pan_callback(XtPointer clientData, XtIntervalId *timer_id)
G4OpenGLXmRadioButton * fprotation_button2
static void Add_radio_box(char *label_string, Widget *parent_frame_widget, XtCallbackRec *radio_box_cb, G4int num_buttons, G4int default_button, char *radio_box_name, char **button_names, G4OpenGLXmViewer *pView)
G4OpenGLXmFramedBox * fpdolly_box
static void theta_rotation_callback(Widget w, XtPointer clientData, XtPointer callData)
G4OpenGLXmTextField * fpzoom_upper
G4OpenGLXmRadioButton * fpprint_col_radio2
Widget background_color_pullright
G4OpenGLXmFramedBox * fpwobble_box
Widget transparency_pullright
static void actions_callback(Widget w, XtPointer clientData, XtPointer callData)
G4OpenGLXmFourArrowButtons * fprotation_arrow
static void reset_callback(Widget w, XtPointer clientData, XtPointer callData)
static void get_double_value_callback(Widget w, XtPointer clientData, XtPointer callData)
G4OpenGLXmFramedBox * fpreset_box
static void wobble_callback(Widget w, XtPointer clientData, XtPointer callData)
static void Add_slider_box(char *label_string, G4int num_sliders, char **slider_name, G4OpenGLXmViewer *pView, G4double *min_array, G4double *max_array, G4double *value_array, G4bool *show, short *decimals, unsigned char *orientation, unsigned char *direction, XtCallbackRec **slider_box_cb, Widget *parent_frame_widget)
static void transparency_callback(Widget w, XtPointer clientData, XtPointer callData)
void UpdateControlPanel()
G4OpenGLXmTextField * fppan_set
static void get_text_callback(Widget w, XtPointer clientData, XtPointer callData)
XtIntervalId wobble_timer
static void update_panels_callback(Widget w, XtPointer clientData, XtPointer callData)
Widget aux_edge_pullright
G4OpenGLXmFourArrowButtons * fppanning_arrows