|
Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4OpenGLStoredXmViewer.hh>
Inheritance diagram for G4OpenGLStoredXmViewer:Additional Inherited Members | |
Static Public Member Functions inherited from G4OpenGLXmViewer | |
| static void | expose_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | resize_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | actions_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | misc_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | Add_set_field (char *widget, char *widget_text, Widget *row_col_box, Widget *wid, G4double *val, G4OpenGLXmViewer *pView) |
| static void | zoom_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | dolly_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | pan_left_right_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | left_right_pan_callback (XtPointer clientData, XtIntervalId *timer_id) |
| static void | theta_rotation_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | phi_rotation_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | pan_up_down_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | up_down_pan_callback (XtPointer clientData, XtIntervalId *timer_id) |
| static void | drawing_style_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | background_color_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | set_rot_subject_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | set_rot_sens_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | set_pan_sens_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | set_wob_sens_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | projection_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | wobble_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | reset_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | update_panels_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | wobble_timer_callback (XtPointer clientData, XtIntervalId *timerid) |
| 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) |
| static void | Add_four_arrow_buttons (G4OpenGLXmViewer *pView, XtCallbackRec **arrow_callbacks, Widget *parent_widget) |
| 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 | rotate_in_theta (XtPointer clientData, XtIntervalId *timer_id) |
| static void | rotate_in_phi (XtPointer clientData, XtIntervalId *timer_id) |
| static void | get_double_value_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | get_text_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | transparency_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | antialias_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | haloing_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | aux_edge_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | set_print_colour_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | set_print_style_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static void | print_callback (Widget w, XtPointer clientData, XtPointer callData) |
| static G4bool | get_boolean_userData (Widget w) |
| static G4int | get_int_userData (Widget w) |
Public Attributes inherited from G4VViewer | |
| const G4int | fMaxNTouchables = 10000 |
| G4bool | fCurtailDescent = false |
Protected Member Functions inherited from G4OpenGLXmViewer | |
| virtual void | ShowView () |
| void | ResetView () |
| void | GetXmConnection () |
| virtual void | CreateMainWindow () |
Protected Member Functions inherited from G4OpenGLXViewer | |
| void | GetXConnection () |
| void | CreateGLXContext (XVisualInfo *vi) |
| virtual void | CreateFontLists () |
Protected Member Functions inherited from G4OpenGLViewer | |
| G4OpenGLViewer (G4OpenGLSceneHandler &scene) | |
| virtual | ~G4OpenGLViewer () |
| void | ChangePointSize (G4double size) |
| void | ChangeLineWidth (G4double width) |
| void | HaloingFirstPass () |
| void | HaloingSecondPass () |
| void | HLRFirstPass () |
| void | HLRSecondPass () |
| void | HLRThirdPass () |
| void | InitializeGLView () |
| void | ResizeGLView () |
| void | ResizeWindow (unsigned int, unsigned int) |
| virtual G4String | Pick (GLdouble x, GLdouble y) |
| const std::vector< G4OpenGLViewerPickMap * > & | GetPickDetails (GLdouble x, GLdouble y) |
| void | rotateScene (G4double dx, G4double dy) |
| void | rotateSceneToggle (G4double dx, G4double dy) |
| void | setExportSize (G4int, G4int) |
| bool | setExportFilename (G4String name, G4bool inc=true) |
| std::string | getRealPrintFilename () |
| unsigned int | getWinWidth () const |
| unsigned int | getWinHeight () const |
| G4bool | sizeHasChanged () |
| GLdouble | getSceneNearWidth () |
| GLdouble | getSceneFarWidth () |
| GLdouble | getSceneDepth () |
| void | addExportImageFormat (std::string format) |
| G4bool | isGl2psWriting () |
| G4bool | isFramebufferReady () |
| void | g4GluPickMatrix (GLdouble x, GLdouble y, GLdouble width, GLdouble height, GLint viewport[4]) |
| void | g4GluLookAt (GLdouble eyex, GLdouble eyey, GLdouble eyez, GLdouble centerx, GLdouble centery, GLdouble centerz, GLdouble upx, GLdouble upy, GLdouble upz) |
| void | g4GlOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near, GLdouble far) |
| void | g4GlFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near, GLdouble far) |
| bool | IsGettingPickInfos () const |
Protected Member Functions inherited from G4VViewer | |
| void | SetTouchable (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath) |
| void | TouchableSetVisibility (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath, G4bool visibility) |
| void | TouchableSetColour (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath, const G4Colour &) |
Protected Member Functions inherited from G4OpenGLStoredViewer | |
| void | KernelVisitDecision () |
| virtual G4bool | CompareForKernelVisit (G4ViewParameters &) |
| void | DrawDisplayLists () |
| virtual void | DisplayTimePOColourModification (G4Colour &, size_t) |
| void | AddPrimitiveForASingleFrame (const G4Text &text) |
| void | AddPrimitiveForASingleFrame (const G4Circle &circle) |
| virtual G4bool | POSelected (size_t) |
| virtual G4bool | TOSelected (size_t) |
Protected Attributes inherited from G4OpenGLXmViewer | |
| XtAppContext | app |
| XtWorkProcId | workId |
| Widget | toplevel |
| Widget | shell |
| Widget | main_win |
| Widget | menubar |
| Widget | style_cascade |
| Widget | actions_cascade |
| Widget | misc_cascade |
| Widget | spec_cascade |
| Widget | drawing_style_pullright |
| Widget | background_color_pullright |
| Widget | transparency_pullright |
| Widget | antialias_pullright |
| Widget | haloing_pullright |
| Widget | aux_edge_pullright |
| Widget | frame |
| Widget | glxarea |
| XmString | style_str |
| XmString | actions_str |
| XmString | misc_str |
| XmString | spec_str |
| XmString | draw_str |
| XmString | polyhedron_str |
| XmString | wireframe_str |
| XmString | hlr_str |
| XmString | hsr_str |
| XmString | hlhsr_str |
| XmString | set_str |
| XmString | rot_str |
| XmString | pan_str |
| XmString | exit_str |
| XmString | quit_str |
| XmString | print_str |
| XmString | white_str |
| XmString | black_str |
| XmString | anti_str |
| XmString | trans_str |
| XmString | halo_str |
| XmString | aux_edge_str |
| XmString | bgnd_str |
| XmString | off_str |
| XmString | on_str |
| G4double | zoom_high |
| G4double | zoom_low |
| G4double | pan_low |
| G4double | pan_high |
| G4double | dolly_low |
| G4double | dolly_high |
| G4double | fov |
| G4double | rot_sens_limit |
| G4double | pan_sens_limit |
| G4double | wob_high |
| G4double | wob_low |
| G4double | wob_sens |
| Pixel | bgnd |
| Pixel | borcol |
| G4bool | pan_right |
| G4bool | rotate_right |
| G4bool | pan_up |
| G4bool | rotate_up |
| XtIntervalId | rotation_timer |
| XtIntervalId | pan_timer |
| XtIntervalId | wobble_timer |
| G4Vector3D | original_vp |
| G4int | frameNo |
| G4String | menu_str [37] |
| G4OpenGLXmTopLevelShell * | fprotation_top |
| G4OpenGLXmBox * | fprotation_button_box |
| G4OpenGLXmRadioButton * | fprotation_button1 |
| G4OpenGLXmRadioButton * | fprotation_button2 |
| G4OpenGLXmBox * | fprotation_slider_box |
| G4OpenGLXmSliderBar * | fprotation_slider |
| G4OpenGLXmBox * | fprotation_arrow_box |
| G4OpenGLXmFourArrowButtons * | fprotation_arrow |
| G4OpenGLXmTopLevelShell * | fppanning_top |
| G4OpenGLXmFramedBox * | fppanning_box |
| G4OpenGLXmFourArrowButtons * | fppanning_arrows |
| G4OpenGLXmSliderBar * | fppanning_slider |
| G4OpenGLXmFramedBox * | fpzoom_box |
| G4OpenGLXmSliderBar * | fpzoom_slider |
| G4OpenGLXmFramedBox * | fpdolly_box |
| G4OpenGLXmSliderBar * | fpdolly_slider |
| G4OpenGLXmTopLevelShell * | fpsetting_top |
| G4OpenGLXmFramedBox * | fpsetting_box |
| G4OpenGLXmTextField * | fppan_set |
| G4OpenGLXmTextField * | fprot_set |
| G4OpenGLXmTextField * | fpzoom_upper |
| G4OpenGLXmTextField * | fpzoom_lower |
| G4OpenGLXmTextField * | fpdolly_upper |
| G4OpenGLXmTextField * | fpdolly_lower |
| G4OpenGLXmPushButton * | fpok_button |
| G4OpenGLXmTopLevelShell * | fpmiscellany_top |
| G4OpenGLXmFramedBox * | fpwobble_box |
| G4OpenGLXmPushButton * | fpwobble_button |
| G4OpenGLXmSliderBar * | fpwobble_slider |
| G4OpenGLXmFramedBox * | fpreset_box |
| G4OpenGLXmPushButton * | fpreset_button |
| G4OpenGLXmFramedBox * | fpproj_style_box |
| G4OpenGLXmRadioButton * | fporthogonal_button |
| G4OpenGLXmRadioButton * | fpperspective_button |
| G4OpenGLXmTextField * | fpfov_text |
| G4OpenGLXmTopLevelShell * | fpprint_top |
| G4OpenGLXmFramedBox * | fpprint_box |
| G4OpenGLXmFramedBox * | fpprint_col_box |
| G4OpenGLXmFramedBox * | fpprint_style_box |
| G4OpenGLXmTextField * | fpprint_text |
| G4OpenGLXmPushButton * | fpprint_button |
| G4OpenGLXmSeparator * | fpprint_line |
| G4OpenGLXmRadioButton * | fpprint_col_radio1 |
| G4OpenGLXmRadioButton * | fpprint_col_radio2 |
| G4OpenGLXmRadioButton * | fpprint_style_radio1 |
| G4OpenGLXmRadioButton * | fpprint_style_radio2 |
Protected Attributes inherited from G4OpenGLXViewer | |
| XWindowAttributes | xwa |
| Display * | dpy |
| XVisualInfo * | vi_immediate |
| XVisualInfo * | vi_stored |
| XVisualInfo * | vi |
| Colormap | cmap |
| XSetWindowAttributes | swa |
| GLXDrawable | win |
| GLXContext | cxMaster |
| GLXContext | cxVisSubThread |
| XEvent | event |
| G4int * | attributeList |
| G4int | errorBase |
| G4int | eventBase |
| G4int | major |
| G4int | minor |
| XSizeHints * | norm_hints |
| XWMHints * | wm_hints |
| XClassHint * | class_hints |
| Pixmap | icon_pixmap |
| XSizeHints * | size_hints |
| Atom | Xatom |
| XTextProperty | windowName |
| XTextProperty | iconName |
| char | charViewName [100] |
Protected Attributes inherited from G4OpenGLViewer | |
| G4bool | fPrintColour |
| G4bool | fVectoredPs |
| G4OpenGLSceneHandler & | fOpenGLSceneHandler |
| G4Colour | background |
| G4bool | transparency_enabled |
| G4bool | antialiasing_enabled |
| G4bool | haloing_enabled |
| G4gl2ps * | fGL2PSAction |
| G4double | fRot_sens |
| G4double | fPan_sens |
| unsigned int | fWinSize_x |
| unsigned int | fWinSize_y |
| std::vector< std::string > | fExportImageFormatVector |
| std::string | fDefaultExportImageFormat |
| std::string | fExportImageFormat |
| int | fExportFilenameIndex |
| G4int | fPrintSizeX |
| G4int | fPrintSizeY |
Protected Attributes inherited from G4VViewer | |
| G4VSceneHandler & | fSceneHandler |
| G4int | fViewId |
| G4String | fName |
| G4String | fShortName |
| G4ViewParameters | fVP |
| G4ViewParameters | fDefaultVP |
| G4double | fKernelVisitElapsedTimeSeconds = 999. |
| G4SceneTreeItem | fSceneTree |
| G4bool | fNeedKernelVisit |
Protected Attributes inherited from G4OpenGLStoredViewer | |
| G4OpenGLStoredSceneHandler & | fG4OpenGLStoredSceneHandler |
| G4ViewParameters | fLastVP |
| G4bool | fDepthTestEnable |
| G4Colour | fOldDisplayListColor |
Static Protected Attributes inherited from G4OpenGLXmViewer | |
| static const G4String | e_str = "" |
Static Protected Attributes inherited from G4OpenGLXViewer | |
| static int | snglBuf_RGBA [12] |
| static int | dblBuf_RGBA [13] |
| static XVisualInfo * | vi_single_buffer = 0 |
| static XVisualInfo * | vi_double_buffer = 0 |
Definition at line 41 of file G4OpenGLStoredXmViewer.hh.
| G4OpenGLStoredXmViewer::G4OpenGLStoredXmViewer | ( | G4OpenGLStoredSceneHandler & | scene, |
| const G4String & | name = "" ) |
Definition at line 39 of file G4OpenGLStoredXmViewer.cc.
|
virtual |
Definition at line 58 of file G4OpenGLStoredXmViewer.cc.
|
virtual |
Implements G4VViewer.
Definition at line 72 of file G4OpenGLStoredXmViewer.cc.
|
virtual |
Reimplemented from G4VViewer.
Definition at line 137 of file G4OpenGLStoredXmViewer.cc.
Referenced by DrawView().
|
virtual |
Reimplemented from G4VViewer.
Definition at line 61 of file G4OpenGLStoredXmViewer.cc.