Geant4  10.01.p02
G4VisCommandsViewerSet Class Reference

#include <G4VisCommandsViewerSet.hh>

+ Inheritance diagram for G4VisCommandsViewerSet:
+ Collaboration diagram for G4VisCommandsViewerSet:

Public Member Functions

 G4VisCommandsViewerSet ()
 
virtual ~G4VisCommandsViewerSet ()
 
G4String GetCurrentValue (G4UIcommand *command)
 
void SetNewValue (G4UIcommand *command, G4String newValue)
 
- Public Member Functions inherited from G4VVisCommandViewer
 G4VVisCommandViewer ()
 
virtual ~G4VVisCommandViewer ()
 
- Public Member Functions inherited from G4VVisCommand
 G4VVisCommand ()
 
virtual ~G4VVisCommand ()
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
G4bool operator== (const G4UImessenger &messenger) const
 
G4bool CommandsShouldBeInMaster () const
 

Private Member Functions

 G4VisCommandsViewerSet (const G4VisCommandsViewerSet &)
 
G4VisCommandsViewerSet & operator= (const G4VisCommandsViewerSet &)
 

Private Attributes

G4UIcmdWithAString * fpCommandAll
 
G4UIcmdWithABool * fpCommandAutoRefresh
 
G4UIcmdWithABool * fpCommandAuxEdge
 
G4UIcommand * fpCommandBackground
 
G4UIcommand * fpCommandCulling
 
G4UIcmdWithAString * fpCommandCutawayMode
 
G4UIcommand * fpCommandDefaultColour
 
G4UIcommand * fpCommandDefaultTextColour
 
G4UIcmdWithABool * fpCommandEdge
 
G4UIcommand * fpCommandExplodeFactor
 
G4UIcmdWithADouble * fpCommandGlobalMarkerScale
 
G4UIcmdWithADouble * fpCommandGlobalLineWidthScale
 
G4UIcmdWithABool * fpCommandHiddenEdge
 
G4UIcmdWithABool * fpCommandHiddenMarker
 
G4UIcmdWithAnInteger * fpCommandLineSegments
 
G4UIcmdWithAString * fpCommandLightsMove
 
G4UIcommand * fpCommandLightsThetaPhi
 
G4UIcommand * fpCommandLightsVector
 
G4ThreeVector fLightsVector
 
G4UIcmdWithABool * fpCommandPicking
 
G4UIcommand * fpCommandProjection
 
G4UIcmdWithAString * fpCommandRotationStyle
 
G4UIcommand * fpCommandSectionPlane
 
G4UIcmdWithAString * fpCommandStyle
 
G4UIcmdWith3VectorAndUnit * fpCommandTargetPoint
 
G4UIcommand * fpCommandUpThetaPhi
 
G4UIcommand * fpCommandUpVector
 
G4ThreeVector fUpVector
 
G4UIcommand * fpCommandViewpointThetaPhi
 
G4UIcommand * fpCommandViewpointVector
 
G4ThreeVector fViewpointVector
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VVisCommand
static void SetVisManager (G4VisManager *)
 
static const G4Colour & GetCurrentColour ()
 
static G4double GetCurrentLineWidth ()
 
static const G4Colour & GetCurrentTextColour ()
 
static G4Text::Layout GetCurrentTextLayout ()
 
static G4double GetCurrentTextSize ()
 
- Protected Member Functions inherited from G4VVisCommandViewer
void SetViewParameters (G4VViewer *, const G4ViewParameters &)
 
void RefreshIfRequired (G4VViewer *)
 
- Protected Member Functions inherited from G4VVisCommand
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 inherited from G4VVisCommand
static G4String ConvertToString (G4double x, G4double y, const char *unitName)
 
static void ConvertToDoublePair (const G4String &paramString, G4double &xval, G4double &yval)
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectory * baseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 
- Static Protected Attributes inherited from G4VVisCommand
static G4VisManager * fpVisManager = 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
 

Detailed Description

Definition at line 45 of file G4VisCommandsViewerSet.hh.

Constructor & Destructor Documentation

G4VisCommandsViewerSet::G4VisCommandsViewerSet ( const G4VisCommandsViewerSet &  )
private

Member Function Documentation

G4String G4VisCommandsViewerSet::GetCurrentValue ( G4UIcommand *  command)
virtual

Reimplemented from G4UImessenger.

Definition at line 491 of file G4VisCommandsViewerSet.cc.

G4VisCommandsViewerSet& G4VisCommandsViewerSet::operator= ( const G4VisCommandsViewerSet &  )
private
void G4VisCommandsViewerSet::SetNewValue ( G4UIcommand *  command,
G4String  newValue 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 496 of file G4VisCommandsViewerSet.cc.

References G4ViewParameters::AddVisAttributesModifier(), blue, G4String::compareTo(), G4VisManager::confirmations, G4ViewParameters::constrainUpDirection, G4UIcommand::ConvertTo3Vector(), G4UIcommand::ConvertToBool(), G4UIcommand::ConvertToInt(), G4UIcommand::ConvertToString(), G4ViewParameters::cutawayIntersection, G4ViewParameters::cutawayUnion, deg, density, G4VisManager::errors, G4ViewParameters::freeRotation, G4BestUnit, G4cerr, G4cout, G4endl, G4ViewParameters::GetActualLightpointDirection(), G4ViewParameters::GetBackgroundColour(), G4Colour::GetBlue(), G4VisAttributes::GetColour(), G4Colour::GetColour(), G4ViewParameters::GetCurrentTargetPoint(), G4ViewParameters::GetCutawayMode(), G4ViewParameters::GetDefaultTextVisAttributes(), G4VViewer::GetDefaultViewParameters(), G4ViewParameters::GetDefaultVisAttributes(), G4ViewParameters::GetDrawingStyle(), G4ViewParameters::GetExplodeCentre(), G4ViewParameters::GetExplodeFactor(), G4ViewParameters::GetGlobalLineWidthScale(), G4ViewParameters::GetGlobalMarkerScale(), G4Colour::GetGreen(), G4ViewParameters::GetLightpointDirection(), G4ViewParameters::GetLightsMoveWithCamera(), G4VViewer::GetName(), G4VViewer::GetPrivateVisAttributesModifiers(), G4Colour::GetRed(), G4ViewParameters::GetRotationStyle(), G4VSceneHandler::GetScene(), G4VViewer::GetSceneHandler(), G4ViewParameters::GetSectionPlane(), G4Scene::GetStandardTargetPoint(), G4ViewParameters::GetUpVector(), G4UnitDefinition::GetValueOf(), G4VViewer::GetViewParameters(), G4ViewParameters::GetViewpointDirection(), G4ViewParameters::GetVisibleDensity(), G4ViewParameters::hlhsr, G4ViewParameters::hlr, G4ViewParameters::hsr, G4String::ignoreCase, G4ViewParameters::IsAutoRefresh(), G4ViewParameters::IsAuxEdgeVisible(), G4ViewParameters::IsMarkerNotHidden(), G4ViewParameters::IsPicking(), G4ViewParameters::IsSection(), G4ViewParameters::SetAutoRefresh(), G4ViewParameters::SetAuxEdgeVisible(), G4ViewParameters::SetBackgroundColour(), G4VisAttributes::SetColour(), G4ViewParameters::SetCulling(), G4ViewParameters::SetCullingCovered(), G4ViewParameters::SetCullingInvisible(), G4ViewParameters::SetCurrentTargetPoint(), G4ViewParameters::SetCutawayMode(), G4ViewParameters::SetDefaultTextVisAttributes(), G4ViewParameters::SetDefaultVisAttributes(), G4ViewParameters::SetDensityCulling(), G4ViewParameters::SetDrawingStyle(), G4ViewParameters::SetExplodeCentre(), G4ViewParameters::SetExplodeFactor(), G4ViewParameters::SetFieldHalfAngle(), G4ViewParameters::SetGlobalLineWidthScale(), G4ViewParameters::SetGlobalMarkerScale(), G4ViewParameters::SetLightpointDirection(), G4ViewParameters::SetLightsMoveWithCamera(), G4ViewParameters::SetMarkerHidden(), G4ViewParameters::SetMarkerNotHidden(), G4ViewParameters::SetNoOfSides(), G4ViewParameters::SetPicking(), G4ViewParameters::SetRotationStyle(), G4ViewParameters::SetSectionPlane(), G4ViewParameters::SetUpVector(), G4ViewParameters::SetViewAndLights(), G4VViewer::SetViewParameters(), G4ViewParameters::SetViewpointDirection(), G4ViewParameters::SetVisibleDensity(), G4ViewParameters::UnsetSectionPlane(), G4UIcommand::ValueOf(), G4VisManager::warnings, G4ViewParameters::wireframe, and z.

Member Data Documentation

G4ThreeVector G4VisCommandsViewerSet::fLightsVector
private

Definition at line 72 of file G4VisCommandsViewerSet.hh.

G4UIcmdWithAString* G4VisCommandsViewerSet::fpCommandAll
private

Definition at line 54 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcmdWithABool* G4VisCommandsViewerSet::fpCommandAutoRefresh
private

Definition at line 55 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcmdWithABool* G4VisCommandsViewerSet::fpCommandAuxEdge
private

Definition at line 56 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcommand* G4VisCommandsViewerSet::fpCommandBackground
private

Definition at line 57 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcommand* G4VisCommandsViewerSet::fpCommandCulling
private

Definition at line 58 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcmdWithAString* G4VisCommandsViewerSet::fpCommandCutawayMode
private

Definition at line 59 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcommand* G4VisCommandsViewerSet::fpCommandDefaultColour
private

Definition at line 60 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcommand* G4VisCommandsViewerSet::fpCommandDefaultTextColour
private

Definition at line 61 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcmdWithABool* G4VisCommandsViewerSet::fpCommandEdge
private

Definition at line 62 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcommand* G4VisCommandsViewerSet::fpCommandExplodeFactor
private

Definition at line 63 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcmdWithADouble* G4VisCommandsViewerSet::fpCommandGlobalLineWidthScale
private

Definition at line 65 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcmdWithADouble* G4VisCommandsViewerSet::fpCommandGlobalMarkerScale
private

Definition at line 64 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcmdWithABool* G4VisCommandsViewerSet::fpCommandHiddenEdge
private

Definition at line 66 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcmdWithABool* G4VisCommandsViewerSet::fpCommandHiddenMarker
private

Definition at line 67 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcmdWithAString* G4VisCommandsViewerSet::fpCommandLightsMove
private

Definition at line 69 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcommand* G4VisCommandsViewerSet::fpCommandLightsThetaPhi
private

Definition at line 70 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcommand* G4VisCommandsViewerSet::fpCommandLightsVector
private

Definition at line 71 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcmdWithAnInteger* G4VisCommandsViewerSet::fpCommandLineSegments
private

Definition at line 68 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcmdWithABool* G4VisCommandsViewerSet::fpCommandPicking
private

Definition at line 73 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcommand* G4VisCommandsViewerSet::fpCommandProjection
private

Definition at line 74 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcmdWithAString* G4VisCommandsViewerSet::fpCommandRotationStyle
private

Definition at line 75 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcommand* G4VisCommandsViewerSet::fpCommandSectionPlane
private

Definition at line 76 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcmdWithAString* G4VisCommandsViewerSet::fpCommandStyle
private

Definition at line 77 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcmdWith3VectorAndUnit* G4VisCommandsViewerSet::fpCommandTargetPoint
private

Definition at line 78 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcommand* G4VisCommandsViewerSet::fpCommandUpThetaPhi
private

Definition at line 79 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcommand* G4VisCommandsViewerSet::fpCommandUpVector
private

Definition at line 80 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcommand* G4VisCommandsViewerSet::fpCommandViewpointThetaPhi
private

Definition at line 82 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4UIcommand* G4VisCommandsViewerSet::fpCommandViewpointVector
private

Definition at line 83 of file G4VisCommandsViewerSet.hh.

Referenced by G4VisCommandsViewerSet(), and ~G4VisCommandsViewerSet().

G4ThreeVector G4VisCommandsViewerSet::fUpVector
private

Definition at line 81 of file G4VisCommandsViewerSet.hh.

G4ThreeVector G4VisCommandsViewerSet::fViewpointVector
private

Definition at line 84 of file G4VisCommandsViewerSet.hh.


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