|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4ToolsSGViewer.hh>
Classes | |
| class | Messenger |
Public Member Functions | |
| virtual void | key_press (const tools::sg::key_down_event &) |
| virtual void | key_release (const tools::sg::key_up_event &) |
| virtual void | mouse_press (const tools::sg::mouse_down_event &a_event) |
| virtual void | mouse_release (const tools::sg::mouse_up_event &) |
| virtual void | mouse_move (const tools::sg::mouse_move_event &a_event) |
| virtual void | wheel_rotate (const tools::sg::wheel_rotate_event &a_event) |
| G4ToolsSGViewer (SG_SESSION &a_session, G4ToolsSGSceneHandler &a_scene_handler, const G4String &a_name) | |
| virtual | ~G4ToolsSGViewer () |
| virtual void | Initialise () |
| virtual void | SetView () |
| virtual void | ClearView () |
| virtual void | DrawView () |
| virtual void | ShowView () |
| virtual void | FinishView () |
| G4bool | GetWindowSize (unsigned int &a_w, unsigned int &a_h) |
| G4bool | GetRenderAreaSize (unsigned int &a_w, unsigned int &a_h) |
| virtual void | EmitWindowRender () |
| Public Member Functions inherited from G4VViewer | |
| G4VViewer (G4VSceneHandler &, G4int id, const G4String &name="") | |
| virtual | ~G4VViewer () |
| virtual void | ResetView () |
| void | RefreshView () |
| virtual G4bool | ReadyToDraw () |
| std::vector< G4ThreeVector > | ComputeFlyThrough (G4Vector3D *) |
| virtual void | DoneWithMasterThread () |
| virtual void | MovingToVisSubThread () |
| virtual void | SwitchToVisSubThread () |
| virtual void | DoneWithVisSubThread () |
| virtual void | MovingToMasterThread () |
| virtual void | SwitchToMasterThread () |
| void | InsertModelInSceneTree (G4VModel *) |
| const G4SceneTreeItem & | GetSceneTree () |
| G4SceneTreeItem & | AccessSceneTree () |
| void | UpdateGUISceneTree () |
| void | UpdateGUIControlWidgets () |
| void | UpdateGUIDrawingStyle () |
| void | UpdateGUIProjectionStyle () |
| void | UpdateGUITransparencySlider () |
| const G4String & | GetName () const |
| const G4String & | GetShortName () const |
| void | SetName (const G4String &) |
| G4int | GetViewId () const |
| G4VSceneHandler * | GetSceneHandler () const |
| const G4ViewParameters & | GetViewParameters () const |
| const G4ViewParameters & | GetDefaultViewParameters () const |
| G4double | GetKernelVisitElapsedTimeSeconds () const |
| virtual const std::vector< G4ModelingParameters::VisAttributesModifier > * | GetPrivateVisAttributesModifiers () const |
| void | SetViewParameters (const G4ViewParameters &vp) |
| void | SetDefaultViewParameters (const G4ViewParameters &vp) |
| const G4VisAttributes * | GetApplicableVisAttributes (const G4VisAttributes *) const |
| void | SetNeedKernelVisit (G4bool need) |
| void | NeedKernelVisit () |
| void | ProcessView () |
| void | ProcessTransients () |
| void | ZoomFromMouseWheel (G4double delta, G4bool shift=false, G4double xPos=0, G4double yPos=0) |
| Public Member Functions inherited from G4ToolsSG_viewer | |
| G4ToolsSG_viewer () | |
| virtual | ~G4ToolsSG_viewer () |
Protected Attributes | |
| SG_SESSION & | fSGSession |
| G4ToolsSGSceneHandler & | fSGSceneHandler |
| SG_VIEWER * | fSGViewer |
| G4ViewParameters | fLastVP |
| G4bool | fMousePressed |
| G4double | fMousePressedX |
| G4double | fMousePressedY |
| tools::sg::zb_manager | f_zb_mgr |
| tools::sg::gl2ps_manager | f_gl2ps_mgr |
| Protected Attributes inherited from G4VViewer | |
| G4VSceneHandler & | fSceneHandler |
| G4int | fViewId |
| G4String | fName |
| G4String | fShortName |
| G4ViewParameters | fVP |
| G4ViewParameters | fDefaultVP |
| G4double | fKernelVisitElapsedTimeSeconds = 999. |
| G4SceneTreeItem | fSceneTree |
| G4bool | fNeedKernelVisit |
| G4bool | fTransientsNeedRedrawing |
Additional Inherited Members | |
| Public Attributes inherited from G4VViewer | |
| const G4int | fMaxAllTouchables = 10000 |
| G4bool | fCurtailDescent = false |
Definition at line 65 of file G4ToolsSGViewer.hh.
|
inline |
Definition at line 126 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Messenger::SetNewValue().
|
inlinevirtual |
Definition at line 138 of file G4ToolsSGViewer.hh.
|
inlineprotected |
Definition at line 146 of file G4ToolsSGViewer.hh.
|
inlinevirtual |
Implements G4VViewer.
Reimplemented in G4ToolsSGOffscreenViewer.
Definition at line 290 of file G4ToolsSGViewer.hh.
|
inlineprotected |
Definition at line 346 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< tools::offscreen::session, tools::offscreen::sg_viewer >::KernelVisitDecision().
|
inlineprotected |
Definition at line 426 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< tools::offscreen::session, tools::offscreen::sg_viewer >::DrawView().
|
inlineprotected |
2D scene graph: ///////////////////////////////
3D scene graph: ///////////////////////////////
Definition at line 434 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< tools::offscreen::session, tools::offscreen::sg_viewer >::SetView().
|
inlinevirtual |
Implements G4VViewer.
Reimplemented in G4ToolsSGOffscreenViewer.
Definition at line 292 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< tools::offscreen::session, tools::offscreen::sg_viewer >::mouse_move(), and G4ToolsSGViewer< tools::offscreen::session, tools::offscreen::sg_viewer >::wheel_rotate().
|
inlinevirtual |
Reimplemented from G4ToolsSG_viewer.
Definition at line 334 of file G4ToolsSGViewer.hh.
|
inlineprotected |
Definition at line 473 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Messenger::SetNewValue().
|
inlinevirtual |
Reimplemented from G4VViewer.
Reimplemented in G4ToolsSGOffscreenViewer.
Definition at line 314 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< tools::offscreen::session, tools::offscreen::sg_viewer >::DrawView(), and G4ToolsSGViewer< tools::offscreen::session, tools::offscreen::sg_viewer >::ShowView().
|
inline |
Definition at line 327 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< tools::offscreen::session, tools::offscreen::sg_viewer >::SetView().
|
inlineprotectedvirtual |
Reimplemented from G4VViewer.
Definition at line 487 of file G4ToolsSGViewer.hh.
|
inlinevirtual |
Reimplemented from G4VViewer.
Definition at line 323 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< tools::offscreen::session, tools::offscreen::sg_viewer >::SetView().
|
inlinevirtual |
create the viewer, set the scene graph ///////////////
Reimplemented from G4VViewer.
Reimplemented in G4ToolsSGOffscreenViewer, G4ToolsSGQtGLESViewer, and G4ToolsSGQtZBViewer.
Definition at line 159 of file G4ToolsSGViewer.hh.
|
inlineprotected |
Definition at line 340 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< tools::offscreen::session, tools::offscreen::sg_viewer >::DrawView().
|
inlinevirtual |
Definition at line 70 of file G4ToolsSGViewer.hh.
|
inlinevirtual |
Definition at line 71 of file G4ToolsSGViewer.hh.
|
inlinevirtual |
Definition at line 78 of file G4ToolsSGViewer.hh.
|
inlinevirtual |
Definition at line 72 of file G4ToolsSGViewer.hh.
|
inlinevirtual |
Definition at line 77 of file G4ToolsSGViewer.hh.
|
inlineprotected |
Definition at line 157 of file G4ToolsSGViewer.hh.
|
inlinevirtual |
create scene graph ///////////////////////////////////
Implements G4VViewer.
Definition at line 181 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< tools::offscreen::session, tools::offscreen::sg_viewer >::mouse_move(), and G4ToolsSGViewer< tools::offscreen::session, tools::offscreen::sg_viewer >::wheel_rotate().
|
inlinevirtual |
Reimplemented from G4VViewer.
Reimplemented in G4ToolsSGOffscreenViewer.
Definition at line 312 of file G4ToolsSGViewer.hh.
|
inlinevirtual |
Definition at line 118 of file G4ToolsSGViewer.hh.
|
protected |
Definition at line 584 of file G4ToolsSGViewer.hh.
|
protected |
Definition at line 583 of file G4ToolsSGViewer.hh.
|
protected |
Definition at line 578 of file G4ToolsSGViewer.hh.
|
protected |
Definition at line 580 of file G4ToolsSGViewer.hh.
|
protected |
Definition at line 581 of file G4ToolsSGViewer.hh.
|
protected |
Definition at line 581 of file G4ToolsSGViewer.hh.
|
protected |
Definition at line 576 of file G4ToolsSGViewer.hh.
|
protected |
Definition at line 575 of file G4ToolsSGViewer.hh.
|
protected |
Definition at line 577 of file G4ToolsSGViewer.hh.