Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <G4VVisCommand.hh>
Public Member Functions | |
G4VVisCommand () | |
virtual | ~G4VVisCommand () |
Public Member Functions inherited from G4UImessenger | |
G4UImessenger ()=default | |
G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true) | |
virtual | ~G4UImessenger () |
virtual G4String | GetCurrentValue (G4UIcommand *command) |
virtual void | SetNewValue (G4UIcommand *command, G4String newValue) |
G4bool | operator== (const G4UImessenger &messenger) const |
G4bool | operator!= (const G4UImessenger &messenger) const |
G4bool | CommandsShouldBeInMaster () const |
Static Public Member Functions | |
static G4VisManager * | GetVisManager () |
static void | SetVisManager (G4VisManager *pVisManager) |
static const G4Colour & | GetCurrentTextColour () |
Protected Member Functions | |
void | SetViewParameters (G4VViewer *viewer, const G4ViewParameters &viewParams) |
void | RefreshIfRequired (G4VViewer *viewer) |
void | InterpolateViews (G4VViewer *currentViewer, std::vector< G4ViewParameters > viewVector, const G4int nInterpolationPoints=50, const G4int waitTimePerPointmilliseconds=20, const G4String exportString="") |
void | InterpolateToNewView (G4VViewer *currentViewer, const G4ViewParameters &oldVP, const G4ViewParameters &newVP, const G4int nInterpolationPoints=50, const G4int waitTimePerPointmilliseconds=20, const G4String exportString="") |
void | Twinkle (G4VViewer *currentViewer, const G4ViewParameters &baseVP, const std::vector< std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > > &paths) |
const G4String & | ConvertToColourGuidance () |
void | ConvertToColour (G4Colour &colour, const G4String &redOrString, G4double green, G4double blue, G4double opacity) |
G4bool | ProvideValueOfUnit (const G4String &where, const G4String &unit, const G4String &category, G4double &value) |
void | CopyCameraParameters (G4ViewParameters &target, const G4ViewParameters &from) |
void | CheckSceneAndNotifyHandlers (G4Scene *=nullptr) |
G4bool | CheckView () |
void | G4VisCommandsSceneAddUnsuccessful (G4VisManager::Verbosity verbosity) |
void | CopyGuidanceFrom (const G4UIcommand *fromCmd, G4UIcommand *toCmd, G4int startLine=0) |
void | CopyParametersFrom (const G4UIcommand *fromCmd, G4UIcommand *toCmd) |
void | DrawExtent (const G4VisExtent &) |
Protected Member Functions inherited from G4UImessenger | |
G4String | ItoS (G4int i) |
G4String | DtoS (G4double a) |
G4String | BtoS (G4bool b) |
G4int | StoI (const G4String &s) |
G4long | StoL (const G4String &s) |
G4double | StoD (const G4String &s) |
G4bool | StoB (G4String s) |
void | AddUIcommand (G4UIcommand *newCommand) |
void | CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true) |
template<typename T > | |
T * | CreateCommand (const G4String &cname, const G4String &dsc) |
Static Protected Member Functions | |
static G4String | ConvertToString (G4double x, G4double y, const char *unitName) |
static G4bool | ConvertToDoublePair (const G4String ¶mString, G4double &xval, G4double &yval) |
Static Protected Attributes | |
static G4VisManager * | fpVisManager = nullptr |
static G4int | fCurrentArrow3DLineSegmentsPerCircle = 6 |
static G4Colour | fCurrentColour = G4Colour::White() |
static G4double | fCurrentLineWidth = 1. |
static G4Colour | fCurrentTextColour = G4Colour::Blue() |
static G4Text::Layout | fCurrentTextLayout = G4Text::left |
static G4double | fCurrentTextSize = 12. |
static G4PhysicalVolumeModel::TouchableProperties | fCurrentTouchableProperties |
static G4VisExtent | fCurrentExtentForField |
static std::vector< G4PhysicalVolumesSearchScene::Findings > | fCurrrentPVFindingsForField |
static G4bool | fThereWasAViewer = false |
static G4ViewParameters | fExistingVP |
Additional Inherited Members | |
Protected Attributes inherited from G4UImessenger | |
G4UIdirectory * | baseDir = nullptr |
G4String | baseDirName = "" |
G4bool | commandsShouldBeInMaster = false |
Definition at line 47 of file G4VVisCommand.hh.
G4VVisCommand::G4VVisCommand | ( | ) |
Definition at line 59 of file G4VVisCommand.cc.
|
virtual |
Definition at line 61 of file G4VVisCommand.cc.
|
protected |
Definition at line 212 of file G4VVisCommand.cc.
Referenced by G4VisCommandSceneActivateModel::SetNewValue(), G4VisCommandSceneRemoveModel::SetNewValue(), G4VisCommandSceneSelect::SetNewValue(), G4VisCommandSceneAddArrow::SetNewValue(), G4VisCommandSceneAddArrow2D::SetNewValue(), G4VisCommandSceneAddAxes::SetNewValue(), G4VisCommandSceneAddDate::SetNewValue(), G4VisCommandSceneAddDigis::SetNewValue(), G4VisCommandSceneAddEventID::SetNewValue(), G4VisCommandSceneAddExtent::SetNewValue(), G4VisCommandSceneAddElectricField::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandSceneAddGPS::SetNewValue(), G4VisCommandSceneAddHits::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), G4VisCommandSceneAddLocalAxes::SetNewValue(), G4VisCommandSceneAddLogicalVolume::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddLogo2D::SetNewValue(), G4VisCommandSceneAddMagneticField::SetNewValue(), G4VisCommandSceneAddPSHits::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), G4VisCommandSceneAddTrajectories::SetNewValue(), G4VisCommandSceneAddUserAction::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), G4VisCommandSceneAddPlotter::SetNewValue(), and G4VisCommandViewerRefresh::SetNewValue().
|
protected |
Definition at line 242 of file G4VVisCommand.cc.
|
protected |
Definition at line 124 of file G4VVisCommand.cc.
Referenced by G4VisCommandGeometrySetColour::SetNewValue(), G4VisCommandSceneAddGPS::SetNewValue(), G4VisCommandSetColour::SetNewValue(), G4VisCommandSetTextColour::SetNewValue(), G4VisCommandsTouchableSet::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
|
protected |
Definition at line 114 of file G4VVisCommand.cc.
Referenced by G4VisCommandSceneAddGPS::G4VisCommandSceneAddGPS(), G4VisCommandSetColour::G4VisCommandSetColour(), G4VisCommandSetTextColour::G4VisCommandSetTextColour(), G4VisCommandsTouchableSet::G4VisCommandsTouchableSet(), and G4VisCommandsViewerSet::G4VisCommandsViewerSet().
|
staticprotected |
Definition at line 90 of file G4VVisCommand.cc.
Referenced by G4VisCommandViewerPan::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
|
staticprotected |
Definition at line 80 of file G4VVisCommand.cc.
Referenced by G4VisCommandViewerPan::GetCurrentValue().
|
protected |
Definition at line 435 of file G4VVisCommand.cc.
Referenced by G4VisCommandViewerCopyViewFrom::SetNewValue(), and G4VisCommandViewerResetCameraParameters::SetNewValue().
|
protected |
Definition at line 396 of file G4VVisCommand.cc.
Referenced by G4VisCommandDrawLogicalVolume::G4VisCommandDrawLogicalVolume(), G4VisCommandDrawVolume::G4VisCommandDrawVolume(), G4VisCommandOpen::G4VisCommandOpen(), G4VisCommandSceneAddMagneticField::G4VisCommandSceneAddMagneticField(), G4VisCommandsTouchable::G4VisCommandsTouchable(), and G4VisCommandViewerCentreOn::G4VisCommandViewerCentreOn().
|
protected |
Definition at line 408 of file G4VVisCommand.cc.
Referenced by G4VisCommandDrawLogicalVolume::G4VisCommandDrawLogicalVolume(), G4VisCommandDrawVolume::G4VisCommandDrawVolume(), G4VisCommandSceneAddMagneticField::G4VisCommandSceneAddMagneticField(), and G4VisCommandViewerCentreOn::G4VisCommandViewerCentreOn().
|
protected |
Definition at line 420 of file G4VVisCommand.cc.
Referenced by G4VisCommandSceneShowExtents::SetNewValue(), G4VisCommandSetVolumeForField::SetNewValue(), and G4VisCommandsTouchable::SetNewValue().
|
protected |
Definition at line 259 of file G4VVisCommand.cc.
Referenced by G4VisCommandSceneAddArrow::SetNewValue(), G4VisCommandSceneAddArrow2D::SetNewValue(), G4VisCommandSceneAddAxes::SetNewValue(), G4VisCommandSceneAddDate::SetNewValue(), G4VisCommandSceneAddDigis::SetNewValue(), G4VisCommandSceneAddEventID::SetNewValue(), G4VisCommandSceneAddExtent::SetNewValue(), G4VisCommandSceneAddElectricField::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandSceneAddGPS::SetNewValue(), G4VisCommandSceneAddHits::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), G4VisCommandSceneAddLocalAxes::SetNewValue(), G4VisCommandSceneAddLogicalVolume::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddLogo2D::SetNewValue(), G4VisCommandSceneAddMagneticField::SetNewValue(), G4VisCommandSceneAddPSHits::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), G4VisCommandSceneAddPlotter::SetNewValue(), and G4VisCommandsTouchable::SetNewValue().
|
static |
Definition at line 75 of file G4VVisCommand.cc.
|
static |
Definition at line 65 of file G4VVisCommand.cc.
Referenced by G4ToolsSGSceneHandler::Messenger::SetNewValue(), G4ToolsSGOffscreenViewer::Messenger::SetNewValue(), and G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Messenger::SetNewValue().
|
protected |
Definition at line 318 of file G4VVisCommand.cc.
Referenced by G4VisCommandsTouchable::SetNewValue(), and G4VisCommandViewerCentreOn::SetNewValue().
|
protected |
Definition at line 293 of file G4VVisCommand.cc.
Referenced by InterpolateToNewView(), and G4VisCommandViewerInterpolate::SetNewValue().
|
protected |
Definition at line 180 of file G4VVisCommand.cc.
Referenced by G4VisCommandViewerColourByDensity::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
|
protected |
Definition at line 276 of file G4VVisCommand.cc.
Referenced by G4VisCommandViewerRebuild::SetNewValue(), G4VisCommandViewerReset::SetNewValue(), G4VisCommandViewerResetCameraParameters::SetNewValue(), G4VisCommandViewerSelect::SetNewValue(), and SetViewParameters().
|
protected |
Definition at line 270 of file G4VVisCommand.cc.
Referenced by G4VisCommandsTouchable::SetNewValue(), G4VisCommandsTouchableSet::SetNewValue(), G4VisCommandViewerAddCutawayPlane::SetNewValue(), G4VisCommandViewerCentreOn::SetNewValue(), G4VisCommandViewerChangeCutawayPlane::SetNewValue(), G4VisCommandViewerClearCutawayPlanes::SetNewValue(), G4VisCommandViewerClearVisAttributesModifiers::SetNewValue(), G4VisCommandViewerColourByDensity::SetNewValue(), G4VisCommandViewerCopyViewFrom::SetNewValue(), G4VisCommandViewerDolly::SetNewValue(), G4VisCommandViewerPan::SetNewValue(), G4VisCommandViewerScale::SetNewValue(), G4VisCommandViewerZoom::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
|
static |
Definition at line 70 of file G4VVisCommand.cc.
Referenced by G4VisManager::G4VisManager().
|
protected |
Definition at line 340 of file G4VVisCommand.cc.
Referenced by G4VisCommandsTouchable::SetNewValue(), and G4VisCommandViewerCentreOn::SetNewValue().
|
staticprotected |
Definition at line 149 of file G4VVisCommand.hh.
Referenced by G4VisCommandSceneAddArrow::SetNewValue(), G4VisCommandSceneAddElectricField::SetNewValue(), G4VisCommandSceneAddMagneticField::SetNewValue(), and G4VisCommandSetArrow3DLineSegmentsPerCircle::SetNewValue().
|
staticprotected |
Definition at line 150 of file G4VVisCommand.hh.
Referenced by G4VisCommandSceneAddArrow::SetNewValue(), G4VisCommandSceneAddArrow2D::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), and G4VisCommandSetColour::SetNewValue().
|
staticprotected |
|
staticprotected |
Definition at line 151 of file G4VVisCommand.hh.
Referenced by G4VisCommandSceneAddArrow::SetNewValue(), G4VisCommandSceneAddArrow2D::SetNewValue(), G4VisCommandSceneAddAxes::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), and G4VisCommandSetLineWidth::SetNewValue().
|
staticprotected |
Definition at line 155 of file G4VVisCommand.hh.
Referenced by GetCurrentTextColour(), G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), and G4VisCommandSetTextColour::SetNewValue().
|
staticprotected |
Definition at line 156 of file G4VVisCommand.hh.
Referenced by G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), and G4VisCommandSetTextLayout::SetNewValue().
|
staticprotected |
Definition at line 157 of file G4VVisCommand.hh.
Referenced by G4VisCommandSceneAddAxes::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), and G4VisCommandSetTextSize::SetNewValue().
|
staticprotected |
Definition at line 158 of file G4VVisCommand.hh.
Referenced by G4VisCommandSetTouchable::SetNewValue(), G4VisCommandsTouchable::SetNewValue(), and G4VisCommandsTouchableSet::SetNewValue().
|
staticprotected |
|
staticprotected |
Definition at line 167 of file G4VVisCommand.hh.
Referenced by G4VisCommandSceneHandlerCreate::SetNewValue(), and G4VisCommandViewerCreate::SetNewValue().
|
staticprotected |
Definition at line 146 of file G4VVisCommand.hh.
Referenced by CheckSceneAndNotifyHandlers(), CheckView(), ConvertToColour(), ConvertToDoublePair(), G4VVisCommandScene::CurrentSceneName(), DrawExtent(), G4VisCommandSceneHandlerCreate::G4VisCommandSceneHandlerCreate(), G4VisCommandOpen::GetCurrentValue(), G4VisCommandSceneHandlerAttach::GetCurrentValue(), G4VisCommandSceneHandlerCreate::GetCurrentValue(), G4VisCommandViewerClear::GetCurrentValue(), G4VisCommandViewerClearTransients::GetCurrentValue(), G4VisCommandViewerClone::GetCurrentValue(), G4VisCommandViewerCreate::GetCurrentValue(), G4VisCommandViewerFlush::GetCurrentValue(), G4VisCommandViewerRebuild::GetCurrentValue(), G4VisCommandViewerRefresh::GetCurrentValue(), G4VisCommandViewerReset::GetCurrentValue(), G4VisCommandViewerResetCameraParameters::GetCurrentValue(), G4VisCommandViewerUpdate::GetCurrentValue(), GetVisManager(), ProvideValueOfUnit(), RefreshIfRequired(), G4VVisCommandGeometrySet::Set(), G4VVisCommandGeometrySet::SetLVVisAtts(), G4VisCommandAbortReviewKeptEvents::SetNewValue(), G4VisCommandAbortReviewPlots::SetNewValue(), G4VisCommandDrawOnlyToBeKeptEvents::SetNewValue(), G4VisCommandEnable::SetNewValue(), G4VisCommandInitialize::SetNewValue(), G4VisCommandList::SetNewValue(), G4VisCommandReviewKeptEvents::SetNewValue(), G4VisCommandReviewPlots::SetNewValue(), G4VisCommandVerbose::SetNewValue(), G4VisCommandDrawTree::SetNewValue(), G4VisCommandDrawView::SetNewValue(), G4VisCommandDrawLogicalVolume::SetNewValue(), G4VisCommandDrawVolume::SetNewValue(), G4VisCommandOpen::SetNewValue(), G4VisCommandPlot::SetNewValue(), G4VisCommandSpecify::SetNewValue(), G4VisCommandGeometryList::SetNewValue(), G4VisCommandGeometryRestore::SetNewValue(), G4VisCommandGeometrySetDaughtersInvisible::SetNewValue(), G4VisCommandGeometrySetVisibility::SetNewValue(), G4VisCommandSceneActivateModel::SetNewValue(), G4VisCommandSceneCreate::SetNewValue(), G4VisCommandSceneEndOfEventAction::SetNewValue(), G4VisCommandSceneEndOfRunAction::SetNewValue(), G4VisCommandSceneList::SetNewValue(), G4VisCommandSceneNotifyHandlers::SetNewValue(), G4VisCommandSceneRemoveModel::SetNewValue(), G4VisCommandSceneSelect::SetNewValue(), G4VisCommandSceneShowExtents::SetNewValue(), G4VisCommandSceneAddArrow::SetNewValue(), G4VisCommandSceneAddArrow2D::SetNewValue(), G4VisCommandSceneAddAxes::SetNewValue(), G4VisCommandSceneAddDate::SetNewValue(), G4VisCommandSceneAddDigis::SetNewValue(), G4VisCommandSceneAddEventID::SetNewValue(), G4VisCommandSceneAddExtent::SetNewValue(), G4VisCommandSceneAddElectricField::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandSceneAddGPS::SetNewValue(), G4VisCommandSceneAddHits::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), G4VisCommandSceneAddLocalAxes::SetNewValue(), G4VisCommandSceneAddLogicalVolume::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddLogo2D::SetNewValue(), G4VisCommandSceneAddMagneticField::SetNewValue(), G4VisCommandSceneAddPSHits::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), G4VisCommandSceneAddTrajectories::SetNewValue(), G4VisCommandSceneAddUserAction::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), G4VisCommandSceneAddPlotter::SetNewValue(), G4VisCommandSceneHandlerAttach::SetNewValue(), G4VisCommandSceneHandlerCreate::SetNewValue(), G4VisCommandSceneHandlerList::SetNewValue(), G4VisCommandSceneHandlerSelect::SetNewValue(), G4VisCommandSetArrow3DLineSegmentsPerCircle::SetNewValue(), G4VisCommandSetColour::SetNewValue(), G4VisCommandSetExtentForField::SetNewValue(), G4VisCommandSetLineWidth::SetNewValue(), G4VisCommandSetTextColour::SetNewValue(), G4VisCommandSetTextLayout::SetNewValue(), G4VisCommandSetTextSize::SetNewValue(), G4VisCommandSetTouchable::SetNewValue(), G4VisCommandSetVolumeForField::SetNewValue(), G4VisCommandsTouchable::SetNewValue(), G4VisCommandsTouchableSet::SetNewValue(), G4VisCommandViewerAddCutawayPlane::SetNewValue(), G4VisCommandViewerCentreOn::SetNewValue(), G4VisCommandViewerChangeCutawayPlane::SetNewValue(), G4VisCommandViewerClear::SetNewValue(), G4VisCommandViewerClearCutawayPlanes::SetNewValue(), G4VisCommandViewerClearTransients::SetNewValue(), G4VisCommandViewerClearVisAttributesModifiers::SetNewValue(), G4VisCommandViewerClone::SetNewValue(), G4VisCommandViewerColourByDensity::SetNewValue(), G4VisCommandViewerCopyViewFrom::SetNewValue(), G4VisCommandViewerCreate::SetNewValue(), G4VisCommandViewerDolly::SetNewValue(), G4VisCommandViewerFlush::SetNewValue(), G4VisCommandViewerInterpolate::SetNewValue(), G4VisCommandViewerList::SetNewValue(), G4VisCommandViewerPan::SetNewValue(), G4VisCommandViewerRebuild::SetNewValue(), G4VisCommandViewerRefresh::SetNewValue(), G4VisCommandViewerReset::SetNewValue(), G4VisCommandViewerResetCameraParameters::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), G4VisCommandViewerScale::SetNewValue(), G4VisCommandViewerSelect::SetNewValue(), G4VisCommandViewerUpdate::SetNewValue(), G4VisCommandViewerZoom::SetNewValue(), G4VisCommandViewerDefaultHiddenEdge::SetNewValue(), G4VisCommandViewerDefaultStyle::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), G4VisCommandGeometrySetVisibility::SetNewValueOnLV(), and SetVisManager().
|
staticprotected |
Definition at line 166 of file G4VVisCommand.hh.
Referenced by G4VisCommandSceneHandlerCreate::SetNewValue(), and G4VisCommandViewerCreate::SetNewValue().