Geant4 10.7.0
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 () | |
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 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="") |
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 | 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 (G4String s) |
G4long | StoL (G4String s) |
G4double | StoD (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 = 0 |
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 |
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 52 of file G4VVisCommand.cc.
|
virtual |
Definition at line 54 of file G4VVisCommand.cc.
|
protected |
Definition at line 190 of file G4VVisCommand.cc.
Referenced by G4VisCommandSceneActivateModel::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(), G4VisCommandSceneAddLogicalVolume::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddLogo2D::SetNewValue(), G4VisCommandSceneAddMagneticField::SetNewValue(), G4VisCommandSceneAddPSHits::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), G4VisCommandSceneAddTrajectories::SetNewValue(), G4VisCommandSceneAddUserAction::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), and G4VisCommandViewerRefresh::SetNewValue().
|
protected |
Definition at line 220 of file G4VVisCommand.cc.
|
protected |
Definition at line 102 of file G4VVisCommand.cc.
Referenced by G4VisCommandGeometrySetColour::SetNewValue(), G4VisCommandSceneAddGPS::SetNewValue(), G4VisCommandSetColour::SetNewValue(), G4VisCommandSetTextColour::SetNewValue(), G4VisCommandsTouchableSet::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
|
protected |
Definition at line 92 of file G4VVisCommand.cc.
Referenced by G4VisCommandSceneAddGPS::G4VisCommandSceneAddGPS(), G4VisCommandSetColour::G4VisCommandSetColour(), G4VisCommandSetTextColour::G4VisCommandSetTextColour(), G4VisCommandsTouchableSet::G4VisCommandsTouchableSet(), and G4VisCommandsViewerSet::G4VisCommandsViewerSet().
|
staticprotected |
Definition at line 68 of file G4VVisCommand.cc.
Referenced by G4VisCommandViewerPan::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
|
staticprotected |
Definition at line 58 of file G4VVisCommand.cc.
Referenced by G4VisCommandViewerPan::GetCurrentValue().
|
protected |
Definition at line 319 of file G4VVisCommand.cc.
Referenced by G4VisCommandDrawLogicalVolume::G4VisCommandDrawLogicalVolume(), G4VisCommandDrawVolume::G4VisCommandDrawVolume(), G4VisCommandSceneAddMagneticField::G4VisCommandSceneAddMagneticField(), G4VisCommandsTouchable::G4VisCommandsTouchable(), and G4VisCommandViewerCentreOn::G4VisCommandViewerCentreOn().
|
protected |
Definition at line 331 of file G4VVisCommand.cc.
Referenced by G4VisCommandDrawLogicalVolume::G4VisCommandDrawLogicalVolume(), G4VisCommandDrawVolume::G4VisCommandDrawVolume(), G4VisCommandSceneAddMagneticField::G4VisCommandSceneAddMagneticField(), and G4VisCommandViewerCentreOn::G4VisCommandViewerCentreOn().
|
protected |
Definition at line 343 of file G4VVisCommand.cc.
Referenced by G4VisCommandSceneShowExtents::SetNewValue(), G4VisCommandSetVolumeForField::SetNewValue(), and G4VisCommandsTouchable::SetNewValue().
|
protected |
Definition at line 237 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(), G4VisCommandSceneAddLogicalVolume::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddLogo2D::SetNewValue(), G4VisCommandSceneAddMagneticField::SetNewValue(), G4VisCommandSceneAddPSHits::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), and G4VisCommandsTouchable::SetNewValue().
|
inlinestatic |
Definition at line 58 of file G4VVisCommand.hh.
Referenced by G4VSceneHandler::AddPrimitive(), and G4VSceneHandler::GetTextColour().
|
protected |
Definition at line 297 of file G4VVisCommand.cc.
Referenced by G4VisCommandsTouchable::SetNewValue(), and G4VisCommandViewerCentreOn::SetNewValue().
|
protected |
Definition at line 271 of file G4VVisCommand.cc.
Referenced by InterpolateToNewView(), and G4VisCommandViewerInterpolate::SetNewValue().
|
protected |
Definition at line 158 of file G4VVisCommand.cc.
Referenced by G4VisCommandViewerColourByDensity::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
|
protected |
Definition at line 254 of file G4VVisCommand.cc.
Referenced by G4VisCommandViewerReset::SetNewValue(), G4VisCommandViewerRebuild::SetNewValue(), G4VisCommandViewerSelect::SetNewValue(), and SetViewParameters().
|
protected |
Definition at line 248 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().
|
inlinestatic |
Definition at line 55 of file G4VVisCommand.hh.
Referenced by G4VisManager::G4VisManager().
|
staticprotected |
Definition at line 138 of file G4VVisCommand.hh.
Referenced by G4VisCommandSceneAddArrow::SetNewValue(), G4VisCommandSceneAddElectricField::SetNewValue(), G4VisCommandSceneAddMagneticField::SetNewValue(), and G4VisCommandSetArrow3DLineSegmentsPerCircle::SetNewValue().
|
staticprotected |
Definition at line 139 of file G4VVisCommand.hh.
Referenced by G4VisCommandSceneAddArrow::SetNewValue(), G4VisCommandSceneAddArrow2D::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), and G4VisCommandSetColour::SetNewValue().
|
staticprotected |
|
staticprotected |
Definition at line 140 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 144 of file G4VVisCommand.hh.
Referenced by GetCurrentTextColour(), G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), and G4VisCommandSetTextColour::SetNewValue().
|
staticprotected |
Definition at line 145 of file G4VVisCommand.hh.
Referenced by G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), and G4VisCommandSetTextLayout::SetNewValue().
|
staticprotected |
Definition at line 146 of file G4VVisCommand.hh.
Referenced by G4VisCommandSceneAddAxes::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), and G4VisCommandSetTextSize::SetNewValue().
|
staticprotected |
Definition at line 147 of file G4VVisCommand.hh.
Referenced by G4VisCommandSetTouchable::SetNewValue(), G4VisCommandsTouchable::SetNewValue(), and G4VisCommandsTouchableSet::SetNewValue().
|
staticprotected |
|
staticprotected |
Definition at line 135 of file G4VVisCommand.hh.
Referenced by CheckSceneAndNotifyHandlers(), CheckView(), ConvertToColour(), ConvertToDoublePair(), G4VVisCommandScene::CurrentSceneName(), DrawExtent(), G4VisCommandSceneHandlerCreate::G4VisCommandSceneHandlerCreate(), G4VisCommandSceneHandlerAttach::GetCurrentValue(), G4VisCommandSceneHandlerCreate::GetCurrentValue(), G4VisCommandViewerClear::GetCurrentValue(), G4VisCommandViewerClearTransients::GetCurrentValue(), G4VisCommandViewerClone::GetCurrentValue(), G4VisCommandViewerCreate::GetCurrentValue(), G4VisCommandViewerFlush::GetCurrentValue(), G4VisCommandViewerReset::GetCurrentValue(), G4VisCommandViewerRefresh::GetCurrentValue(), G4VisCommandViewerRebuild::GetCurrentValue(), G4VisCommandViewerUpdate::GetCurrentValue(), ProvideValueOfUnit(), RefreshIfRequired(), G4VVisCommandGeometrySet::Set(), G4VVisCommandGeometrySet::SetLVVisAtts(), G4VisCommandAbortReviewKeptEvents::SetNewValue(), G4VisCommandDrawOnlyToBeKeptEvents::SetNewValue(), G4VisCommandEnable::SetNewValue(), G4VisCommandInitialize::SetNewValue(), G4VisCommandList::SetNewValue(), G4VisCommandReviewKeptEvents::SetNewValue(), G4VisCommandVerbose::SetNewValue(), G4VisCommandDrawTree::SetNewValue(), G4VisCommandDrawView::SetNewValue(), G4VisCommandDrawLogicalVolume::SetNewValue(), G4VisCommandDrawVolume::SetNewValue(), G4VisCommandOpen::SetNewValue(), G4VisCommandSpecify::SetNewValue(), G4VisCommandGeometryList::SetNewValue(), G4VisCommandGeometryRestore::SetNewValue(), G4VisCommandGeometrySetDaughtersInvisible::SetNewValue(), G4VisCommandGeometrySetVisibility::SetNewValue(), G4VisCommandSceneActivateModel::SetNewValue(), G4VisCommandSceneCreate::SetNewValue(), G4VisCommandSceneEndOfEventAction::SetNewValue(), G4VisCommandSceneEndOfRunAction::SetNewValue(), G4VisCommandSceneList::SetNewValue(), G4VisCommandSceneNotifyHandlers::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(), G4VisCommandSceneAddLogicalVolume::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddLogo2D::SetNewValue(), G4VisCommandSceneAddMagneticField::SetNewValue(), G4VisCommandSceneAddPSHits::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), G4VisCommandSceneAddTrajectories::SetNewValue(), G4VisCommandSceneAddUserAction::SetNewValue(), G4VisCommandSceneAddVolume::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(), G4VisCommandViewerReset::SetNewValue(), G4VisCommandViewerRefresh::SetNewValue(), G4VisCommandViewerRebuild::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), G4VisCommandViewerScale::SetNewValue(), G4VisCommandViewerSelect::SetNewValue(), G4VisCommandViewerUpdate::SetNewValue(), G4VisCommandViewerZoom::SetNewValue(), G4VisCommandViewerDefaultHiddenEdge::SetNewValue(), G4VisCommandViewerDefaultStyle::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), G4VisCommandGeometrySetVisibility::SetNewValueOnLV(), and SetVisManager().