File indexing completed on 2025-01-18 09:59:27
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
0031 inline G4VGraphicsSystem* G4VSceneHandler::GetGraphicsSystem () const {
0032 return &fSystem;
0033 }
0034
0035 inline G4int G4VSceneHandler::GetSceneHandlerId () const {
0036 return fSceneHandlerId;
0037 }
0038
0039 inline G4int G4VSceneHandler::GetViewCount () const {
0040 return fViewCount;
0041 }
0042
0043 inline
0044 G4double G4VSceneHandler::GetMarkerDiameter
0045 (const G4VMarker& marker, G4VSceneHandler::MarkerSizeType& sizeType) {
0046 return GetMarkerSize (marker, sizeType);
0047 }
0048
0049 inline
0050 G4double G4VSceneHandler::GetMarkerRadius
0051 (const G4VMarker& marker, G4VSceneHandler::MarkerSizeType& sizeType) {
0052 return GetMarkerSize (marker, sizeType) / 2.;
0053 }
0054
0055 inline G4int G4VSceneHandler::IncrementViewCount () {
0056 return fViewCount++;
0057 }
0058
0059 inline const G4String& G4VSceneHandler::GetName () const {
0060 return fName;
0061 }
0062
0063 inline void G4VSceneHandler::SetName (const G4String& name) {
0064 fName = name;
0065 }
0066
0067 inline G4Scene* G4VSceneHandler::GetScene () const {
0068 return fpScene;
0069 }
0070
0071 inline const G4ViewerList& G4VSceneHandler::GetViewerList () const {
0072 return fViewerList;
0073 }
0074
0075 inline G4VModel* G4VSceneHandler::GetModel () const {
0076 return fpModel;
0077 }
0078
0079 inline G4VViewer* G4VSceneHandler::GetCurrentViewer () const {
0080 return fpViewer;
0081 }
0082
0083 inline G4bool G4VSceneHandler::GetMarkForClearingTransientStore () const {
0084 return fMarkForClearingTransientStore;
0085 }
0086
0087 inline G4bool G4VSceneHandler::IsReadyForTransients () const {
0088 return fReadyForTransients;
0089 }
0090
0091 inline G4bool G4VSceneHandler::GetTransientsDrawnThisEvent () const {
0092 return fTransientsDrawnThisEvent;
0093 }
0094
0095 inline G4bool G4VSceneHandler::GetTransientsDrawnThisRun () const {
0096 return fTransientsDrawnThisRun;
0097 }
0098
0099 inline const G4Transform3D& G4VSceneHandler::GetObjectTransformation () const {
0100 return fObjectTransformation;
0101 }
0102
0103 inline void G4VSceneHandler::SetCurrentViewer (G4VViewer* pViewer) {
0104 fpViewer = pViewer;
0105 }
0106
0107 inline G4ViewerList& G4VSceneHandler::SetViewerList () {
0108 return fViewerList;
0109 }
0110
0111 inline void
0112 G4VSceneHandler::SetModel (G4VModel* pModel) {
0113 fpModel = pModel;
0114 }
0115
0116 inline void G4VSceneHandler::SetMarkForClearingTransientStore (G4bool mark) {
0117 fMarkForClearingTransientStore = mark;
0118 }
0119
0120 inline void G4VSceneHandler::SetTransientsDrawnThisEvent (G4bool drawn) {
0121 fTransientsDrawnThisEvent = drawn;
0122 }
0123
0124 inline void G4VSceneHandler::SetTransientsDrawnThisRun (G4bool drawn) {
0125 fTransientsDrawnThisRun = drawn;
0126 }
0127
0128 inline void G4VSceneHandler::SetObjectTransformation (const G4Transform3D& t) {
0129 fObjectTransformation = t;
0130 }
0131
0132 inline const G4Colour& G4VSceneHandler::GetColor () {
0133 return GetColour ();
0134 }
0135
0136 inline const G4Colour& G4VSceneHandler::GetColor (const G4Visible& visible) {
0137 return GetColour (visible);
0138 }
0139
0140 inline const G4Colour& G4VSceneHandler::GetTextColor (const G4Text& text) {
0141 return GetTextColour (text);
0142 }