Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4GMocrenIO.hh>
Public Member Functions | |
G4GMocrenIO () | |
~G4GMocrenIO () | |
void | initialize () |
void | setFileName (std::string &_filename) |
void | setFileName (char *_filename) |
std::string & | getFileName () |
bool | storeData (char *_filename) |
bool | storeData () |
bool | storeData2 (char *_filename) |
bool | storeData2 () |
bool | storeData3 (char *_filename) |
bool | storeData3 () |
bool | storeData4 (char *_filename) |
bool | storeData4 () |
bool | retrieveData (char *_filename) |
bool | retrieveData () |
bool | retrieveData2 (char *_filename) |
bool | retrieveData2 () |
bool | retrieveData3 (char *_filename) |
bool | retrieveData3 () |
bool | retrieveData4 (char *_filename) |
bool | retrieveData4 () |
std::string & | getID () |
void | setID () |
void | setID (std::string &_id) |
std::string & | getVersion () |
void | setVersion (std::string &_version) |
void | setLittleEndianInput (bool _little) |
void | setLittleEndianOutput (bool _little) |
std::string & | getComment () |
void | setComment (std::string &_comment) |
void | setVoxelSpacing (float _spacing[3]) |
void | getVoxelSpacing (float _spacing[3]) |
int & | getNumberOfEvents () |
void | setNumberOfEvents (int &_numberOfEvents) |
void | addOneEvent () |
void | setPointerToModalityData (unsigned int &_pointer) |
unsigned int | getPointerToModalityData () |
void | addPointerToDoseDistData (unsigned int &_pointer) |
unsigned int | getPointerToDoseDistData (int _elem=0) |
void | setPointerToROIData (unsigned int &_pointer) |
unsigned int | getPointerToROIData () |
void | setPointerToTrackData (unsigned int &_pointer) |
unsigned int | getPointerToTrackData () |
void | getModalityImageSize (int _size[3]) |
void | setModalityImageSize (int _size[3]) |
void | getModalityImageVoxelSpacing (float _size[3]) |
void | setModalityImageVoxelSpacing (float _size[3]) |
void | setModalityImageScale (double &_scale) |
double | getModalityImageScale () |
void | setModalityImage (short *_image) |
short * | getModalityImage (int _z) |
void | clearModalityImage () |
void | setModalityImageDensityMap (std::vector< float > &_map) |
std::vector< float > & | getModalityImageDensityMap () |
void | setModalityImageMinMax (short _minmax[2]) |
void | getModalityImageMinMax (short _minmax[2]) |
short | getModalityImageMax () |
short | getModalityImageMin () |
void | setModalityCenterPosition (float _center[3]) |
void | getModalityCenterPosition (float _center[3]) |
std::string | getModalityImageUnit () |
void | setModalityImageUnit (std::string &_unit) |
short | convertDensityToHU (float &_dens) |
void | newDoseDist () |
int | getNumDoseDist () |
std::string | getDoseDistUnit (int _num=0) |
void | setDoseDistUnit (std::string &_unit, int _num=0) |
void | getDoseDistSize (int _size[3], int _num=0) |
void | setDoseDistSize (int _size[3], int _num=0) |
void | setDoseDistMinMax (short _minmax[2], int _num=0) |
void | getDoseDistMinMax (short _minmax[2], int _num=0) |
void | setDoseDistMinMax (double _minmax[2], int _num=0) |
void | getDoseDistMinMax (double _minmax[2], int _num=0) |
void | setDoseDistScale (double &_scale, int _num=0) |
double | getDoseDistScale (int _num=0) |
void | setShortDoseDist (short *_image, int _num=0) |
void | getShortDoseDist (short *_data, int _z, int _num=0) |
void | getShortDoseDistMinMax (short _minmax[2], int _num=0) |
void | setDoseDist (double *_image, int _num=0) |
double * | getDoseDist (int _z, int _num=0) |
bool | addDoseDist (std::vector< double * > &_image, int _num=0) |
void | getDoseDistCenterPosition (float _center[3], int _num=0) |
void | setDoseDistCenterPosition (float _center[3], int _num=0) |
std::string | getDoseDistName (int _num=0) |
void | setDoseDistName (std::string _name, int _num=0) |
void | copyDoseDist (std::vector< class GMocrenDataPrimitive< double > > &_dose) |
bool | mergeDoseDist (std::vector< class GMocrenDataPrimitive< double > > &_dose) |
void | clearDoseDistAll () |
void | newROI () |
int | getNumROI () |
double | getROIScale (int _num=0) |
void | setROIScale (double &_scale, int _num=0) |
short * | getROI (int _z, int _num=0) |
void | setROI (short *_image, int _num=0) |
void | getROISize (int _size[3], int _num=0) |
void | setROISize (int _size[3], int _num=0) |
void | getROICenterPosition (float _center[3], int _num=0) |
void | setROICenterPosition (float _center[3], int _num=0) |
void | getROIMinMax (short _minmax[2], int _num=0) |
void | setROIMinMax (short _minmax[2], int _num=0) |
void | clearROIAll () |
int | getNumTracks () |
int | getNumTracks4 () |
std::vector< float * > & | getTracks () |
void | getTrack (int _num, std::vector< float * > &_steps, std::vector< unsigned char * > &_color) |
void | addTrack (float *_tracks) |
void | setTracks (std::vector< float * > &_tracks) |
std::vector< unsigned char * > & | getTrackColors () |
void | addTrackColor (unsigned char *_colors) |
void | setTrackColors (std::vector< unsigned char * > &_trackColors) |
void | copyTracks (std::vector< float * > &_tracks, std::vector< unsigned char * > &_colors) |
void | mergeTracks (std::vector< float * > &_tracks, std::vector< unsigned char * > &_colors) |
void | addTrack (std::vector< float * > &_steps, unsigned char _color[3]) |
void | notStoredTracks () |
void | translateTracks (std::vector< float > &_translateo) |
void | clearTracks () |
int | getNumberOfDetectors () |
void | addDetector (std::string &_name, std::vector< float * > &_det, unsigned char _color[3]) |
void | getDetector (int _num, std::vector< float * > &_edges, std::vector< unsigned char * > &_color, std::string &_detectorName) |
void | translateDetector (std::vector< float > &_translate) |
void | clearDetector () |
void | setVerboseLevel (int _level) |
template<typename T > | |
void | convertEndian (char *_val, T &_rval) |
Public Attributes | |
bool | kTracksWillBeStored |
Static Public Attributes | |
static std::string | kId |
static std::string | kVersion = "2.0.0" |
static std::string | kFileName = "dose.gdd" |
static char | kLittleEndianInput = true |
static char | kLittleEndianOutput = true |
static std::string | kComment |
static int | kNumberOfEvents = 0 |
static unsigned int | kPointerToModalityData = 0 |
static std::vector< unsigned int > | kPointerToDoseDistData |
static unsigned int | kPointerToROIData = 0 |
static unsigned int | kPointerToTrackData = 0 |
static unsigned int | kPointerToDetectorData = 0 |
static float | kVoxelSpacing [3] = {0., 0., 0.} |
static class GMocrenDataPrimitive< short > | kModality |
static std::vector< float > | kModalityImageDensityMap |
static std::string | kModalityUnit = "g/cm3 " |
static std::vector< class GMocrenDataPrimitive< double > > | kDose |
static std::string | kDoseUnit = "keV " |
static std::vector< class GMocrenDataPrimitive< short > > | kRoi |
static std::vector< float * > | kSteps |
static std::vector< unsigned char * > | kStepColors |
static std::vector< class GMocrenTrack > | kTracks |
static std::vector< class GMocrenDetector > | kDetectors |
static int | kVerbose = 0 |
Protected Member Functions | |
bool | isDoseEmpty () |
void | calcDoseDistScale () |
bool | isROIEmpty () |
template<typename Type > | |
void | convertEndian (char *, Type &) |
template<typename T > | |
void | invertByteOrder (char *_val, T &_rval) |
Definition at line 166 of file G4GMocrenIO.hh.
G4GMocrenIO::G4GMocrenIO | ( | ) |
Definition at line 401 of file G4GMocrenIO.cc.
G4GMocrenIO::~G4GMocrenIO | ( | ) |
Definition at line 407 of file G4GMocrenIO.cc.
void G4GMocrenIO::addDetector | ( | std::string & | _name, |
std::vector< float * > & | _det, | ||
unsigned char | _color[3] | ||
) |
Definition at line 3947 of file G4GMocrenIO.cc.
Referenced by retrieveData4().
bool G4GMocrenIO::addDoseDist | ( | std::vector< double * > & | _image, |
int | _num = 0 |
||
) |
Definition at line 3634 of file G4GMocrenIO.cc.
void G4GMocrenIO::addOneEvent | ( | ) |
Definition at line 3146 of file G4GMocrenIO.cc.
void G4GMocrenIO::addPointerToDoseDistData | ( | unsigned int & | _pointer | ) |
Definition at line 3158 of file G4GMocrenIO.cc.
Referenced by retrieveData3(), and retrieveData4().
void G4GMocrenIO::addTrack | ( | float * | _tracks | ) |
Definition at line 3842 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::AddPrimitive(), G4GMocrenFileSceneHandler::EndSavingGdd(), mergeTracks(), retrieveData2(), retrieveData3(), and retrieveData4().
void G4GMocrenIO::addTrack | ( | std::vector< float * > & | _steps, |
unsigned char | _color[3] | ||
) |
Definition at line 3892 of file G4GMocrenIO.cc.
void G4GMocrenIO::addTrackColor | ( | unsigned char * | _colors | ) |
Definition at line 3851 of file G4GMocrenIO.cc.
Referenced by mergeTracks(), and retrieveData3().
|
protected |
Definition at line 3727 of file G4GMocrenIO.cc.
Referenced by storeData2(), storeData3(), and storeData4().
|
inline |
Definition at line 451 of file G4GMocrenIO.hh.
Referenced by G4GMocrenFileSceneHandler::BeginSavingGdd().
void G4GMocrenIO::clearDoseDistAll | ( | ) |
Definition at line 3706 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::BeginSavingGdd().
void G4GMocrenIO::clearModalityImage | ( | ) |
Definition at line 3394 of file G4GMocrenIO.cc.
void G4GMocrenIO::clearROIAll | ( | ) |
Definition at line 3812 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::BeginSavingGdd().
|
inline |
Definition at line 439 of file G4GMocrenIO.hh.
Referenced by G4GMocrenFileSceneHandler::BeginSavingGdd().
short G4GMocrenIO::convertDensityToHU | ( | float & | _dens | ) |
Definition at line 3449 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::EndSavingGdd().
|
protected |
Referenced by retrieveData2(), retrieveData3(), and retrieveData4().
void G4GMocrenIO::convertEndian | ( | char * | _val, |
T & | _rval | ||
) |
Definition at line 4005 of file G4GMocrenIO.cc.
void G4GMocrenIO::copyDoseDist | ( | std::vector< class GMocrenDataPrimitive< double > > & | _dose | ) |
Definition at line 3676 of file G4GMocrenIO.cc.
void G4GMocrenIO::copyTracks | ( | std::vector< float * > & | _tracks, |
std::vector< unsigned char * > & | _colors | ||
) |
Definition at line 3860 of file G4GMocrenIO.cc.
|
inline |
Definition at line 274 of file G4GMocrenIO.hh.
void G4GMocrenIO::getDetector | ( | int | _num, |
std::vector< float * > & | _edges, | ||
std::vector< unsigned char * > & | _color, | ||
std::string & | _detectorName | ||
) |
Definition at line 3969 of file G4GMocrenIO.cc.
double * G4GMocrenIO::getDoseDist | ( | int | _z, |
int | _num = 0 |
||
) |
Definition at line 3611 of file G4GMocrenIO.cc.
void G4GMocrenIO::getDoseDistCenterPosition | ( | float | _center[3], |
int | _num = 0 |
||
) |
Definition at line 3655 of file G4GMocrenIO.cc.
Referenced by storeData3(), and storeData4().
void G4GMocrenIO::getDoseDistMinMax | ( | double | _minmax[2], |
int | _num = 0 |
||
) |
Definition at line 3530 of file G4GMocrenIO.cc.
void G4GMocrenIO::getDoseDistMinMax | ( | short | _minmax[2], |
int | _num = 0 |
||
) |
Definition at line 3515 of file G4GMocrenIO.cc.
std::string G4GMocrenIO::getDoseDistName | ( | int | _num = 0 | ) |
Definition at line 3667 of file G4GMocrenIO.cc.
Referenced by storeData4().
double G4GMocrenIO::getDoseDistScale | ( | int | _num = 0 | ) |
Definition at line 3543 of file G4GMocrenIO.cc.
Referenced by storeData3(), and storeData4().
void G4GMocrenIO::getDoseDistSize | ( | int | _size[3], |
int | _num = 0 |
||
) |
Definition at line 3495 of file G4GMocrenIO.cc.
Referenced by addDoseDist().
std::string G4GMocrenIO::getDoseDistUnit | ( | int | _num = 0 | ) |
Definition at line 3479 of file G4GMocrenIO.cc.
|
inline |
Definition at line 240 of file G4GMocrenIO.hh.
|
inline |
Definition at line 261 of file G4GMocrenIO.hh.
void G4GMocrenIO::getModalityCenterPosition | ( | float | _center[3] | ) |
Definition at line 3434 of file G4GMocrenIO.cc.
short * G4GMocrenIO::getModalityImage | ( | int | _z | ) |
Definition at line 3390 of file G4GMocrenIO.cc.
std::vector< float > & G4GMocrenIO::getModalityImageDensityMap | ( | ) |
Definition at line 3402 of file G4GMocrenIO.cc.
short G4GMocrenIO::getModalityImageMax | ( | ) |
Definition at line 3417 of file G4GMocrenIO.cc.
short G4GMocrenIO::getModalityImageMin | ( | ) |
Definition at line 3423 of file G4GMocrenIO.cc.
void G4GMocrenIO::getModalityImageMinMax | ( | short | _minmax[2] | ) |
Definition at line 3411 of file G4GMocrenIO.cc.
double G4GMocrenIO::getModalityImageScale | ( | ) |
Definition at line 3380 of file G4GMocrenIO.cc.
void G4GMocrenIO::getModalityImageSize | ( | int | _size[3] | ) |
Definition at line 3366 of file G4GMocrenIO.cc.
std::string G4GMocrenIO::getModalityImageUnit | ( | ) |
Definition at line 3442 of file G4GMocrenIO.cc.
void G4GMocrenIO::getModalityImageVoxelSpacing | ( | float | _size[3] | ) |
int G4GMocrenIO::getNumberOfDetectors | ( | ) |
Definition at line 3944 of file G4GMocrenIO.cc.
int & G4GMocrenIO::getNumberOfEvents | ( | ) |
Definition at line 3140 of file G4GMocrenIO.cc.
int G4GMocrenIO::getNumDoseDist | ( | ) |
Definition at line 3474 of file G4GMocrenIO.cc.
Referenced by clearDoseDistAll(), storeData3(), and storeData4().
int G4GMocrenIO::getNumROI | ( | ) |
Definition at line 3747 of file G4GMocrenIO.cc.
Referenced by clearROIAll().
int G4GMocrenIO::getNumTracks | ( | ) |
Definition at line 3836 of file G4GMocrenIO.cc.
int G4GMocrenIO::getNumTracks4 | ( | ) |
Definition at line 3839 of file G4GMocrenIO.cc.
unsigned int G4GMocrenIO::getPointerToDoseDistData | ( | int | _elem = 0 | ) |
Definition at line 3161 of file G4GMocrenIO.cc.
unsigned int G4GMocrenIO::getPointerToModalityData | ( | ) |
Definition at line 3154 of file G4GMocrenIO.cc.
unsigned int G4GMocrenIO::getPointerToROIData | ( | ) |
Definition at line 3173 of file G4GMocrenIO.cc.
unsigned int G4GMocrenIO::getPointerToTrackData | ( | ) |
Definition at line 3180 of file G4GMocrenIO.cc.
short * G4GMocrenIO::getROI | ( | int | _z, |
int | _num = 0 |
||
) |
Definition at line 3768 of file G4GMocrenIO.cc.
void G4GMocrenIO::getROICenterPosition | ( | float | _center[3], |
int | _num = 0 |
||
) |
Definition at line 3804 of file G4GMocrenIO.cc.
void G4GMocrenIO::getROIMinMax | ( | short | _minmax[2], |
int | _num = 0 |
||
) |
Definition at line 3792 of file G4GMocrenIO.cc.
double G4GMocrenIO::getROIScale | ( | int | _num = 0 | ) |
Definition at line 3756 of file G4GMocrenIO.cc.
void G4GMocrenIO::getROISize | ( | int | _size[3], |
int | _num = 0 |
||
) |
Definition at line 3780 of file G4GMocrenIO.cc.
void G4GMocrenIO::getShortDoseDist | ( | short * | _data, |
int | _z, | ||
int | _num = 0 |
||
) |
Definition at line 3579 of file G4GMocrenIO.cc.
Referenced by storeData2(), storeData3(), and storeData4().
void G4GMocrenIO::getShortDoseDistMinMax | ( | short | _minmax[2], |
int | _num = 0 |
||
) |
Definition at line 3599 of file G4GMocrenIO.cc.
Referenced by storeData2(), storeData3(), and storeData4().
void G4GMocrenIO::getTrack | ( | int | _num, |
std::vector< float * > & | _steps, | ||
std::vector< unsigned char * > & | _color | ||
) |
Definition at line 3910 of file G4GMocrenIO.cc.
std::vector< unsigned char * > & G4GMocrenIO::getTrackColors | ( | ) |
Definition at line 3857 of file G4GMocrenIO.cc.
std::vector< float * > & G4GMocrenIO::getTracks | ( | ) |
Definition at line 3848 of file G4GMocrenIO.cc.
std::string & G4GMocrenIO::getVersion | ( | ) |
Definition at line 3124 of file G4GMocrenIO.cc.
void G4GMocrenIO::getVoxelSpacing | ( | float | _spacing[3] | ) |
Definition at line 3135 of file G4GMocrenIO.cc.
void G4GMocrenIO::initialize | ( | ) |
Definition at line 412 of file G4GMocrenIO.cc.
|
protected |
Definition at line 4023 of file G4GMocrenIO.cc.
Referenced by storeData4().
|
protected |
Definition at line 3716 of file G4GMocrenIO.cc.
Referenced by clearDoseDistAll(), getDoseDist(), getDoseDistCenterPosition(), getDoseDistMinMax(), getDoseDistName(), getDoseDistScale(), getDoseDistSize(), storeData2(), storeData3(), and storeData4().
|
protected |
Definition at line 3822 of file G4GMocrenIO.cc.
Referenced by clearROIAll(), getModalityCenterPosition(), getROI(), getROICenterPosition(), getROIMinMax(), getROIScale(), getROISize(), storeData2(), storeData3(), and storeData4().
bool G4GMocrenIO::mergeDoseDist | ( | std::vector< class GMocrenDataPrimitive< double > > & | _dose | ) |
Definition at line 3683 of file G4GMocrenIO.cc.
void G4GMocrenIO::mergeTracks | ( | std::vector< float * > & | _tracks, |
std::vector< unsigned char * > & | _colors | ||
) |
Definition at line 3880 of file G4GMocrenIO.cc.
void G4GMocrenIO::newDoseDist | ( | ) |
Definition at line 3470 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::EndSavingGdd(), retrieveData2(), retrieveData3(), and retrieveData4().
void G4GMocrenIO::newROI | ( | ) |
Definition at line 3743 of file G4GMocrenIO.cc.
Referenced by retrieveData2(), retrieveData3(), and retrieveData4().
|
inline |
Definition at line 437 of file G4GMocrenIO.hh.
bool G4GMocrenIO::retrieveData | ( | ) |
Definition at line 1601 of file G4GMocrenIO.cc.
Referenced by retrieveData(), retrieveData2(), retrieveData3(), and retrieveData4().
bool G4GMocrenIO::retrieveData | ( | char * | _filename | ) |
Definition at line 1650 of file G4GMocrenIO.cc.
bool G4GMocrenIO::retrieveData2 | ( | ) |
Definition at line 2627 of file G4GMocrenIO.cc.
Referenced by retrieveData().
bool G4GMocrenIO::retrieveData2 | ( | char * | _filename | ) |
Definition at line 3092 of file G4GMocrenIO.cc.
bool G4GMocrenIO::retrieveData3 | ( | ) |
Definition at line 2189 of file G4GMocrenIO.cc.
Referenced by retrieveData().
bool G4GMocrenIO::retrieveData3 | ( | char * | _filename | ) |
Definition at line 2621 of file G4GMocrenIO.cc.
bool G4GMocrenIO::retrieveData4 | ( | ) |
Definition at line 1656 of file G4GMocrenIO.cc.
Referenced by retrieveData().
bool G4GMocrenIO::retrieveData4 | ( | char * | _filename | ) |
Definition at line 2183 of file G4GMocrenIO.cc.
|
inline |
Definition at line 275 of file G4GMocrenIO.hh.
Referenced by retrieveData3(), and retrieveData4().
void G4GMocrenIO::setDoseDist | ( | double * | _image, |
int | _num = 0 |
||
) |
Definition at line 3607 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::EndSavingGdd().
void G4GMocrenIO::setDoseDistCenterPosition | ( | float | _center[3], |
int | _num = 0 |
||
) |
Definition at line 3651 of file G4GMocrenIO.cc.
void G4GMocrenIO::setDoseDistMinMax | ( | double | _minmax[2], |
int | _num = 0 |
||
) |
Definition at line 3526 of file G4GMocrenIO.cc.
void G4GMocrenIO::setDoseDistMinMax | ( | short | _minmax[2], |
int | _num = 0 |
||
) |
Definition at line 3508 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::EndSavingGdd().
void G4GMocrenIO::setDoseDistName | ( | std::string | _name, |
int | _num = 0 |
||
) |
Definition at line 3663 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::EndSavingGdd(), and retrieveData4().
void G4GMocrenIO::setDoseDistScale | ( | double & | _scale, |
int | _num = 0 |
||
) |
Definition at line 3539 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::EndSavingGdd().
void G4GMocrenIO::setDoseDistSize | ( | int | _size[3], |
int | _num = 0 |
||
) |
Definition at line 3501 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::EndSavingGdd().
void G4GMocrenIO::setDoseDistUnit | ( | std::string & | _unit, |
int | _num = 0 |
||
) |
Definition at line 3485 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::EndSavingGdd(), retrieveData3(), and retrieveData4().
|
inline |
Definition at line 238 of file G4GMocrenIO.hh.
|
inline |
Definition at line 237 of file G4GMocrenIO.hh.
void G4GMocrenIO::setID | ( | ) |
Definition at line 3097 of file G4GMocrenIO.cc.
|
inline |
Definition at line 263 of file G4GMocrenIO.hh.
void G4GMocrenIO::setLittleEndianInput | ( | bool | _little | ) |
Definition at line 3128 of file G4GMocrenIO.cc.
void G4GMocrenIO::setLittleEndianOutput | ( | bool | _little | ) |
Definition at line 3129 of file G4GMocrenIO.cc.
void G4GMocrenIO::setModalityCenterPosition | ( | float | _center[3] | ) |
Definition at line 3430 of file G4GMocrenIO.cc.
void G4GMocrenIO::setModalityImage | ( | short * | _image | ) |
Definition at line 3386 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::EndSavingGdd().
void G4GMocrenIO::setModalityImageDensityMap | ( | std::vector< float > & | _map | ) |
Definition at line 3399 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::BeginSavingGdd().
void G4GMocrenIO::setModalityImageMinMax | ( | short | _minmax[2] | ) |
Definition at line 3406 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::BeginSavingGdd().
void G4GMocrenIO::setModalityImageScale | ( | double & | _scale | ) |
Definition at line 3376 of file G4GMocrenIO.cc.
void G4GMocrenIO::setModalityImageSize | ( | int | _size[3] | ) |
Definition at line 3370 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::EndSavingGdd().
void G4GMocrenIO::setModalityImageUnit | ( | std::string & | _unit | ) |
Definition at line 3445 of file G4GMocrenIO.cc.
Referenced by retrieveData3(), and retrieveData4().
void G4GMocrenIO::setModalityImageVoxelSpacing | ( | float | _size[3] | ) |
void G4GMocrenIO::setNumberOfEvents | ( | int & | _numberOfEvents | ) |
Definition at line 3143 of file G4GMocrenIO.cc.
void G4GMocrenIO::setPointerToModalityData | ( | unsigned int & | _pointer | ) |
Definition at line 3151 of file G4GMocrenIO.cc.
void G4GMocrenIO::setPointerToROIData | ( | unsigned int & | _pointer | ) |
Definition at line 3170 of file G4GMocrenIO.cc.
void G4GMocrenIO::setPointerToTrackData | ( | unsigned int & | _pointer | ) |
Definition at line 3177 of file G4GMocrenIO.cc.
void G4GMocrenIO::setROI | ( | short * | _image, |
int | _num = 0 |
||
) |
Definition at line 3764 of file G4GMocrenIO.cc.
void G4GMocrenIO::setROICenterPosition | ( | float | _center[3], |
int | _num = 0 |
||
) |
Definition at line 3800 of file G4GMocrenIO.cc.
void G4GMocrenIO::setROIMinMax | ( | short | _minmax[2], |
int | _num = 0 |
||
) |
Definition at line 3788 of file G4GMocrenIO.cc.
void G4GMocrenIO::setROIScale | ( | double & | _scale, |
int | _num = 0 |
||
) |
Definition at line 3752 of file G4GMocrenIO.cc.
void G4GMocrenIO::setROISize | ( | int | _size[3], |
int | _num = 0 |
||
) |
Definition at line 3776 of file G4GMocrenIO.cc.
void G4GMocrenIO::setShortDoseDist | ( | short * | _image, |
int | _num = 0 |
||
) |
Definition at line 3560 of file G4GMocrenIO.cc.
void G4GMocrenIO::setTrackColors | ( | std::vector< unsigned char * > & | _trackColors | ) |
Definition at line 3854 of file G4GMocrenIO.cc.
void G4GMocrenIO::setTracks | ( | std::vector< float * > & | _tracks | ) |
Definition at line 3845 of file G4GMocrenIO.cc.
void G4GMocrenIO::setVerboseLevel | ( | int | _level | ) |
Definition at line 4041 of file G4GMocrenIO.cc.
void G4GMocrenIO::setVersion | ( | std::string & | _version | ) |
Definition at line 3125 of file G4GMocrenIO.cc.
void G4GMocrenIO::setVoxelSpacing | ( | float | _spacing[3] | ) |
Definition at line 3132 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::AddSolid().
bool G4GMocrenIO::storeData | ( | ) |
bool G4GMocrenIO::storeData | ( | char * | _filename | ) |
Definition at line 457 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::EndSavingGdd().
bool G4GMocrenIO::storeData2 | ( | ) |
Definition at line 1338 of file G4GMocrenIO.cc.
bool G4GMocrenIO::storeData2 | ( | char * | _filename | ) |
Definition at line 1596 of file G4GMocrenIO.cc.
bool G4GMocrenIO::storeData3 | ( | ) |
Definition at line 1039 of file G4GMocrenIO.cc.
bool G4GMocrenIO::storeData3 | ( | char * | _filename | ) |
bool G4GMocrenIO::storeData4 | ( | ) |
Definition at line 461 of file G4GMocrenIO.cc.
Referenced by storeData(), and storeData4().
bool G4GMocrenIO::storeData4 | ( | char * | _filename | ) |
Definition at line 1332 of file G4GMocrenIO.cc.
void G4GMocrenIO::translateDetector | ( | std::vector< float > & | _translate | ) |
Definition at line 3996 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::EndSavingGdd().
void G4GMocrenIO::translateTracks | ( | std::vector< float > & | _translateo | ) |
Definition at line 3933 of file G4GMocrenIO.cc.
Referenced by G4GMocrenFileSceneHandler::EndSavingGdd().
|
static |
Definition at line 181 of file G4GMocrenIO.hh.
Referenced by getComment(), initialize(), retrieveData3(), retrieveData4(), setComment(), storeData3(), and storeData4().
|
static |
Definition at line 222 of file G4GMocrenIO.hh.
Referenced by addDetector(), clearDetector(), getDetector(), getNumberOfDetectors(), storeData4(), and translateDetector().
|
static |
Definition at line 207 of file G4GMocrenIO.hh.
Referenced by addDoseDist(), calcDoseDistScale(), clearDoseDistAll(), copyDoseDist(), getDoseDist(), getDoseDistCenterPosition(), getDoseDistMinMax(), getDoseDistName(), getDoseDistScale(), getDoseDistSize(), getNumDoseDist(), getShortDoseDist(), getShortDoseDistMinMax(), initialize(), isDoseEmpty(), mergeDoseDist(), newDoseDist(), retrieveData2(), retrieveData3(), retrieveData4(), setDoseDist(), setDoseDistCenterPosition(), setDoseDistMinMax(), setDoseDistName(), setDoseDistScale(), setDoseDistSize(), setShortDoseDist(), storeData2(), storeData3(), and storeData4().
|
static |
Definition at line 209 of file G4GMocrenIO.hh.
Referenced by getDoseDistUnit(), initialize(), retrieveData3(), retrieveData4(), setDoseDistUnit(), storeData3(), and storeData4().
|
static |
Definition at line 175 of file G4GMocrenIO.hh.
Referenced by getFileName(), initialize(), retrieveData(), retrieveData2(), retrieveData3(), retrieveData4(), setFileName(), storeData2(), storeData3(), and storeData4().
|
static |
Definition at line 169 of file G4GMocrenIO.hh.
Referenced by getID(), initialize(), retrieveData2(), setID(), and storeData2().
|
static |
Definition at line 178 of file G4GMocrenIO.hh.
Referenced by convertEndian(), initialize(), retrieveData2(), retrieveData3(), retrieveData4(), and setLittleEndianInput().
|
static |
Definition at line 179 of file G4GMocrenIO.hh.
Referenced by convertEndian(), initialize(), setLittleEndianOutput(), storeData2(), storeData3(), and storeData4().
|
static |
Definition at line 201 of file G4GMocrenIO.hh.
Referenced by clearModalityImage(), convertDensityToHU(), getModalityCenterPosition(), getModalityImage(), getModalityImageMax(), getModalityImageMin(), getModalityImageMinMax(), getModalityImageScale(), getModalityImageSize(), initialize(), retrieveData2(), retrieveData3(), retrieveData4(), setModalityCenterPosition(), setModalityImage(), setModalityImageMinMax(), setModalityImageScale(), setModalityImageSize(), storeData2(), storeData3(), and storeData4().
|
static |
Definition at line 203 of file G4GMocrenIO.hh.
Referenced by convertDensityToHU(), getModalityImageDensityMap(), initialize(), retrieveData2(), retrieveData3(), retrieveData4(), setModalityImageDensityMap(), storeData2(), storeData3(), and storeData4().
|
static |
Definition at line 204 of file G4GMocrenIO.hh.
Referenced by getModalityImageUnit(), initialize(), and setModalityImageUnit().
|
static |
Definition at line 184 of file G4GMocrenIO.hh.
Referenced by addOneEvent(), getNumberOfEvents(), initialize(), and setNumberOfEvents().
|
static |
Definition at line 195 of file G4GMocrenIO.hh.
Referenced by retrieveData4(), and storeData4().
|
static |
Definition at line 189 of file G4GMocrenIO.hh.
Referenced by addPointerToDoseDistData(), getPointerToDoseDistData(), initialize(), retrieveData2(), retrieveData3(), retrieveData4(), storeData2(), storeData3(), and storeData4().
|
static |
Definition at line 187 of file G4GMocrenIO.hh.
Referenced by getPointerToModalityData(), initialize(), retrieveData2(), retrieveData3(), retrieveData4(), setPointerToModalityData(), storeData2(), storeData3(), and storeData4().
|
static |
Definition at line 191 of file G4GMocrenIO.hh.
Referenced by getPointerToROIData(), initialize(), retrieveData2(), retrieveData3(), retrieveData4(), setPointerToROIData(), storeData2(), storeData3(), and storeData4().
|
static |
Definition at line 193 of file G4GMocrenIO.hh.
Referenced by getPointerToTrackData(), initialize(), retrieveData2(), retrieveData3(), retrieveData4(), setPointerToTrackData(), storeData2(), storeData3(), and storeData4().
|
static |
Definition at line 212 of file G4GMocrenIO.hh.
Referenced by clearROIAll(), getNumROI(), getROI(), getROICenterPosition(), getROIMinMax(), getROIScale(), getROISize(), initialize(), isROIEmpty(), newROI(), retrieveData2(), retrieveData3(), retrieveData4(), setROI(), setROICenterPosition(), setROIMinMax(), setROIScale(), setROISize(), storeData2(), storeData3(), and storeData4().
|
static |
Definition at line 216 of file G4GMocrenIO.hh.
Referenced by addTrackColor(), copyTracks(), getTrackColors(), initialize(), setTrackColors(), and storeData3().
|
static |
Definition at line 215 of file G4GMocrenIO.hh.
Referenced by addTrack(), copyTracks(), getNumTracks(), getTracks(), initialize(), retrieveData2(), setTracks(), storeData2(), and storeData3().
|
static |
Definition at line 218 of file G4GMocrenIO.hh.
Referenced by addTrack(), clearTracks(), getNumTracks4(), getTrack(), storeData4(), and translateTracks().
bool G4GMocrenIO::kTracksWillBeStored |
Definition at line 219 of file G4GMocrenIO.hh.
Referenced by initialize(), notStoredTracks(), and storeData4().
|
static |
Definition at line 225 of file G4GMocrenIO.hh.
Referenced by initialize(), mergeDoseDist(), retrieveData2(), retrieveData3(), retrieveData4(), setVerboseLevel(), storeData2(), storeData3(), and storeData4().
|
static |
Definition at line 172 of file G4GMocrenIO.hh.
Referenced by getVersion(), initialize(), retrieveData2(), retrieveData3(), retrieveData4(), setVersion(), and storeData2().
|
static |
Definition at line 198 of file G4GMocrenIO.hh.
Referenced by getVoxelSpacing(), initialize(), retrieveData2(), retrieveData3(), retrieveData4(), setVoxelSpacing(), storeData2(), storeData3(), and storeData4().