40 #include "DetectorMessenger.hh"
41 #include "DetectorConstruction.hh"
51 fpDetectorConstruction(Det)
54 fpDirectory->
SetGuidance(
"UI commands of this example");
57 fpDetDirectory->
SetGuidance(
"Detector construction control");
69 "/PDB4DNA/det/drawNucleotides",
71 fpDrawNucleotides->
SetGuidance(
"Draw nucleotides with bounding sphere");
75 "/PDB4DNA/det/drawResidues",
77 fpDrawResidues->
SetGuidance(
"Draw residues inside nucleotides with sphere "
78 "linked by cylinders");
82 "/PDB4DNA/det/buildBoundingV",
84 fpBuildBoundingV->
SetGuidance(
"Build molecule bounding volume");
88 "/PDB4DNA/det/drawAtomsWithBounding",
90 fpDrawAtomsWithBounding->
SetGuidance(
"Draw atoms with bounding volume");
94 "/PDB4DNA/det/drawNucleotidesWithBounding",
97 "Draw nucleotides with bounding sphere and bounding volume");
102 "/PDB4DNA/det/drawResiduesWithBounding",
104 fpDrawResiduesWithBounding->
SetGuidance(
"Draw residues inside nucleotides"
105 " with sphere linked by cylinders and with bounding volume");
116 delete fpDrawNucleotides;
117 delete fpDrawResidues;
118 delete fpBuildBoundingV;
119 delete fpDrawAtomsWithBounding;
120 delete fpDrawNucleotidesWithBounding;
121 delete fpDrawResiduesWithBounding;
123 delete fpDetDirectory;
131 if( command == fpLoadPdbCmd )
135 if( command == fpDrawAtoms )
139 if( command == fpDrawNucleotides )
143 if( command == fpDrawResidues )
147 if( command == fpBuildBoundingV )
151 if( command == fpDrawAtomsWithBounding )
155 if( command == fpDrawNucleotidesWithBounding )
159 if( command == fpDrawResiduesWithBounding )
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void DrawResiduesWithBounding_()
void SetNewValue(G4UIcommand *, G4String)
void SetGuidance(const char *aGuidance)
void DrawNucleotidesWithBounding_()
void BuildBoundingVolume()
void AvailableForStates(G4ApplicationState s1)
void DrawAtomsWithBounding_()
void LoadPDBfile(G4String fileName)
DetectorMessenger(DetectorConstruction *)
Detector construction class to define materials and geometry.