42   fRefreshAtEndOfEvent(true),
    43   fRefreshAtEndOfRun(true),
    44   fMaxNumberOfKeptEvents(100)
    50   std::vector<Model>::const_iterator i;
    53     if (pModel -> GetGlobalDescription () ==
    58       G4cout << 
"G4Scene::AddRunDurationModel: model \""    59          << pModel -> GetGlobalDescription ()
    60          << 
"\"\n  is already in the run-duration list of scene \""    79       if (model -> Validate()) {  
    82     if (thisRadius > 0.) {
    84       thisCentre.transform (model -> GetTransformation ());
    90        << 
"\".\n  Not included in extent calculation.";
    92       (
"G4Scene::CalculateExtent",
   101       if (model -> Validate()) {  
   104     if (thisRadius > 0.) {
   106       thisCentre.transform (model -> GetTransformation ());
   112        << 
"\".\n  Not included in extent calculation.";
   114       (
"G4Scene::CalculateExtent",
   123       if (model -> Validate()) {  
   126     if (thisRadius > 0.) {
   128       thisCentre.transform (model -> GetTransformation ());
   134        << 
"\".\n  Not included in extent calculation.";
   136       (
"G4Scene::CalculateExtent",
   146       (
"G4Scene::CalculateExtent",
   148        "Scene has no extent.  Please activate or add something."   149        "\nThe camera needs to have something to point at!"   150            "\nAdd a volume. (You may need \"/run/initialize\".)"   151            "\nOr use \"/vis/scene/add/extent\"."   152        "\n\"/vis/scene/list\" to see list of models.");
   162       -> GetNavigatorForTracking () -> GetWorldVolume ();
   165     pWorld -> GetLogicalVolume () -> GetVisAttributes ();
   166       if (!pVisAttribs || pVisAttribs -> IsVisible ()) {
   169         "Your \"world\" has no vis attributes or is marked as visible."   170         "\n  For a better view of the contents, mark the world as"   172         "\n  myWorldLogicalVol ->"   173         " SetVisAttributes (G4VisAttributes::GetInvisible());"   182     "G4Scene::AddWorldIfEmpty: The scene was empty of run-duration models."   183     "\n  \"world\" has been added.";
   194   for (i = 0; i < nModels; i++) {
   195     if (pModel -> GetGlobalDescription () ==
   200       G4cout << 
"G4Scene::AddEndOfEventModel: a model \""   201          << pModel -> GetGlobalDescription ()
   202          << 
"\"\n  is already in the end-of-event list of scene \""   214   for (i = 0; i < nModels; i++) {
   215     if (pModel -> GetGlobalDescription () ==
   220       G4cout << 
"G4Scene::AddEndOfRunModel: a model \""   221          << pModel -> GetGlobalDescription ()
   222          << 
"\"\n  is already in the end-of-run list of scene \""   238   os << 
"\n  Run-duration model list:";
   241     else os << 
"\n  Inactive: ";
   245   os << 
"\n  End-of-event model list:";
   248     else os << 
"\n  Inactive: ";
   252   os << 
"\n  End-of-run model list:";
   255     else os << 
"\n  Inactive: ";
   259   os << 
"\n  Extent or bounding box: " << scene.
fExtent;
   263   os << 
"\n  End of event action set to \"";
   266     os << 
"accumulate (maximum number of kept events: ";
   268     else os << 
"unlimited";
   272   os << 
"\n  End of run action set to \"";
   274   else os << 
"accumulate";
 
std::vector< Model > fEndOfRunModelList
 
G4Scene(const G4String &name="scene-with-unspecified-name")
 
G4bool operator!=(const G4Scene &) const
 
std::ostringstream G4ExceptionDescription
 
const G4String & GetGlobalDescription() const
 
G4bool fRefreshAtEndOfRun
 
G4double GetExtentRadius() const
 
friend std::ostream & operator<<(std::ostream &os, const G4Scene &d)
 
std::vector< Model > fEndOfEventModelList
 
G4Point3D fStandardTargetPoint
 
G4GLOB_DLL std::ostream G4cout
 
const G4VisExtent & GetExtent() const
 
G4bool AddRunDurationModel(G4VModel *, G4bool warn=false)
 
G4VisExtent GetBoundingSphereExtent()
 
G4bool AddEndOfRunModel(G4VModel *, G4bool warn=false)
 
const G4Point3D & GetExtentCentre() const
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
static G4TransportationManager * GetTransportationManager()
 
G4bool AddWorldIfEmpty(G4bool warn=false)
 
void AccrueBoundingSphere(const G4Point3D ¢re, G4double radius)
 
G4bool AddEndOfEventModel(G4VModel *, G4bool warn=false)
 
G4bool fRefreshAtEndOfEvent
 
G4int fMaxNumberOfKeptEvents
 
std::vector< Model > fRunDurationModelList