245 {
246
247 size_t i;
248
249 os << "Scene data:";
250
251 os << "\n Run-duration model list:";
252 if (scene.fRunDurationModelList.size () == 0) {
253 os << " none";
254 }
255 for (i = 0; i < scene.fRunDurationModelList.size (); i++) {
256 if (scene.fRunDurationModelList[i].fActive) os << "\n Active: ";
257 else os << "\n Inactive: ";
258 os << *(scene.fRunDurationModelList[i].fpModel);
259 }
260
261 os << "\n End-of-event model list:";
262 if (scene.fEndOfEventModelList.size () == 0) {
263 os << " none";
264 }
265 for (i = 0; i < scene.fEndOfEventModelList.size (); i++) {
266 if (scene.fEndOfEventModelList[i].fActive) os << "\n Active: ";
267 else os << "\n Inactive: ";
268 os << *(scene.fEndOfEventModelList[i].fpModel);
269 }
270
271 os << "\n End-of-run model list:";
272 if (scene.fEndOfRunModelList.size () == 0) {
273 os << " none";
274 }
275 for (i = 0; i < scene.fEndOfRunModelList.size (); i++) {
276 if (scene.fEndOfRunModelList[i].fActive) os << "\n Active: ";
277 else os << "\n Inactive: ";
278 os << *(scene.fEndOfRunModelList[i].fpModel);
279 }
280
281 os << "\n Overall extent or bounding box: " << scene.fExtent;
282
283 os << "\n Standard target point: " << scene.fStandardTargetPoint;
284
285 os << "\n End of event action set to \"";
286 if (scene.fRefreshAtEndOfEvent) os << "refresh\"";
287 else {
288 os << "accumulate (maximum number of kept events: ";
289 if (scene.fMaxNumberOfKeptEvents >= 0) os << scene.fMaxNumberOfKeptEvents;
290 else os << "unlimited";
291 os << ")";
292 }
293
294 os << "\n End of run action set to \"";
295 if (scene.fRefreshAtEndOfRun) os << "refresh";
296 else os << "accumulate";
297 os << "\"";
298
299 return os;
300}