Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4OpenGLXViewer.hh>
Protected Member Functions | |
void | GetXConnection () |
void | CreateGLXContext (XVisualInfo *vi) |
virtual void | CreateMainWindow () |
virtual void | CreateFontLists () |
Protected Member Functions inherited from G4OpenGLViewer | |
G4OpenGLViewer (G4OpenGLSceneHandler &scene) | |
virtual | ~G4OpenGLViewer () |
void | ResetView () |
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) |
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 &) |
Static Protected Attributes | |
static int | snglBuf_RGBA [12] |
static int | dblBuf_RGBA [13] |
static XVisualInfo * | vi_single_buffer = 0 |
static XVisualInfo * | vi_double_buffer = 0 |
Friends | |
class | G4OpenGLXViewerMessenger |
class | G4OpenGLXmViewer |
Definition at line 47 of file G4OpenGLXViewer.hh.
G4OpenGLXViewer::G4OpenGLXViewer | ( | G4OpenGLSceneHandler & | scene | ) |
Definition at line 461 of file G4OpenGLXViewer.cc.
|
virtual |
Definition at line 542 of file G4OpenGLXViewer.cc.
|
protectedvirtual |
Reimplemented from G4OpenGLViewer.
Definition at line 356 of file G4OpenGLXViewer.cc.
Referenced by G4OpenGLImmediateXViewer::Initialise(), and G4OpenGLStoredXViewer::Initialise().
|
protected |
Definition at line 172 of file G4OpenGLXViewer.cc.
Referenced by G4OpenGLImmediateXmViewer::Initialise(), G4OpenGLImmediateXViewer::Initialise(), G4OpenGLStoredXmViewer::Initialise(), and G4OpenGLStoredXViewer::Initialise().
|
protectedvirtual |
Reimplemented in G4OpenGLXmViewer.
Definition at line 261 of file G4OpenGLXViewer.cc.
Referenced by G4OpenGLImmediateXViewer::Initialise(), and G4OpenGLStoredXViewer::Initialise().
|
virtual |
Reimplemented from G4OpenGLViewer.
Definition at line 396 of file G4OpenGLXViewer.cc.
|
protected |
Definition at line 153 of file G4OpenGLXViewer.cc.
Referenced by G4OpenGLXViewer().
|
virtual |
Reimplemented from G4OpenGLViewer.
Definition at line 91 of file G4OpenGLXViewer.cc.
Referenced by G4OpenGLXmViewer::antialias_callback(), G4OpenGLXmViewer::aux_edge_callback(), G4OpenGLXmViewer::background_color_callback(), G4OpenGLXmViewer::dolly_callback(), G4OpenGLXmViewer::drawing_style_callback(), G4OpenGLXmViewer::haloing_callback(), G4OpenGLXmViewer::left_right_pan_callback(), G4OpenGLXmViewer::projection_callback(), G4OpenGLXmViewer::reset_callback(), G4OpenGLXmViewer::rotate_in_phi(), G4OpenGLXmViewer::rotate_in_theta(), G4OpenGLXmViewer::transparency_callback(), G4OpenGLXmViewer::up_down_pan_callback(), G4OpenGLXmViewer::wobble_timer_callback(), and G4OpenGLXmViewer::zoom_callback().
|
virtual |
Reimplemented from G4VViewer.
Definition at line 104 of file G4OpenGLXViewer.cc.
|
friend |
Definition at line 50 of file G4OpenGLXViewer.hh.
|
friend |
Definition at line 49 of file G4OpenGLXViewer.hh.
|
protected |
Definition at line 89 of file G4OpenGLXViewer.hh.
Referenced by G4OpenGLXViewer().
|
protected |
Definition at line 102 of file G4OpenGLXViewer.hh.
Referenced by CreateMainWindow().
|
protected |
Definition at line 96 of file G4OpenGLXViewer.hh.
Referenced by CreateMainWindow().
|
protected |
Definition at line 81 of file G4OpenGLXViewer.hh.
Referenced by G4OpenGLXmViewer::Add_four_arrow_buttons(), G4OpenGLXmViewer::Add_radio_box(), G4OpenGLXmViewer::Add_set_field(), G4OpenGLXmViewer::Add_slider_box(), CreateGLXContext(), G4OpenGLXmViewer::CreateMainWindow(), CreateMainWindow(), and G4OpenGLXmVWidgetObject::ProcesspView().
|
protected |
Definition at line 84 of file G4OpenGLXViewer.hh.
Referenced by CreateGLXContext(), G4OpenGLXmViewer::CreateMainWindow(), CreateMainWindow(), SetView(), and ~G4OpenGLXViewer().
|
staticprotected |
Definition at line 66 of file G4OpenGLXViewer.hh.
Referenced by G4OpenGLXViewer().
|
protected |
Definition at line 75 of file G4OpenGLXViewer.hh.
Referenced by CreateFontLists(), CreateGLXContext(), G4OpenGLXmViewer::CreateMainWindow(), CreateMainWindow(), G4OpenGLStoredXmViewer::FinishView(), G4OpenGLStoredXViewer::FinishView(), G4OpenGLXViewer(), GetXConnection(), G4OpenGLXmViewer::GetXmConnection(), SetView(), ShowView(), and ~G4OpenGLXViewer().
|
protected |
Definition at line 90 of file G4OpenGLXViewer.hh.
Referenced by GetXConnection(), and G4OpenGLXmViewer::GetXmConnection().
|
protected |
Definition at line 88 of file G4OpenGLXViewer.hh.
Referenced by CreateMainWindow(), and ShowView().
|
protected |
Definition at line 91 of file G4OpenGLXViewer.hh.
Referenced by GetXConnection(), and G4OpenGLXmViewer::GetXmConnection().
|
protected |
Definition at line 97 of file G4OpenGLXViewer.hh.
Referenced by CreateMainWindow().
|
protected |
Definition at line 101 of file G4OpenGLXViewer.hh.
Referenced by CreateMainWindow(), and G4OpenGLXViewer().
|
protected |
Definition at line 92 of file G4OpenGLXViewer.hh.
|
protected |
Definition at line 93 of file G4OpenGLXViewer.hh.
|
protected |
Definition at line 94 of file G4OpenGLXViewer.hh.
|
protected |
Definition at line 98 of file G4OpenGLXViewer.hh.
Referenced by CreateMainWindow().
|
staticprotected |
Definition at line 57 of file G4OpenGLXViewer.hh.
Referenced by G4OpenGLXViewer().
|
protected |
Definition at line 82 of file G4OpenGLXViewer.hh.
Referenced by CreateMainWindow().
|
protected |
Definition at line 80 of file G4OpenGLXViewer.hh.
Referenced by G4OpenGLXmViewer::Add_four_arrow_buttons(), G4OpenGLXmViewer::Add_radio_box(), G4OpenGLXmViewer::Add_set_field(), G4OpenGLXmViewer::Add_slider_box(), CreateGLXContext(), G4OpenGLXmViewer::CreateMainWindow(), CreateMainWindow(), and G4OpenGLXmVWidgetObject::ProcesspView().
|
staticprotected |
Definition at line 77 of file G4OpenGLXViewer.hh.
Referenced by G4OpenGLXViewer().
|
protected |
Definition at line 78 of file G4OpenGLXViewer.hh.
Referenced by G4OpenGLImmediateXmViewer::G4OpenGLImmediateXmViewer(), G4OpenGLImmediateXViewer::G4OpenGLImmediateXViewer(), G4OpenGLXViewer(), G4OpenGLImmediateXmViewer::Initialise(), and G4OpenGLImmediateXViewer::Initialise().
|
staticprotected |
Definition at line 76 of file G4OpenGLXViewer.hh.
Referenced by G4OpenGLXViewer().
|
protected |
Definition at line 79 of file G4OpenGLXViewer.hh.
Referenced by G4OpenGLStoredXmViewer::G4OpenGLStoredXmViewer(), G4OpenGLStoredXViewer::G4OpenGLStoredXViewer(), G4OpenGLXViewer(), G4OpenGLStoredXmViewer::Initialise(), and G4OpenGLStoredXViewer::Initialise().
|
protected |
Definition at line 83 of file G4OpenGLXViewer.hh.
Referenced by G4OpenGLXmViewer::CreateMainWindow(), CreateMainWindow(), G4OpenGLStoredXmViewer::FinishView(), G4OpenGLStoredXViewer::FinishView(), SetView(), G4OpenGLXmViewer::~G4OpenGLXmViewer(), and ~G4OpenGLXViewer().
|
protected |
Definition at line 100 of file G4OpenGLXViewer.hh.
Referenced by CreateMainWindow(), and G4OpenGLXViewer().
|
protected |
Definition at line 95 of file G4OpenGLXViewer.hh.
Referenced by CreateMainWindow().
|
protected |
Definition at line 99 of file G4OpenGLXViewer.hh.
|
protected |
Definition at line 74 of file G4OpenGLXViewer.hh.
Referenced by CreateGLXContext(), and G4OpenGLXViewer().