Geant4  10.01.p03
GMocrenDataPrimitive< T > Class Template Reference

#include <G4GMocrenIO.hh>

+ Inheritance diagram for GMocrenDataPrimitive< T >:
+ Collaboration diagram for GMocrenDataPrimitive< T >:

Public Member Functions

 GMocrenDataPrimitive ()
 
 ~GMocrenDataPrimitive ()
 
GMocrenDataPrimitive< T > & operator= (const GMocrenDataPrimitive< T > &_right)
 
GMocrenDataPrimitive< T > & operator+ (const GMocrenDataPrimitive< T > &_right)
 
GMocrenDataPrimitive< T > & operator+= (const GMocrenDataPrimitive< T > &_right)
 
void clear ()
 
void clearImage ()
 
void setSize (int _size[3])
 
void getSize (int _size[3])
 
void setScale (double &_scale)
 
double getScale ()
 
void setMinMax (T _minmax[2])
 
void getMinMax (T _minmax[2])
 
void setImage (std::vector< T * > &_image)
 
void addImage (T *_image)
 
std::vector< T * > & getImage ()
 
T * getImage (int _z)
 
void setCenterPosition (float _center[3])
 
void getCenterPosition (float _center[3])
 
void setName (std::string &_name)
 
std::string getName ()
 

Protected Attributes

int kSize [3]
 
double kScale
 
kMinmax [2]
 
float kCenter [3]
 
std::vector< T * > kImage
 
std::string kDataName
 

Detailed Description

template<typename T>
class GMocrenDataPrimitive< T >

Definition at line 50 of file G4GMocrenIO.hh.

Constructor & Destructor Documentation

template<typename T >
GMocrenDataPrimitive< T >::GMocrenDataPrimitive ( )

Definition at line 60 of file G4GMocrenIO.cc.

template<typename T >
GMocrenDataPrimitive< T >::~GMocrenDataPrimitive ( )

Definition at line 64 of file G4GMocrenIO.cc.

Member Function Documentation

template<typename T>
void GMocrenDataPrimitive< T >::addImage ( T *  _image)

Definition at line 217 of file G4GMocrenIO.cc.

Referenced by GMocrenDataPrimitive< T >::operator+(), G4GMocrenIO::retrieveData2(), G4GMocrenIO::retrieveData3(), G4GMocrenIO::retrieveData4(), and G4GMocrenIO::setModalityImage().

+ Here is the caller graph for this function:

template<typename T >
void GMocrenDataPrimitive< T >::clear ( void  )

Definition at line 168 of file G4GMocrenIO.cc.

Referenced by G4GMocrenIO::initialize().

+ Here is the caller graph for this function:

template<typename T >
void GMocrenDataPrimitive< T >::clearImage ( )

Definition at line 180 of file G4GMocrenIO.cc.

Referenced by G4GMocrenIO::clearModalityImage().

+ Here is the caller graph for this function:

template<typename T >
void GMocrenDataPrimitive< T >::getCenterPosition ( float  _center[3])

Definition at line 234 of file G4GMocrenIO.cc.

Referenced by G4GMocrenIO::getModalityCenterPosition().

+ Here is the caller graph for this function:

template<typename T >
std::vector< T * > & GMocrenDataPrimitive< T >::getImage ( )

Definition at line 221 of file G4GMocrenIO.cc.

Referenced by G4GMocrenIO::getModalityImage(), G4GMocrenIO::storeData2(), G4GMocrenIO::storeData3(), and G4GMocrenIO::storeData4().

+ Here is the caller graph for this function:

template<typename T >
T * GMocrenDataPrimitive< T >::getImage ( int  _z)

Definition at line 225 of file G4GMocrenIO.cc.

template<typename T>
void GMocrenDataPrimitive< T >::getMinMax ( _minmax[2])

Definition at line 208 of file G4GMocrenIO.cc.

Referenced by G4GMocrenIO::convertDensityToHU(), G4GMocrenIO::getModalityImageMax(), G4GMocrenIO::getModalityImageMin(), G4GMocrenIO::getModalityImageMinMax(), G4GMocrenIO::storeData2(), G4GMocrenIO::storeData3(), and G4GMocrenIO::storeData4().

+ Here is the caller graph for this function:

template<typename T >
std::string GMocrenDataPrimitive< T >::getName ( void  )

Definition at line 242 of file G4GMocrenIO.cc.

template<typename T >
double GMocrenDataPrimitive< T >::getScale ( )

Definition at line 200 of file G4GMocrenIO.cc.

Referenced by G4GMocrenIO::getModalityImageScale(), G4GMocrenIO::storeData2(), G4GMocrenIO::storeData3(), and G4GMocrenIO::storeData4().

+ Here is the caller graph for this function:

template<typename T >
void GMocrenDataPrimitive< T >::getSize ( int  _size[3])

Definition at line 192 of file G4GMocrenIO.cc.

Referenced by G4GMocrenIO::getModalityImageSize(), G4GMocrenIO::storeData2(), G4GMocrenIO::storeData3(), and G4GMocrenIO::storeData4().

+ Here is the caller graph for this function:

template<typename T>
GMocrenDataPrimitive< T > & GMocrenDataPrimitive< T >::operator+= ( const GMocrenDataPrimitive< T > &  _right)

Definition at line 135 of file G4GMocrenIO.cc.

References DOSERANGE, G4VisManager::errors, G4cout, G4endl, G4VisManager::GetVerbosity(), GMocrenDataPrimitive< T >::kCenter, GMocrenDataPrimitive< T >::kImage, GMocrenDataPrimitive< T >::kMinmax, GMocrenDataPrimitive< T >::kSize, and z.

+ Here is the call graph for this function:

template<typename T >
void GMocrenDataPrimitive< T >::setCenterPosition ( float  _center[3])

Definition at line 230 of file G4GMocrenIO.cc.

Referenced by GMocrenDataPrimitive< T >::operator+(), and G4GMocrenIO::setModalityCenterPosition().

+ Here is the caller graph for this function:

template<typename T>
void GMocrenDataPrimitive< T >::setImage ( std::vector< T * > &  _image)

Definition at line 213 of file G4GMocrenIO.cc.

template<typename T>
void GMocrenDataPrimitive< T >::setMinMax ( _minmax[2])

Definition at line 204 of file G4GMocrenIO.cc.

Referenced by GMocrenDataPrimitive< T >::operator+(), G4GMocrenIO::retrieveData2(), G4GMocrenIO::retrieveData3(), G4GMocrenIO::retrieveData4(), and G4GMocrenIO::setModalityImageMinMax().

+ Here is the caller graph for this function:

template<typename T >
void GMocrenDataPrimitive< T >::setName ( std::string &  _name)

Definition at line 238 of file G4GMocrenIO.cc.

template<typename T >
void GMocrenDataPrimitive< T >::setScale ( double &  _scale)

Definition at line 196 of file G4GMocrenIO.cc.

Referenced by GMocrenDataPrimitive< T >::operator+(), G4GMocrenIO::retrieveData2(), G4GMocrenIO::retrieveData3(), G4GMocrenIO::retrieveData4(), and G4GMocrenIO::setModalityImageScale().

+ Here is the caller graph for this function:

template<typename T >
void GMocrenDataPrimitive< T >::setSize ( int  _size[3])

Definition at line 188 of file G4GMocrenIO.cc.

Referenced by GMocrenDataPrimitive< T >::operator+(), G4GMocrenIO::retrieveData2(), G4GMocrenIO::retrieveData3(), G4GMocrenIO::retrieveData4(), and G4GMocrenIO::setModalityImageSize().

+ Here is the caller graph for this function:

Member Data Documentation

template<typename T>
float GMocrenDataPrimitive< T >::kCenter[3]
protected
template<typename T>
std::string GMocrenDataPrimitive< T >::kDataName
protected

Definition at line 57 of file G4GMocrenIO.hh.

template<typename T>
std::vector<T *> GMocrenDataPrimitive< T >::kImage
protected
template<typename T>
T GMocrenDataPrimitive< T >::kMinmax[2]
protected
template<typename T>
double GMocrenDataPrimitive< T >::kScale
protected

Definition at line 53 of file G4GMocrenIO.hh.

Referenced by GMocrenDataPrimitive< T >::operator=().

template<typename T>
int GMocrenDataPrimitive< T >::kSize[3]
protected

The documentation for this class was generated from the following files: