GGEMS  1.1
GPU GEant4-based Monte Carlo Simulations
GGEMSTube.cc File Reference

Class GGEMSTube inheriting from GGEMSVolumeSolid handling Tube solid. More...

Include dependency graph for GGEMSTube.cc:

Go to the source code of this file.

Functions

GGEMSTubecreate_tube (GGfloat const radius_x, GGfloat const radius_y, GGfloat const height, char const *unit)
 Create instance of GGEMSTube. More...
 
void delete_tube (GGEMSTube *tube)
 Delete instance of GGEMSTube. More...
 
void set_position_tube (GGEMSTube *tube, GGfloat const pos_x, GGfloat const pos_y, GGfloat const pos_z, char const *unit)
 Set the position of the tube. More...
 
void set_material_tube (GGEMSTube *tube, char const *material)
 Set the material of the tube. More...
 
void set_label_value_tube (GGEMSTube *tube, GGfloat const label_value)
 Set the label value in tube. More...
 
void initialize_tube (GGEMSTube *tube)
 Initialize the solid and store it in Phantom creator manager. More...
 
void draw_tube (GGEMSTube *tube)
 Draw analytical volume in voxelized phantom. More...
 

Detailed Description

Class GGEMSTube inheriting from GGEMSVolumeSolid handling Tube solid.

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
Version
1.0
Date
Monday January 13, 2020

Definition in file GGEMSTube.cc.

Function Documentation

◆ create_tube()

GGEMSTube* create_tube ( GGfloat const  radius_x,
GGfloat const  radius_y,
GGfloat const  height,
char const *  unit 
)

Create instance of GGEMSTube.

Parameters
radius_x- Radius of the tube in X axis
radius_y- Radius of the tube in Y axis
height- Height of the tube
unit- unit of the distance
Returns
the pointer on the singleton

Definition at line 154 of file GGEMSTube.cc.

◆ delete_tube()

void delete_tube ( GGEMSTube tube)

Delete instance of GGEMSTube.

Parameters
tube- pointer on the solid tube

Definition at line 163 of file GGEMSTube.cc.

◆ draw_tube()

void draw_tube ( GGEMSTube tube)

Draw analytical volume in voxelized phantom.

Parameters
tube- pointer on the solid tube

Definition at line 211 of file GGEMSTube.cc.

◆ initialize_tube()

void initialize_tube ( GGEMSTube tube)

Initialize the solid and store it in Phantom creator manager.

Parameters
tube- pointer on the solid tube

Definition at line 202 of file GGEMSTube.cc.

◆ set_label_value_tube()

void set_label_value_tube ( GGEMSTube tube,
GGfloat const  label_value 
)

Set the label value in tube.

Parameters
tube- pointer on the solid tube
label_value- label value in tube

Definition at line 193 of file GGEMSTube.cc.

◆ set_material_tube()

void set_material_tube ( GGEMSTube tube,
char const *  material 
)

Set the material of the tube.

Parameters
tube- pointer on the solid tube
material- material of the tube

Definition at line 184 of file GGEMSTube.cc.

◆ set_position_tube()

void set_position_tube ( GGEMSTube tube,
GGfloat const  pos_x,
GGfloat const  pos_y,
GGfloat const  pos_z,
char const *  unit 
)

Set the position of the tube.

Parameters
tube- pointer on the solid tube
pos_x- radius of the tube
pos_y- radius of the tube
pos_z- radius of the tube
unit- unit of the distance

Definition at line 175 of file GGEMSTube.cc.