46 fPosition (mk.fPosition),
47 fWorldSize (mk.fWorldSize),
48 fScreenSize (mk.fScreenSize),
49 fFillStyle (mk.fFillStyle),
66 if (&mk ==
this)
return *
this;
68 fPosition = mk.fPosition;
69 fWorldSize = mk.fWorldSize;
70 fScreenSize = mk.fScreenSize;
71 fFillStyle = mk.fFillStyle;
78 (G4Visible::operator != (mk)) ||
79 (fWorldSize != mk.fWorldSize) ||
80 (fScreenSize != mk.fScreenSize) ||
81 (fFillStyle != mk.fFillStyle) ||
82 !(fPosition == mk.fPosition) ||
90 os <<
"G4VMarker: position: " << marker.fPosition
91 <<
", world size: " << marker.fWorldSize
92 <<
", screen size: " << marker.fScreenSize <<
'\n'
94 switch (marker.fFillStyle) {
105 os <<
"unrecognised";
break;
107 if (!marker.fInfo.empty()) os <<
"\n User information: " << marker.fInfo;
108 os <<
"\n " << (
const G4Visible&) marker;
114 if (fWorldSize) type =
world;
115 else if (fScreenSize) type =
screen;
120 fWorldSize = fScreenSize = 0.;
121 if (sizeType ==
world) fWorldSize = size;
122 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 &)