45 fPosition (mk.fPosition),
46 fWorldSize (mk.fWorldSize),
47 fScreenSize (mk.fScreenSize),
48 fFillStyle (mk.fFillStyle),
65 if (&mk ==
this)
return *
this;
67 fPosition = mk.fPosition;
68 fWorldSize = mk.fWorldSize;
69 fScreenSize = mk.fScreenSize;
70 fFillStyle = mk.fFillStyle;
77 (G4Visible::operator != (mk)) ||
78 (fWorldSize != mk.fWorldSize) ||
79 (fScreenSize != mk.fScreenSize) ||
80 (fFillStyle != mk.fFillStyle) ||
81 !(fPosition == mk.fPosition) ||
89 os <<
"G4VMarker: position: " << marker.fPosition
90 <<
", world size: " << marker.fWorldSize
91 <<
", screen size: " << marker.fScreenSize <<
'\n'
93 switch (marker.fFillStyle) {
104 os <<
"unrecognised";
break;
106 if (!marker.fInfo.empty()) os <<
"\n User information: " << marker.fInfo;
107 os <<
"\n " << (
const G4Visible&) marker;
113 if (fWorldSize) type =
world;
114 else if (fScreenSize) type =
screen;
119 fWorldSize = fScreenSize = 0.;
120 if (sizeType ==
world) fWorldSize = size;
121 else if (sizeType ==
screen) fScreenSize = size;
std::ostream & operator<<(std::ostream &os, const G4VMarker &marker)
SizeType GetSizeType() const
void SetSize(SizeType, G4double)
G4VMarker & operator=(const G4VMarker &)
G4bool operator!=(const G4VMarker &) const
G4Visible & operator=(const G4Visible &)