Changeset 1041 for trunk/source/visualization/management/src
- Timestamp:
- May 14, 2009, 5:40:34 PM (17 years ago)
- Location:
- trunk/source/visualization/management/src
- Files:
-
- 3 edited
-
G4VisCommandsScene.cc (modified) (2 diffs)
-
G4VisCommandsSceneHandler.cc (modified) (1 diff)
-
G4VisCommandsViewer.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/management/src/G4VisCommandsScene.cc
r954 r1041 556 556 // Re-draw, forcing rebuild of graphics database, if any... 557 557 aViewer -> NeedKernelVisit(); 558 #ifdef G4DEBUG_VIS_MANAGEMENT 559 printf("G4VisCommandSceneNotifyHandlers::SetNewValue Call SetView()\n"); 560 #endif 558 561 aViewer -> SetView (); 562 #ifdef G4DEBUG_VIS_MANAGEMENT 563 printf("G4VisCommandSceneNotifyHandlers::SetNewValue Call SetView() END\n"); 564 printf("G4VisCommandSceneNotifyHandlers::SetNewValue Call ClearView()\n"); 565 #endif 559 566 aViewer -> ClearView (); 567 #ifdef G4DEBUG_VIS_MANAGEMENT 568 printf("G4VisCommandSceneNotifyHandlers::SetNewValue Call ClearView() END\n"); 569 printf("G4VisCommandSceneNotifyHandlers::SetNewValue Call DrawView()\n"); 570 #endif 560 571 aViewer -> DrawView (); 572 #ifdef G4DEBUG_VIS_MANAGEMENT 573 printf("G4VisCommandSceneNotifyHandlers::SetNewValue Call DrawView() END\n"); 574 #endif 561 575 if (flush) aViewer -> ShowView (); 562 576 if (verbosity >= G4VisManager::confirmations) { … … 614 628 pCurrentSceneHandler -> SetCurrentViewer (pCurrentViewer); 615 629 if (pCurrentViewer && pCurrentSceneHandler->GetScene()) { 630 #ifdef G4DEBUG_VIS_MANAGEMENT 631 printf("G4VisCommandSceneNotifyHandlers::SetNewValue Call SetView()\n"); 632 #endif 616 633 pCurrentViewer -> SetView (); 634 #ifdef G4DEBUG_VIS_MANAGEMENT 635 printf("G4VisCommandSceneNotifyHandlers::SetNewValue Call SetView() END\n"); 636 #endif 617 637 } 618 638 } -
trunk/source/visualization/management/src/G4VisCommandsSceneHandler.cc
r954 r1041 113 113 G4VViewer* pViewer = pSceneHandler -> GetCurrentViewer(); 114 114 if (pViewer && pViewer -> GetViewParameters().IsAutoRefresh()) { 115 pViewer -> SetView (); 116 pViewer -> ClearView (); 117 pViewer -> DrawView (); 115 #ifdef G4DEBUG_VIS_MANAGEMENT 116 printf("G4VisCommandSceneHandlerAttach::SetNewValue Call SetView()\n"); 117 #endif 118 pViewer -> SetView (); 119 #ifdef G4DEBUG_VIS_MANAGEMENT 120 printf("G4VisCommandSceneHandlerAttach::SetNewValue Call SetView() END\n"); 121 printf("G4VisCommandSceneHandlerAttach::SetNewValue Call ClearView()\n"); 122 #endif 123 pViewer -> ClearView (); 124 #ifdef G4DEBUG_VIS_MANAGEMENT 125 printf("G4VisCommandSceneHandlerAttach::SetNewValue Call ClearView() END\n"); 126 printf("G4VisCommandSceneHandlerAttach::SetNewValue Call DrawView()\n"); 127 #endif 128 pViewer -> DrawView (); 129 #ifdef G4DEBUG_VIS_MANAGEMENT 130 printf("G4VisCommandSceneHandlerAttach::SetNewValue Call DrawView() END\n"); 131 #endif 118 132 } 119 133 if (verbosity >= G4VisManager::confirmations) { -
trunk/source/visualization/management/src/G4VisCommandsViewer.cc
r954 r1041 269 269 } 270 270 271 #ifdef G4DEBUG_VIS_MANAGEMENT 272 printf("G4VisCommandViewerClear::SetNewValue Call ClearView()\n"); 273 #endif 271 274 viewer->ClearView(); 275 #ifdef G4DEBUG_VIS_MANAGEMENT 276 printf("G4VisCommandViewerClear::SetNewValue Call ClearView() END\n"); 277 printf("G4VisCommandViewerClear::SetNewValue Call FinishView()\n"); 278 #endif 272 279 viewer->FinishView(); 280 #ifdef G4DEBUG_VIS_MANAGEMENT 281 printf("G4VisCommandViewerClear::SetNewValue Call FinishView() END\n"); 282 #endif 273 283 if (verbosity >= G4VisManager::confirmations) { 274 284 G4cout << "Viewer \"" << clearName << "\" cleared." << G4endl; … … 1137 1147 << G4endl; 1138 1148 } 1149 #ifdef G4DEBUG_VIS_MANAGEMENT 1150 printf("G4VisCommandViewerRefresh::SetNewValue Call SetView()\n"); 1151 #endif 1139 1152 viewer -> SetView (); 1153 #ifdef G4DEBUG_VIS_MANAGEMENT 1154 printf("G4VisCommandViewerRefresh::SetNewValue Call SetView() END\n"); 1155 printf("G4VisCommandViewerRefresh::SetNewValue Call ClearView()\n"); 1156 #endif 1140 1157 viewer -> ClearView (); 1158 #ifdef G4DEBUG_VIS_MANAGEMENT 1159 printf("G4VisCommandViewerRefresh::SetNewValue Call ClearView() END\n"); 1160 printf("G4VisCommandViewerRefresh::SetNewValue Call DrawView()\n"); 1161 #endif 1141 1162 viewer -> DrawView (); 1163 #ifdef G4DEBUG_VIS_MANAGEMENT 1164 printf("G4VisCommandViewerRefresh::SetNewValue Call DrawView() END\n"); 1165 #endif 1142 1166 if (verbosity >= G4VisManager::confirmations) { 1143 1167 G4cout << "Viewer \"" << viewer -> GetName () << "\"" << " refreshed."
Note:
See TracChangeset
for help on using the changeset viewer.
