Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4RTXScanner.cc File Reference
#include "G4RTXScanner.hh"
#include "G4TheRayTracer.hh"
#include "G4RayTracerXViewer.hh"
#include "G4ViewParameters.hh"
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>

Go to the source code of this file.

Macros

#define G4warn   G4cout
 

Functions

Bool G4RayTracerXScannerWaitForNotify (Display *, XEvent *e, char *arg)
 

Macro Definition Documentation

◆ G4warn

#define G4warn   G4cout

Definition at line 39 of file G4RTXScanner.cc.

Function Documentation

◆ G4RayTracerXScannerWaitForNotify()

Bool G4RayTracerXScannerWaitForNotify ( Display *  ,
XEvent *  e,
char *  arg 
)

Definition at line 42 of file G4RTXScanner.cc.

42 {
43 return (e->type == MapNotify) && (e->xmap.window == (Window) arg);
44 }

Referenced by G4RTXScanner::GetXWindow().