#include <G4BlineTracerMessenger.hh>
Definition at line 62 of file G4BlineTracerMessenger.hh.
G4BlineTracerMessenger::G4BlineTracerMessenger |
( |
G4BlineTracer * |
aBlineTool | ) |
|
Definition at line 57 of file G4BlineTracerMessenger.cc.
59 fTheBlineTool = aBlineTool;
61 fBlineToolDir->
SetGuidance(
"Commands to trace and visualise magnetic field lines.");
62 fBlineToolDir->
SetGuidance(
"These commands work only if a magnetic-field is set");
68 fBlineCmd->
SetGuidance(
"Compute magnetic field lines for visualisation.");
72 fSetMaxTrackingStepCmd =
74 fSetMaxTrackingStepCmd->
SetGuidance(
"Set the maximum length of tracking step");
75 fSetMaxTrackingStepCmd->
SetGuidance(
"when integrating magnetic field line.");
79 fSetDrawColourCmd->
SetGuidance(
"Set the colour drawing trajectories");
80 fSetDrawColourCmd->
SetGuidance(
"and magnetic field lines.");
84 fSetDrawBlineCmd->
SetGuidance(
"If true field lines are stocked in lines");
89 fSetDrawPointsCmd =
new G4UIcmdWithABool(
"/vis/blineTracer/stockPoints",
this);
90 fSetDrawPointsCmd->
SetGuidance(
"If true step field line points are stocked");
91 fSetDrawPointsCmd->
SetGuidance(
"in vector of points to be drawn.");
96 fSetPointSizeCmd->
SetGuidance(
"Set the size of points for drawing.");
101 fDrawCmd->
SetGuidance(
"Show the stored magnetic field lines.");
106 fResetCmd->
SetGuidance(
"Clear the vectors of lines and points to be drawn.");
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
G4BlineTracerMessenger::~G4BlineTracerMessenger |
( |
| ) |
|
|
virtual |
Definition at line 112 of file G4BlineTracerMessenger.cc.
116 delete fSetPointSizeCmd;
117 delete fSetDrawPointsCmd;
118 delete fSetDrawBlineCmd;
119 delete fSetDrawColourCmd;
120 delete fSetMaxTrackingStepCmd;
122 delete fBlineToolDir;
Reimplemented from G4UImessenger.
Definition at line 127 of file G4BlineTracerMessenger.cc.
130 if (command == fBlineCmd)
132 else if( command == fSetMaxTrackingStepCmd )
134 ->GetNewDoubleValue(newValues));
135 else if( command == fSetDrawBlineCmd )
137 ->GetNewBoolValue(newValues));
138 else if( command == fSetDrawColourCmd )
144 else if( command == fSetDrawPointsCmd )
146 ->GetNewBoolValue(newValues));
147 else if( command == fSetPointSizeCmd )
149 ->GetNewDoubleValue(newValues));
150 else if( command == fDrawCmd )
152 else if( command == fResetCmd )
void SetDrawBline(G4bool aBool)
void ResetVectorObjectToBeDrawn()
void DrawFieldLines(G4double zoom, G4double theta, G4double phi)
void SetDrawPoints(G4bool aBool)
static G4ThreeVector GetNew3VectorValue(const char *paramString)
void ComputeBlines(G4int nlines)
void SetMaxTrackingStep(G4double max_step)
void SetPointSize(G4double aVal)
G4BlineEventAction * GetEventAction()
The documentation for this class was generated from the following files: