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

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

Definition at line 89 of file G4VMarker.cc.

References G4VMarker::fFillStyle, G4VMarker::filled, G4VMarker::fInfo, G4VMarker::fPosition, G4VMarker::fScreenSize, G4VMarker::fWorldSize, G4VMarker::hashed, and G4VMarker::noFill.

00089                                                                   {
00090   os << "G4VMarker: position: " << marker.fPosition
00091      << ", world size: " << marker.fWorldSize
00092      << ", screen size: " << marker.fScreenSize << '\n'
00093      << "           fill style: ";
00094   switch (marker.fFillStyle) {
00095   case G4VMarker::noFill:
00096     os << "no fill";
00097     break;
00098   case G4VMarker::hashed:
00099     os << "hashed";
00100     break;
00101   case G4VMarker::filled:
00102     os << "filled";
00103     break;
00104   default:
00105     os << "unrecognised"; break;
00106   }
00107   if (!marker.fInfo.empty()) os << "\n  User information: " << marker.fInfo;
00108   os << "\n           " << (const G4Visible&) marker;
00109   return os;
00110 }


Generated on Mon May 27 17:51:14 2013 for Geant4 by  doxygen 1.4.7