GGEMS  1.1
GPU GEant4-based Monte Carlo Simulations
GGEMSVoxelizedPhantom.hh File Reference

Child GGEMS class handling voxelized phantom. More...

Include dependency graph for GGEMSVoxelizedPhantom.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GGEMSVoxelizedPhantom
 Child GGEMS class handling voxelized phantom. More...
 

Functions

GGEMSVoxelizedPhantomcreate_ggems_voxelized_phantom (char const *voxelized_phantom_name)
 Get the GGEMSVoxelizedPhantom pointer for python user. More...
 
void set_phantom_file_ggems_voxelized_phantom (GGEMSVoxelizedPhantom *voxelized_phantom, char const *phantom_filename, char const *range_data_filename)
 set the filename of voxelized phantom and the range data file More...
 
void set_position_ggems_voxelized_phantom (GGEMSVoxelizedPhantom *voxelized_phantom, GGfloat const position_x, GGfloat const position_y, GGfloat const position_z, char const *unit)
 set the position of the voxelized phantom in X, Y and Z More...
 
void set_rotation_ggems_voxelized_phantom (GGEMSVoxelizedPhantom *voxelized_phantom, GGfloat const rx, GGfloat const ry, GGfloat const rz, char const *unit)
 Set the rotation of the voxelized phantom around local axis. More...
 

Detailed Description

Child GGEMS class handling voxelized phantom.

Author
Julien BERT julie.nosp@m.n.be.nosp@m.rt@un.nosp@m.iv-b.nosp@m.rest..nosp@m.fr
Didier BENOIT didie.nosp@m.r.be.nosp@m.noit@.nosp@m.inse.nosp@m.rm.fr
LaTIM, INSERM - U1101, Brest, FRANCE
Date
Tuesday October 20, 2020

Definition in file GGEMSVoxelizedPhantom.hh.

Function Documentation

◆ create_ggems_voxelized_phantom()

GGEMSVoxelizedPhantom * create_ggems_voxelized_phantom ( char const *  voxelized_phantom_name)

Get the GGEMSVoxelizedPhantom pointer for python user.

Parameters
voxelized_phantom_name- name of voxelized phantom
Returns
the pointer on the voxelized phantom

Definition at line 163 of file GGEMSVoxelizedPhantom.cc.

◆ set_phantom_file_ggems_voxelized_phantom()

void set_phantom_file_ggems_voxelized_phantom ( GGEMSVoxelizedPhantom voxelized_phantom,
char const *  phantom_filename,
char const *  range_data_filename 
)

set the filename of voxelized phantom and the range data file

Parameters
voxelized_phantom- pointer on voxelized_phantom
phantom_filename- filename of the voxelized phantom
range_data_filename- range to material filename

Definition at line 172 of file GGEMSVoxelizedPhantom.cc.

◆ set_position_ggems_voxelized_phantom()

void set_position_ggems_voxelized_phantom ( GGEMSVoxelizedPhantom voxelized_phantom,
GGfloat const  position_x,
GGfloat const  position_y,
GGfloat const  position_z,
char const *  unit 
)

set the position of the voxelized phantom in X, Y and Z

Parameters
voxelized_phantom- pointer on voxelized phantom
position_x- offset in X
position_y- offset in Y
position_z- offset in Z
unit- unit of the distance

Definition at line 181 of file GGEMSVoxelizedPhantom.cc.

◆ set_rotation_ggems_voxelized_phantom()

void set_rotation_ggems_voxelized_phantom ( GGEMSVoxelizedPhantom voxelized_phantom,
GGfloat const  rx,
GGfloat const  ry,
GGfloat const  rz,
char const *  unit 
)

Set the rotation of the voxelized phantom around local axis.

Parameters
voxelized_phantom- pointer on voxelized phantom
rx- Rotation around X along local axis
ry- Rotation around Y along local axis
rz- Rotation around Z along local axis
unit- unit of the angle

Definition at line 190 of file GGEMSVoxelizedPhantom.cc.