|
GGEMS
1.1
GPU GEant4-based Monte Carlo Simulations
|
Go to the documentation of this file.
40 positions_(
GGfloat3{{0.0f, 0.0f, 0.0f}})
42 GGcout(
"GGEMSVolume",
"GGEMSVolume", 3) <<
"GGEMSVolume creating..." <<
GGendl;
49 kernel_draw_volume_ =
new cl::Kernel*[number_activated_devices];
51 GGcout(
"GGEMSVolume",
"GGEMSVolume", 3) <<
"GGEMSVolume created!!!" <<
GGendl;
60 GGcout(
"GGEMSVolume",
"~GGEMSVolume", 3) <<
"GGEMSVolume erasing..." <<
GGendl;
67 GGcout(
"GGEMSVolume",
"~GGEMSVolume", 3) <<
"GGEMSVolume erased!!!" <<
GGendl;
void AddLabelAndMaterial(GGfloat const &label, std::string const &material)
add the label and the material
cl::Kernel ** kernel_draw_volume_
GGsize GetNumberOfActivatedDevice(void) const
get the number of activated devices
static GGEMSVolumeCreatorManager & GetInstance(void)
Create at first time the Singleton.
Mother class handle solid volume.
Singleton class handling convertion from analytical volume to voxelized volume.
GGEMSVolume(void)
GGEMSVolume constructor.
virtual ~GGEMSVolume(void)
GGEMSVolume destructor.
void SetLabelValue(GGfloat const &label_value)
Set the label value.
Namespace storing all the usefull physical units.
#define GGendl
overload C++ std::endl
Singleton class storing all informations about OpenCL and managing GPU/CPU devices,...
void SetPosition(GGfloat const &pos_x, GGfloat const &pos_y, GGfloat const &pos_z, std::string const &unit="mm")
Set the solid phantom position.
T DistanceUnit(T const &value, std::string const &unit)
Choose best distance unit.
static GGEMSOpenCLManager & GetInstance(void)
Create at first time the Singleton.
void SetMaterial(std::string const &material)
set the material, Air by default