Geant4-11
Functions
G4VMarker.cc File Reference
#include "G4VMarker.hh"
#include "G4VisAttributes.hh"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const G4VMarker &marker)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const G4VMarker marker 
)

Definition at line 64 of file G4VMarker.cc.

64 {
65 os << "G4VMarker: position: " << marker.fPosition
66 << ", world size: " << marker.fWorldSize
67 << ", screen size: " << marker.fScreenSize << '\n'
68 << " fill style: ";
69 switch (marker.fFillStyle) {
71 os << "no fill";
72 break;
74 os << "hashed";
75 break;
77 os << "filled";
78 break;
79 default:
80 os << "unrecognised"; break;
81 }
82 if (!marker.fInfo.empty()) os << "\n User information: " << marker.fInfo;
83 os << "\n " << (const G4Visible&) marker;
84 return os;
85}
G4String fInfo
Definition: G4VMarker.hh:157
G4double fScreenSize
Definition: G4VMarker.hh:153
G4Point3D fPosition
Definition: G4VMarker.hh:151
FillStyle fFillStyle
Definition: G4VMarker.hh:154
G4double fWorldSize
Definition: G4VMarker.hh:152