Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VMarker.cc File Reference
#include "G4VMarker.hh"
#include "G4VisAttributes.hh"
Include dependency graph for G4VMarker.cc:

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 89 of file G4VMarker.cc.

89  {
90  os << "G4VMarker: position: " << marker.fPosition
91  << ", world size: " << marker.fWorldSize
92  << ", screen size: " << marker.fScreenSize << '\n'
93  << " fill style: ";
94  switch (marker.fFillStyle) {
95  case G4VMarker::noFill:
96  os << "no fill";
97  break;
98  case G4VMarker::hashed:
99  os << "hashed";
100  break;
101  case G4VMarker::filled:
102  os << "filled";
103  break;
104  default:
105  os << "unrecognised"; break;
106  }
107  if (!marker.fInfo.empty()) os << "\n User information: " << marker.fInfo;
108  os << "\n " << (const G4Visible&) marker;
109  return os;
110 }