#include <Doxymodules_field.h>
Definition at line 23 of file Doxymodules_field.h.
◆ G4BlineTracerMessenger()
G4BlineTracerMessenger::G4BlineTracerMessenger |
( |
G4BlineTracer * |
aBlineTool | ) |
|
Definition at line 56 of file G4BlineTracerMessenger.cc.
58{
60 fBlineToolDir->SetGuidance(
"Commands to trace and visualise magnetic field lines.");
61 fBlineToolDir->SetGuidance(
"These commands work only if a magnetic-field is set");
63
64
65
67 fBlineCmd->SetGuidance(
"Compute magnetic field lines for visualisation.");
68 fBlineCmd->SetParameterName(
"nb_of_lines",
false);
69 fBlineCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
70
76
81
87
93
98
100 fDrawCmd->SetGuidance(
"Show the stored magnetic field lines.");
101 fDrawCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
102
105 fResetCmd->SetGuidance(
"Clear the vectors of lines and points to be drawn.");
106 fResetCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
107}
G4BlineTracer * fTheBlineTool
G4UIcmdWith3Vector * fSetDrawColourCmd
G4UIcmdWithADouble * fSetPointSizeCmd
G4UIcmdWithADoubleAndUnit * fSetMaxTrackingStepCmd
G4UIcmdWithAnInteger * fBlineCmd
G4UIcmdWithoutParameter * fDrawCmd
G4UIcmdWithABool * fSetDrawBlineCmd
G4UIcmdWithoutParameter * fResetCmd
G4UIcmdWithABool * fSetDrawPointsCmd
G4UIdirectory * fBlineToolDir
◆ ~G4BlineTracerMessenger()
G4BlineTracerMessenger::~G4BlineTracerMessenger |
( |
| ) |
|
|
override |
◆ SetNewValue()
Definition at line 126 of file G4BlineTracerMessenger.cc.
128{
133 ->GetNewDoubleValue(newValues));
136 ->GetNewBoolValue(newValues));
138 {
141 SetDrawColour(
G4Colour(vec.x(),vec.y(),vec.z()));
142 }
145 ->GetNewBoolValue(newValues));
148 ->GetNewDoubleValue(newValues));
153}
void SetDrawPoints(G4bool aBool)
void ResetVectorObjectToBeDrawn()
void DrawFieldLines(G4double zoom, G4double theta, G4double phi)
void SetDrawBline(G4bool aBool)
void SetPointSize(G4double aVal)
void SetMaxTrackingStep(G4double max_step)
void ComputeBlines(G4int nlines)
G4BlineEventAction * GetEventAction()
◆ fTheBlineTool
◆ fBlineToolDir
◆ fBlineCmd
◆ fSetMaxTrackingStepCmd
◆ fSetDrawColourCmd
◆ fSetDrawBlineCmd
◆ fSetDrawPointsCmd
◆ fSetPointSizeCmd
◆ fDrawCmd
◆ fResetCmd
The documentation for this class was generated from the following files: