Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VViewer.cc File Reference
#include "G4VViewer.hh"
#include "G4ios.hh"
#include <sstream>
#include "G4VisManager.hh"
#include "G4VGraphicsSystem.hh"
#include "G4VSceneHandler.hh"
#include "G4Scene.hh"
#include "G4VPhysicalVolume.hh"
#include "G4Transform3D.hh"
#include "G4UImanager.hh"

Go to the source code of this file.

Macros

#define BOUNDS(pp)   { if (pp < 0) pp = 0; else if (pp >= (int)vp.size()-1) pp = vp.size() - 1; }
 

Functions

std::ostream & operator<< (std::ostream &os, const G4VViewer &v)
 

Macro Definition Documentation

◆ BOUNDS

#define BOUNDS (   pp)    { if (pp < 0) pp = 0; else if (pp >= (int)vp.size()-1) pp = vp.size() - 1; }

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const G4VViewer v 
)

Definition at line 383 of file G4VViewer.cc.

383 {
384 os << "View " << v.fName << ":\n";
385 os << v.fVP;
386 return os;
387}
G4String fName
Definition: G4VViewer.hh:217
G4ViewParameters fVP
Definition: G4VViewer.hh:219