Geant4 11.2.2
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 &a_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 () |
Public Member Functions inherited from G4VViewer | |
G4VViewer (G4VSceneHandler &, G4int id, const G4String &name="") | |
virtual | ~G4VViewer () |
virtual void | ResetView () |
void | RefreshView () |
std::vector< G4ThreeVector > | ComputeFlyThrough (G4Vector3D *) |
SceneTreeScene & | AccessSceneTreeScene () |
G4SceneTreeItem & | AccessSceneTree () |
void | UpdateGUISceneTree () |
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 () |
Protected Member Functions | |
G4ToolsSGViewer (const G4ToolsSGViewer &a_from) | |
G4ToolsSGViewer & | operator= (const G4ToolsSGViewer &) |
void | KernelVisitDecision () |
G4bool | CompareForKernelVisit (G4ViewParameters &vp) |
void | CreateSG (tools::sg::base_camera *a_camera, const G4Vector3D &a_light_dir) |
void | Export (const G4String &a_format, const G4String &a_file, G4bool a_do_transparency) |
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 Attributes | |
SG_SESSION & | fSGSession |
G4ToolsSGSceneHandler & | fSGSceneHandler |
SG_VIEWER * | fSGViewer |
G4ViewParameters | fLastVP |
G4bool | fKeyPressed |
G4bool | fKeyShift |
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. |
SceneTreeScene | fSceneTreeScene |
G4SceneTreeItem | fSceneTree |
G4bool | fNeedKernelVisit |
Definition at line 53 of file G4ToolsSGViewer.hh.
|
inline |
Definition at line 122 of file G4ToolsSGViewer.hh.
|
inlinevirtual |
Definition at line 137 of file G4ToolsSGViewer.hh.
|
inlineprotected |
Definition at line 145 of file G4ToolsSGViewer.hh.
|
inlinevirtual |
Implements G4VViewer.
Reimplemented in G4ToolsSGOffscreenViewer.
Definition at line 274 of file G4ToolsSGViewer.hh.
|
inlineprotected |
Definition at line 334 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::KernelVisitDecision().
|
inlineprotected |
2D scene graph: ///////////////////////////////
3D scene graph: ///////////////////////////////
Definition at line 418 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::SetView().
|
inlinevirtual |
Implements G4VViewer.
Reimplemented in G4ToolsSGOffscreenViewer.
Definition at line 276 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::mouse_move(), and G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::wheel_rotate().
|
inlineprotected |
Definition at line 453 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Messenger::SetNewValue().
|
inlinevirtual |
Reimplemented from G4VViewer.
Reimplemented in G4ToolsSGOffscreenViewer.
Definition at line 290 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::DrawView(), and G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::ShowView().
|
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 328 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::DrawView().
|
inlinevirtual |
Definition at line 57 of file G4ToolsSGViewer.hh.
|
inlinevirtual |
Definition at line 61 of file G4ToolsSGViewer.hh.
|
inlinevirtual |
Definition at line 68 of file G4ToolsSGViewer.hh.
|
inlinevirtual |
Definition at line 62 of file G4ToolsSGViewer.hh.
|
inlinevirtual |
Definition at line 67 of file G4ToolsSGViewer.hh.
|
inlineprotected |
Definition at line 157 of file G4ToolsSGViewer.hh.
|
inlinevirtual |
create scene graph ///////////////////////////////////
Implements G4VViewer.
Reimplemented in G4ToolsSGOffscreenViewer, G4ToolsSGQtGLESViewer, and G4ToolsSGQtZBViewer.
Definition at line 181 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::mouse_move(), and G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::wheel_rotate().
|
inlinevirtual |
Reimplemented from G4VViewer.
Reimplemented in G4ToolsSGOffscreenViewer.
Definition at line 288 of file G4ToolsSGViewer.hh.
|
inlinevirtual |
Definition at line 109 of file G4ToolsSGViewer.hh.
|
protected |
Definition at line 544 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Export().
|
protected |
Definition at line 543 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Export().
|
protected |
Definition at line 538 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::key_press(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::key_release(), and G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::mouse_move().
|
protected |
Definition at line 539 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::key_press(), and G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::mouse_move().
|
protected |
Definition at line 536 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::DrawView(), and G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::KernelVisitDecision().
|
protected |
Definition at line 540 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::mouse_move(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::mouse_press(), and G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::mouse_release().
|
protected |
Definition at line 541 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::mouse_move(), and G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::mouse_press().
|
protected |
Definition at line 541 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::mouse_move(), and G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::mouse_press().
|
protected |
Definition at line 534 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::CreateSG(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::FinishView(), and G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::mouse_move().
|
protected |
Definition at line 533 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::FinishView(), and G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Initialise().
|
protected |
Definition at line 535 of file G4ToolsSGViewer.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::CreateSG(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Export(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::FinishView(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Initialise(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::SetView(), and G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::~G4ToolsSGViewer().