00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // 00027 // $Id$ 00028 // 00029 // 00030 00031 inline G4Point3D G4VMarker::GetPosition () const { 00032 return fPosition; 00033 } 00034 00035 inline G4double G4VMarker::GetWorldSize () const { 00036 return fWorldSize; 00037 } 00038 00039 inline G4double G4VMarker::GetWorldDiameter () const { 00040 return fWorldSize; 00041 } 00042 00043 inline G4double G4VMarker::GetWorldRadius () const { 00044 return fWorldSize / 2.; 00045 } 00046 00047 inline G4double G4VMarker::GetScreenSize () const { 00048 return fScreenSize; 00049 } 00050 00051 inline G4double G4VMarker::GetScreenDiameter () const { 00052 return fScreenSize; 00053 } 00054 00055 inline G4double G4VMarker::GetScreenRadius () const { 00056 return fScreenSize / 2.; 00057 } 00058 00059 inline G4VMarker::FillStyle G4VMarker::GetFillStyle () const { 00060 return fFillStyle; 00061 } 00062 00063 inline void G4VMarker::SetPosition (const G4Point3D& pos) { 00064 fPosition = pos; 00065 } 00066 00067 inline void G4VMarker::SetDiameter (SizeType sizeType, G4double size) { 00068 SetSize(sizeType, size); 00069 } 00070 00071 inline void G4VMarker::SetRadius (SizeType sizeType, G4double size) { 00072 SetSize(sizeType, 2. * size); 00073 } 00074 00075 inline void G4VMarker::SetWorldSize (G4double ws) { 00076 fWorldSize = ws; 00077 } 00078 00079 inline void G4VMarker::SetWorldDiameter (G4double wd) { 00080 fWorldSize = wd; 00081 } 00082 00083 inline void G4VMarker::SetWorldRadius (G4double wr) { 00084 fWorldSize = 2. * wr; 00085 } 00086 00087 inline void G4VMarker::SetScreenSize (G4double ss) { 00088 fWorldSize = 0.; 00089 fScreenSize = ss; 00090 } 00091 00092 inline void G4VMarker::SetScreenDiameter (G4double sd) { 00093 fWorldSize = 0.; 00094 fScreenSize = sd; 00095 } 00096 00097 inline void G4VMarker::SetScreenRadius (G4double scr) { 00098 fWorldSize = 0.; 00099 fScreenSize = 2. * scr; 00100 } 00101 00102 inline void G4VMarker::SetFillStyle (G4VMarker::FillStyle style) { 00103 fFillStyle = style; 00104 } 00105 00106 inline const G4String& G4VMarker::GetInfo() const {return fInfo;} 00107 00108 inline void G4VMarker::SetInfo(const G4String& info) {fInfo = info;}