Geant4-11
Macros | Functions
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 "G4PhysicalVolumeStore.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 393 of file G4VViewer.cc.

393 {
394 os << "View " << v.fName << ":\n";
395 os << v.fVP;
396 return os;
397}
G4String fName
Definition: G4VViewer.hh:217
G4ViewParameters fVP
Definition: G4VViewer.hh:219