File indexing completed on 2025-01-18 09:59:25
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030 inline G4bool G4VMarker::operator==(const G4VMarker& mk) const
0031 { return !(*this != mk); }
0032
0033 inline G4Point3D G4VMarker::GetPosition () const {
0034 return fPosition;
0035 }
0036
0037 inline G4double G4VMarker::GetWorldSize () const {
0038 return fWorldSize;
0039 }
0040
0041 inline G4double G4VMarker::GetWorldDiameter () const {
0042 return fWorldSize;
0043 }
0044
0045 inline G4double G4VMarker::GetWorldRadius () const {
0046 return fWorldSize / 2.;
0047 }
0048
0049 inline G4double G4VMarker::GetScreenSize () const {
0050 return fScreenSize;
0051 }
0052
0053 inline G4double G4VMarker::GetScreenDiameter () const {
0054 return fScreenSize;
0055 }
0056
0057 inline G4double G4VMarker::GetScreenRadius () const {
0058 return fScreenSize / 2.;
0059 }
0060
0061 inline G4VMarker::FillStyle G4VMarker::GetFillStyle () const {
0062 return fFillStyle;
0063 }
0064
0065 inline void G4VMarker::SetPosition (const G4Point3D& pos) {
0066 fPosition = pos;
0067 }
0068
0069 inline void G4VMarker::SetDiameter (SizeType sizeType, G4double size) {
0070 SetSize(sizeType, size);
0071 }
0072
0073 inline void G4VMarker::SetRadius (SizeType sizeType, G4double size) {
0074 SetSize(sizeType, 2. * size);
0075 }
0076
0077 inline void G4VMarker::SetWorldSize (G4double ws) {
0078 fWorldSize = ws;
0079 }
0080
0081 inline void G4VMarker::SetWorldDiameter (G4double wd) {
0082 fWorldSize = wd;
0083 }
0084
0085 inline void G4VMarker::SetWorldRadius (G4double wr) {
0086 fWorldSize = 2. * wr;
0087 }
0088
0089 inline void G4VMarker::SetScreenSize (G4double ss) {
0090 fWorldSize = 0.;
0091 fScreenSize = ss;
0092 }
0093
0094 inline void G4VMarker::SetScreenDiameter (G4double sd) {
0095 fWorldSize = 0.;
0096 fScreenSize = sd;
0097 }
0098
0099 inline void G4VMarker::SetScreenRadius (G4double scr) {
0100 fWorldSize = 0.;
0101 fScreenSize = 2. * scr;
0102 }
0103
0104 inline void G4VMarker::SetFillStyle (G4VMarker::FillStyle style) {
0105 fFillStyle = style;
0106 }