33#ifndef G4OPENGLXMVIEWER_HH
34#define G4OPENGLXMVIEWER_HH
138 "Actions",
"actions",
139 "Miscellany",
"miscellany",
140 "Special",
"special",
141 "menubar",
"Drawing",
142 "Background color",
"Wireframe",
143 "Hidden line removal",
"Hidden surface removal",
144 "Hidden line and surface removal",
"drawing_style",
146 "background_color",
"Rotation control panel",
147 "Panning control panel",
"Set control panel limits",
148 "Miscellany control panel",
149 "Exit to G4Vis>",
"Create .eps file",
150 "Transparency",
"transparency",
151 "Antialiasing",
"antialias",
152 "Haloing",
"haloing",
153 "Auxiliary edges",
"aux_edge",
154 "Off",
"On",
"frame",
"glxarea" };
210 XtPointer clientData,
214 XtPointer clientData,
218 XtPointer clientData,
222 XtPointer clientData,
233 XtPointer clientData,
237 XtPointer clientData,
241 XtPointer clientData,
245 XtIntervalId* timer_id);
248 XtPointer clientData,
252 XtPointer clientData,
256 XtPointer clientData,
260 XtIntervalId* timer_id);
263 XtPointer clientData,
267 XtPointer clientData,
271 XtPointer clientData,
275 XtPointer clientData,
279 XtPointer clientData,
283 XtPointer clientData,
287 XtPointer clientData,
291 XtPointer clientData,
295 XtPointer clientData,
299 XtPointer clientData,
303 XtIntervalId* timerid);
306 Widget* parent_frame_widget,
307 XtCallbackRec* radio_box_cb,
309 G4int default_button,
310 char* radio_box_name,
315 XtCallbackRec** arrow_callbacks,
316 Widget* parent_widget);
327 unsigned char* orientation,
328 unsigned char* direction,
329 XtCallbackRec** slider_box_cb,
330 Widget* parent_frame_widget);
333 XtIntervalId* timer_id);
336 XtIntervalId* timer_id);
339 XtPointer clientData,
343 XtPointer clientData,
347 XtPointer clientData,
351 XtPointer clientData,
355 XtPointer clientData,
359 XtPointer clientData,
363 XtPointer clientData,
367 XtPointer clientData,
371 XtPointer clientData,
384 void UpdateControlPanel();
friend class G4OpenGLXmViewer
G4OpenGLXmPushButton * fpok_button
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)
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
static const G4String e_str
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)
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