Geant4  10.02.p02
G4VVisCommand Class Reference

#include <G4VVisCommand.hh>

+ Inheritance diagram for G4VVisCommand:
+ Collaboration diagram for G4VVisCommand:

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 CommandsShouldBeInMaster () const
 

Static Public Member Functions

static void SetVisManager (G4VisManager *)
 
static const G4ColourGetCurrentColour ()
 
static G4double GetCurrentLineWidth ()
 
static const G4ColourGetCurrentTextColour ()
 
static G4Text::Layout GetCurrentTextLayout ()
 
static G4double GetCurrentTextSize ()
 

Protected Member Functions

void UpdateVisManagerScene (const G4String &sceneName="")
 
- Protected Member Functions inherited from G4UImessenger
G4String ItoS (G4int i)
 
G4String DtoS (G4double a)
 
G4String BtoS (G4bool b)
 
G4int StoI (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 void ConvertToDoublePair (const G4String &paramString, G4double &xval, G4double &yval)
 

Static Protected Attributes

static G4VisManagerfpVisManager = 0
 
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
G4ModelingParameters::PVNameCopyNoPath 
fCurrentTouchablePath
 

Additional Inherited Members

- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Definition at line 47 of file G4VVisCommand.hh.

Constructor & Destructor Documentation

G4VVisCommand::G4VVisCommand ( )

Definition at line 49 of file G4VVisCommand.cc.

G4VVisCommand::~G4VVisCommand ( )
virtual

Definition at line 51 of file G4VVisCommand.cc.

Member Function Documentation

void G4VVisCommand::ConvertToDoublePair ( const G4String paramString,
G4double xval,
G4double yval 
)
staticprotected

Definition at line 65 of file G4VVisCommand.cc.

References G4UIcommand::ValueOf(), and x.

Referenced by G4VisCommandViewerPan::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4String G4VVisCommand::ConvertToString ( G4double  x,
G4double  y,
const char *  unitName 
)
staticprotected

Definition at line 56 of file G4VVisCommand.cc.

References G4UIcommand::ValueOf().

Referenced by G4VisCommandViewerPan::GetCurrentValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static const G4Colour& G4VVisCommand::GetCurrentColour ( )
inlinestatic

Definition at line 53 of file G4VVisCommand.hh.

References fCurrentColour.

static G4double G4VVisCommand::GetCurrentLineWidth ( )
inlinestatic

Definition at line 56 of file G4VVisCommand.hh.

References fCurrentLineWidth.

static const G4Colour& G4VVisCommand::GetCurrentTextColour ( )
inlinestatic

Definition at line 58 of file G4VVisCommand.hh.

References fCurrentTextColour.

static G4Text::Layout G4VVisCommand::GetCurrentTextLayout ( )
inlinestatic

Definition at line 59 of file G4VVisCommand.hh.

References fCurrentTextLayout.

static G4double G4VVisCommand::GetCurrentTextSize ( )
inlinestatic

Definition at line 60 of file G4VVisCommand.hh.

References fCurrentTextSize.

static void G4VVisCommand::SetVisManager ( G4VisManager )
static

Referenced by G4VisManager::G4VisManager().

+ Here is the caller graph for this function:

void G4VVisCommand::UpdateVisManagerScene ( const G4String sceneName = "")
protected

Definition at line 83 of file G4VVisCommand.cc.

References G4cout, G4endl, G4UImanager::GetUIpointer(), and G4VisManager::warnings.

Referenced by G4VisCommandSceneAddArrow::SetNewValue(), G4VisCommandSceneActivateModel::SetNewValue(), G4VisCommandSceneAddArrow2D::SetNewValue(), G4VisCommandSceneAddAxes::SetNewValue(), G4VisCommandSceneAddDate::SetNewValue(), G4VisCommandSceneAddDigis::SetNewValue(), G4VisCommandSceneSelect::SetNewValue(), G4VisCommandSceneAddEventID::SetNewValue(), G4VisCommandSceneAddExtent::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandSceneAddHits::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandViewerRefresh::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), G4VisCommandSceneAddLogicalVolume::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddLogo2D::SetNewValue(), G4VisCommandSceneAddMagneticField::SetNewValue(), G4VisCommandSceneAddPSHits::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), G4VisCommandSceneAddTrajectories::SetNewValue(), G4VisCommandSceneAddUserAction::SetNewValue(), and G4VisCommandSceneAddVolume::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4VVisCommand::fCurrentTextSize = 12.
staticprotected
G4ModelingParameters::PVNameCopyNoPath G4VVisCommand::fCurrentTouchablePath
staticprotected

Definition at line 86 of file G4VVisCommand.hh.

Referenced by G4VisCommandSetTouchable::SetNewValue().

G4VisManager * G4VVisCommand::fpVisManager = 0
staticprotected

Definition at line 75 of file G4VVisCommand.hh.

Referenced by G4VisCommandSceneAddUserAction::AddVisAction(), G4VVisCommandScene::CurrentSceneName(), G4VisCommandSceneHandlerCreate::G4VisCommandSceneHandlerCreate(), G4VisCommandSceneHandlerAttach::GetCurrentValue(), G4VisCommandSceneHandlerCreate::GetCurrentValue(), G4VisCommandViewerClear::GetCurrentValue(), G4VisCommandViewerClearTransients::GetCurrentValue(), G4VisCommandViewerClone::GetCurrentValue(), G4VisCommandViewerCreate::GetCurrentValue(), G4VisCommandViewerReset::GetCurrentValue(), G4VisCommandViewerRefresh::GetCurrentValue(), G4VisCommandViewerRebuild::GetCurrentValue(), G4VisCommandViewerUpdate::GetCurrentValue(), G4VisCommandViewerCreate::NextName(), G4VVisCommandViewer::RefreshIfRequired(), G4VisCommandDrawTree::SetNewValue(), G4VisCommandViewerDefaultHiddenEdge::SetNewValue(), G4VisCommandSceneHandlerAttach::SetNewValue(), G4VisCommandAbortReviewKeptEvents::SetNewValue(), G4VisCommandSetColour::SetNewValue(), G4VisCommandSceneAddArrow::SetNewValue(), G4VisCommandDrawView::SetNewValue(), G4VisCommandViewerDefaultStyle::SetNewValue(), G4VisCommandSceneHandlerCreate::SetNewValue(), G4VisCommandSceneActivateModel::SetNewValue(), G4VisCommandEnable::SetNewValue(), G4VisCommandGeometryList::SetNewValue(), G4VisCommandSetLineWidth::SetNewValue(), G4VisCommandDrawVolume::SetNewValue(), G4VisCommandViewerAddCutawayPlane::SetNewValue(), G4VisCommandSceneAddArrow2D::SetNewValue(), G4VisCommandSceneCreate::SetNewValue(), G4VisCommandSceneHandlerList::SetNewValue(), G4VisCommandGeometryRestore::SetNewValue(), G4VisCommandInitialize::SetNewValue(), G4VisCommandSetTextColour::SetNewValue(), G4VisCommandOpen::SetNewValue(), G4VisCommandViewerChangeCutawayPlane::SetNewValue(), G4VisCommandSceneHandlerSelect::SetNewValue(), G4VisCommandList::SetNewValue(), G4VisCommandSetTextLayout::SetNewValue(), G4VisCommandSceneEndOfEventAction::SetNewValue(), G4VisCommandSpecify::SetNewValue(), G4VisCommandSceneAddAxes::SetNewValue(), G4VisCommandViewerClear::SetNewValue(), G4VisCommandReviewKeptEvents::SetNewValue(), G4VisCommandSetTextSize::SetNewValue(), G4VisCommandSceneEndOfRunAction::SetNewValue(), G4VisCommandSceneAddDate::SetNewValue(), G4VisCommandViewerClearCutawayPlanes::SetNewValue(), G4VisCommandVerbose::SetNewValue(), G4VisCommandSetTouchable::SetNewValue(), G4VisCommandSceneList::SetNewValue(), G4VisCommandViewerClearTransients::SetNewValue(), G4VisCommandSceneNotifyHandlers::SetNewValue(), G4VisCommandViewerClone::SetNewValue(), G4VisCommandSceneAddDigis::SetNewValue(), G4VisCommandSceneSelect::SetNewValue(), G4VisCommandViewerCopyViewFrom::SetNewValue(), G4VisCommandSceneAddEventID::SetNewValue(), G4VisCommandViewerCreate::SetNewValue(), G4VisCommandSceneAddExtent::SetNewValue(), G4VisCommandViewerDolly::SetNewValue(), G4VisCommandViewerFlush::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandViewerList::SetNewValue(), G4VisCommandViewerPan::SetNewValue(), G4VisCommandSceneAddHits::SetNewValue(), G4VisCommandViewerReset::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandViewerRefresh::SetNewValue(), G4VisCommandViewerRebuild::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), G4VisCommandViewerScale::SetNewValue(), G4VisCommandSceneAddLogicalVolume::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandViewerSelect::SetNewValue(), G4VisCommandViewerUpdate::SetNewValue(), G4VisCommandSceneAddLogo2D::SetNewValue(), G4VisCommandViewerZoom::SetNewValue(), G4VisCommandSceneAddMagneticField::SetNewValue(), G4VisCommandSceneAddPSHits::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), G4VisCommandSceneAddTrajectories::SetNewValue(), G4VisCommandSceneAddUserAction::SetNewValue(), and G4VisCommandSceneAddVolume::SetNewValue().


The documentation for this class was generated from the following files: