32#include "G4UIcmdWith3VectorAndUnit.hh"
33#include "G4UIcmdWithADoubleAndUnit.hh"
34#include "G4UIcmdWithoutParameter.hh"
35#include "G4UIcommand.hh"
36#include "G4UIdirectory.hh"
37#include "G4UIparameter.hh"
52 fVoxelsDir->SetGuidance(
"commands to change voxels size");
57 fVoxelSizeCmd->SetParameterName(
"SizeAlongX",
"SizeAlongY",
"SizeAlongZ",
false);
58 fVoxelSizeCmd->SetRange(
"SizeAlongX>0. && SizeAlongY>0. && SizeAlongZ>0.");
60 fVoxelSizeCmd->AvailableForStates(G4State_PreInit, G4State_Idle);
93 fUpdateVoxCmd->SetGuidance(
"This command MUST be applied before \"beamOn\" ");
Definition of the RadioBio::VoxelizedSensitiveDetectorMessenger class.
Definition of the RadioBio::VoxelizedSensitiveDetector class.
G4UIcmdWithADoubleAndUnit * fVoxelSizeZCmd
G4UIdirectory * fVoxelsDir
VoxelizedSensitiveDetector * fVoxelizedDetector
G4UIcmdWith3VectorAndUnit * fVoxelSizeCmd
void SetNewValue(G4UIcommand *, G4String) override
VoxelizedSensitiveDetectorMessenger(VoxelizedSensitiveDetector *)
~VoxelizedSensitiveDetectorMessenger() override
G4UIcmdWithADoubleAndUnit * fVoxelSizeYCmd
G4UIcmdWithADoubleAndUnit * fVoxelSizeXCmd
G4UIcmdWithoutParameter * fUpdateVoxCmd
Singleton class performing the voxelization of the world volume and tracking of a voxel index given t...
void SetVoxelWidthY(G4double voxWidthY)
Method to set the voxel Y width.
void SetVoxelWidth(G4ThreeVector voxWidth)
Method to set the voxel shape to be a box with given sides.
void UpdateVoxelizedGeometry()
Method to update voxelized geometry.
void SetVoxelWidthX(G4double voxWidthX)
Method to set the voxel X width.
void SetVoxelWidthZ(G4double voxWidthZ)
Method to set the voxel Z width.