Geant4-11
|
#include <G4Scene.hh>
Data Structures | |
struct | Model |
Public Types | |
enum | { UNLIMITED = -1 } |
Private Attributes | |
std::vector< Model > | fEndOfEventModelList |
std::vector< Model > | fEndOfRunModelList |
G4VisExtent | fExtent |
G4int | fMaxNumberOfKeptEvents |
G4String | fName |
G4bool | fRefreshAtEndOfEvent |
G4bool | fRefreshAtEndOfRun |
std::vector< Model > | fRunDurationModelList |
G4Point3D | fStandardTargetPoint |
Friends | |
std::ostream & | operator<< (std::ostream &os, const G4Scene &d) |
Definition at line 48 of file G4Scene.hh.
anonymous enum |
G4Scene::G4Scene | ( | const G4String & | name = "scene-with-unspecified-name" | ) |
Definition at line 41 of file G4Scene.cc.
G4Scene::~G4Scene | ( | ) |
Definition at line 48 of file G4Scene.cc.
Definition at line 182 of file G4Scene.cc.
References fEndOfEventModelList, fName, G4cout, and G4endl.
Definition at line 202 of file G4Scene.cc.
References fEndOfRunModelList, fName, G4cout, and G4endl.
Definition at line 158 of file G4Scene.cc.
References CalculateExtent(), fName, fRunDurationModelList, G4cout, G4endl, and G4VModel::GetGlobalDescription().
Referenced by AddWorldIfEmpty(), G4VisCommandSceneAddLocalAxes::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), G4VisCommandsTouchable::SetNewValue(), and G4VisCommandViewerCentreOn::SetNewValue().
Definition at line 122 of file G4Scene.cc.
References AddRunDurationModel(), G4cout, G4endl, G4TransportationManager::GetTransportationManager(), and IsEmpty().
Referenced by G4RayTracerSceneHandler::G4RayTracerSceneHandler().
void G4Scene::CalculateExtent | ( | ) |
Definition at line 62 of file G4Scene.cc.
References G4BoundingExtentScene::AccrueBoundingExtent(), fEndOfEventModelList, fEndOfRunModelList, fExtent, fRunDurationModelList, fStandardTargetPoint, G4Exception(), G4BoundingExtentScene::GetBoundingExtent(), GetExtent(), G4VisExtent::GetExtentCentre(), G4VisExtent::GetExtentRadius(), G4VisExtent::GetNullExtent(), JustWarning, and anonymous_namespace{G4Scene.cc}::PrintInvalidModel().
Referenced by AddRunDurationModel(), G4VisManager::GeometryHasChanged(), G4VisManager::NotifyHandlers(), and G4VisCommandSceneNotifyHandlers::SetNewValue().
const std::vector< Model > & G4Scene::GetEndOfEventModelList | ( | ) | const |
const std::vector< Model > & G4Scene::GetEndOfRunModelList | ( | ) | const |
const G4VisExtent & G4Scene::GetExtent | ( | ) | const |
Referenced by G4OpenGLXmViewer::actions_callback(), G4Qt3DSceneHandler::AddPrimitive(), CalculateExtent(), G4VSceneHandler::CreateSectionSolid(), G4OpenGLStoredViewer::DrawDisplayLists(), G4VSceneHandler::GetExtent(), G4OpenGLViewer::getSceneDepth(), G4OpenGLViewer::getSceneFarWidth(), G4OpenGLViewer::getSceneNearWidth(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::mouse_move(), G4Qt3DViewer::mouseMoveEvent(), G4VSceneHandler::ProcessScene(), G4OpenGLXmViewer::ResetView(), G4DAWNFILEViewer::SendViewParameters(), G4VRML2FileViewer::SendViewParameters(), G4VisCommandSceneShowExtents::SetNewValue(), G4VisCommandSceneAddArrow::SetNewValue(), G4VisCommandSceneAddAxes::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4VisCommandsTouchable::SetNewValue(), G4VisCommandViewerCentreOn::SetNewValue(), G4OpenGLWin32Viewer::SetShift(), G4OpenGLViewer::SetView(), G4OpenInventorViewer::SetView(), G4Qt3DViewer::SetView(), G4RayTracerViewer::SetView(), and G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::SetView().
G4int G4Scene::GetMaxNumberOfKeptEvents | ( | ) | const |
Referenced by G4VisManager::EndOfEvent(), and G4VisManager::EndOfRun().
const G4String & G4Scene::GetName | ( | ) | const |
G4bool G4Scene::GetRefreshAtEndOfEvent | ( | ) | const |
G4bool G4Scene::GetRefreshAtEndOfRun | ( | ) | const |
const std::vector< Model > & G4Scene::GetRunDurationModelList | ( | ) | const |
const G4Point3D & G4Scene::GetStandardTargetPoint | ( | ) | const |
Referenced by G4OpenGLStoredViewer::DrawDisplayLists(), G4OpenGLViewer::getSceneDepth(), G4OpenGLViewer::getSceneFarWidth(), G4OpenGLViewer::getSceneNearWidth(), G4OpenGLXmViewer::left_right_pan_callback(), G4DAWNFILEViewer::SendViewParameters(), G4VRML2FileViewer::SendViewParameters(), G4VisCommandsTouchable::SetNewValue(), G4VisCommandViewerCentreOn::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), G4OpenGLViewer::SetView(), G4OpenInventorViewer::SetView(), G4Qt3DViewer::SetView(), G4RayTracerViewer::SetView(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::SetView(), G4OpenGLXmViewer::up_down_pan_callback(), and G4OpenGLQtViewer::updateViewerPropertiesTableWidget().
G4bool G4Scene::IsEmpty | ( | ) | const |
Referenced by AddWorldIfEmpty().
Definition at line 279 of file G4Scene.cc.
References fEndOfEventModelList, fEndOfRunModelList, fExtent, fMaxNumberOfKeptEvents, fRefreshAtEndOfEvent, fRefreshAtEndOfRun, fRunDurationModelList, and fStandardTargetPoint.
std::vector< Model > & G4Scene::SetEndOfEventModelList | ( | ) |
std::vector< Model > & G4Scene::SetEndOfRunModelList | ( | ) |
void G4Scene::SetMaxNumberOfKeptEvents | ( | G4int | ) |
Referenced by G4VisCommandSceneEndOfEventAction::SetNewValue().
void G4Scene::SetName | ( | const G4String & | ) |
void G4Scene::SetRefreshAtEndOfEvent | ( | G4bool | ) |
void G4Scene::SetRefreshAtEndOfRun | ( | G4bool | ) |
Referenced by G4VisCommandSceneEndOfRunAction::SetNewValue().
std::vector< Model > & G4Scene::SetRunDurationModelList | ( | ) |
|
friend |
Definition at line 222 of file G4Scene.cc.
|
private |
Definition at line 179 of file G4Scene.hh.
Referenced by AddEndOfEventModel(), CalculateExtent(), and operator!=().
|
private |
Definition at line 180 of file G4Scene.hh.
Referenced by AddEndOfRunModel(), CalculateExtent(), and operator!=().
|
private |
Definition at line 181 of file G4Scene.hh.
Referenced by CalculateExtent(), and operator!=().
|
private |
Definition at line 185 of file G4Scene.hh.
Referenced by operator!=().
|
private |
Definition at line 177 of file G4Scene.hh.
Referenced by AddEndOfEventModel(), AddEndOfRunModel(), and AddRunDurationModel().
|
private |
Definition at line 183 of file G4Scene.hh.
Referenced by operator!=().
|
private |
Definition at line 184 of file G4Scene.hh.
Referenced by operator!=().
|
private |
Definition at line 178 of file G4Scene.hh.
Referenced by AddRunDurationModel(), CalculateExtent(), and operator!=().
|
private |
Definition at line 182 of file G4Scene.hh.
Referenced by CalculateExtent(), and operator!=().