Geant4
10.00.p01
|
#include <G4Scene.hh>
Classes | |
struct | Model |
Public Types | |
enum | { UNLIMITED = -1 } |
Private Attributes | |
G4String | fName |
std::vector< Model > | fRunDurationModelList |
std::vector< Model > | fEndOfEventModelList |
std::vector< Model > | fEndOfRunModelList |
G4VisExtent | fExtent |
G4Point3D | fStandardTargetPoint |
G4bool | fRefreshAtEndOfEvent |
G4bool | fRefreshAtEndOfRun |
G4int | fMaxNumberOfKeptEvents |
Friends | |
std::ostream & | operator<< (std::ostream &os, const G4Scene &d) |
Definition at line 49 of file G4Scene.hh.
anonymous enum |
Enumerator | |
---|---|
UNLIMITED |
Definition at line 55 of file G4Scene.hh.
Definition at line 40 of file G4Scene.cc.
G4Scene::~G4Scene | ( | ) |
Definition at line 47 of file G4Scene.cc.
Definition at line 190 of file G4Scene.cc.
References fEndOfEventModelList, fName, G4cout, and G4endl.
Definition at line 210 of file G4Scene.cc.
References fEndOfRunModelList, fName, G4cout, and G4endl.
Definition at line 49 of file G4Scene.cc.
References CalculateExtent(), fName, fRunDurationModelList, G4cout, G4endl, and G4VModel::GetGlobalDescription().
Referenced by AddWorldIfEmpty().
Definition at line 154 of file G4Scene.cc.
References AddRunDurationModel(), G4cout, G4endl, G4TransportationManager::GetTransportationManager(), and IsEmpty().
Referenced by G4RayTracerSceneHandler::G4RayTracerSceneHandler().
void G4Scene::CalculateExtent | ( | ) |
Definition at line 72 of file G4Scene.cc.
References G4BoundingSphereScene::AccrueBoundingSphere(), fEndOfEventModelList, fEndOfRunModelList, fExtent, fRunDurationModelList, fStandardTargetPoint, G4Exception(), G4BoundingSphereScene::GetBoundingSphereExtent(), GetExtent(), G4VisExtent::GetExtentCentre(), G4VisExtent::GetExtentRadius(), G4VModel::GetGlobalDescription(), and JustWarning.
Referenced by AddRunDurationModel(), G4VisManager::GeometryHasChanged(), G4VisManager::NotifyHandlers(), and G4VisCommandSceneNotifyHandlers::SetNewValue().
const std::vector<Model>& G4Scene::GetEndOfEventModelList | ( | ) | const |
Referenced by G4GMocrenFileSceneHandler::GFBeginModeling().
const std::vector<Model>& G4Scene::GetEndOfRunModelList | ( | ) | const |
const G4VisExtent& G4Scene::GetExtent | ( | ) | const |
Referenced by G4VSceneHandler::AddPrimitive(), CalculateExtent(), G4VSceneHandler::CreateSectionSolid(), G4VSceneHandler::GetExtent(), G4VRML2FileViewer::SendViewParameters(), G4DAWNFILEViewer::SendViewParameters(), G4VisCommandSceneAddArrow::SetNewValue(), G4VisCommandSceneAddAxes::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), and G4RayTracerViewer::SetView().
G4int G4Scene::GetMaxNumberOfKeptEvents | ( | ) | const |
Referenced by G4VisManager::EndOfEvent(), and G4VisManager::EndOfRun().
const G4String& G4Scene::GetName | ( | ) | const |
Referenced by G4VisManager::GeometryHasChanged(), G4VisManager::NotifyHandlers(), G4VisCommandSceneList::SetNewValue(), and G4VisCommandViewerRefresh::SetNewValue().
G4bool G4Scene::GetRefreshAtEndOfEvent | ( | ) | const |
Referenced by G4VisManager::EndOfEvent(), G4VSceneHandler::ProcessScene(), G4VisCommandSceneEndOfEventAction::SetNewValue(), G4VisCommandReviewKeptEvents::SetNewValue(), and G4VisCommandSceneEndOfRunAction::SetNewValue().
G4bool G4Scene::GetRefreshAtEndOfRun | ( | ) | const |
Referenced by G4VisManager::EndOfRun(), G4VSceneHandler::ProcessScene(), G4VisCommandSceneEndOfEventAction::SetNewValue(), and G4VisCommandSceneEndOfRunAction::SetNewValue().
const std::vector<Model>& G4Scene::GetRunDurationModelList | ( | ) | const |
Referenced by G4ASCIITreeSceneHandler::EndModeling(), and G4VisCommandViewerRefresh::SetNewValue().
const G4Point3D& G4Scene::GetStandardTargetPoint | ( | ) | const |
Referenced by G4VRML2FileViewer::SendViewParameters(), G4DAWNFILEViewer::SendViewParameters(), G4VisCommandsViewerSet::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), and G4RayTracerViewer::SetView().
G4bool G4Scene::IsEmpty | ( | ) | const |
Definition at line 278 of file G4Scene.cc.
References fEndOfEventModelList, fEndOfRunModelList, fExtent, fMaxNumberOfKeptEvents, fRefreshAtEndOfEvent, fRefreshAtEndOfRun, fRunDurationModelList, and fStandardTargetPoint.
std::vector<Model>& G4Scene::SetEndOfEventModelList | ( | ) |
Referenced by G4VisCommandSceneActivateModel::SetNewValue().
std::vector<Model>& G4Scene::SetEndOfRunModelList | ( | ) |
Referenced by G4VisCommandSceneActivateModel::SetNewValue().
void G4Scene::SetMaxNumberOfKeptEvents | ( | G4int | ) |
Referenced by G4VisCommandSceneEndOfEventAction::SetNewValue().
void G4Scene::SetName | ( | const G4String & | ) |
void G4Scene::SetRefreshAtEndOfEvent | ( | G4bool | ) |
Referenced by G4VisCommandSceneEndOfEventAction::SetNewValue(), and G4VisCommandReviewKeptEvents::SetNewValue().
void G4Scene::SetRefreshAtEndOfRun | ( | G4bool | ) |
Referenced by G4VisCommandSceneEndOfRunAction::SetNewValue().
std::vector<Model>& G4Scene::SetRunDurationModelList | ( | ) |
Referenced by G4VisCommandSceneActivateModel::SetNewValue().
|
friend |
Definition at line 230 of file G4Scene.cc.
|
private |
Definition at line 180 of file G4Scene.hh.
Referenced by AddEndOfEventModel(), CalculateExtent(), operator!=(), and operator<<().
|
private |
Definition at line 181 of file G4Scene.hh.
Referenced by AddEndOfRunModel(), CalculateExtent(), operator!=(), and operator<<().
|
private |
Definition at line 182 of file G4Scene.hh.
Referenced by CalculateExtent(), operator!=(), and operator<<().
|
private |
Definition at line 186 of file G4Scene.hh.
Referenced by operator!=(), and operator<<().
|
private |
Definition at line 178 of file G4Scene.hh.
Referenced by AddEndOfEventModel(), AddEndOfRunModel(), and AddRunDurationModel().
|
private |
Definition at line 184 of file G4Scene.hh.
Referenced by operator!=(), and operator<<().
|
private |
Definition at line 185 of file G4Scene.hh.
Referenced by operator!=(), and operator<<().
|
private |
Definition at line 179 of file G4Scene.hh.
Referenced by AddRunDurationModel(), CalculateExtent(), operator!=(), and operator<<().
|
private |
Definition at line 183 of file G4Scene.hh.
Referenced by CalculateExtent(), operator!=(), and operator<<().