Geant4
10.01
|
Manages intersections of DICOM files with volumes. More...
#include <DicomIntersectVolume.hh>
Public Member Functions | |
DicomIntersectVolume () | |
~DicomIntersectVolume () | |
virtual void | SetNewValue (G4UIcommand *command, G4String newValues) |
Public Member Functions inherited from G4UImessenger | |
G4UImessenger () | |
G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true) | |
virtual | ~G4UImessenger () |
virtual G4String | GetCurrentValue (G4UIcommand *command) |
G4bool | operator== (const G4UImessenger &messenger) const |
G4bool | CommandsShouldBeInMaster () const |
Private Member Functions | |
void | BuildUserSolid (std::vector< G4String > params) |
void | BuildG4Solid (std::vector< G4String > params) |
G4PhantomParameterisation * | GetPhantomParam (G4bool bMustExist) |
G4bool | IsPhantomVolume (G4VPhysicalVolume *pv) |
std::vector< G4VPhysicalVolume * > | GetPhysicalVolumes (const G4String &name, bool exists, G4int nVols) |
std::vector< G4LogicalVolume * > | GetLogicalVolumes (const G4String &name, bool exists, G4int nVols) |
std::vector< G4String > | GetWordsInString (const G4String &stemp) |
Private Attributes | |
G4UIcmdWithAString * | fUserVolumeCmd |
G4UIcmdWithAString * | fG4VolumeCmd |
G4VSolid * | fSolid |
std::ofstream | fout |
G4ThreeVector | fPhantomMinusCorner |
G4bool * | fVoxelIsInside |
Additional Inherited Members | |
Protected Member Functions inherited from G4UImessenger | |
G4String | ItoS (G4int i) |
G4String | DtoS (G4double a) |
G4String | BtoS (G4bool b) |
G4int | StoI (G4String s) |
G4double | StoD (G4String s) |
G4bool | StoB (G4String s) |
void | AddUIcommand (G4UIcommand *newCommand) |
void | CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true) |
template<typename T > | |
T * | CreateCommand (const G4String &cname, const G4String &dsc) |
Protected Attributes inherited from G4UImessenger | |
G4UIdirectory * | baseDir |
G4String | baseDirName |
G4bool | commandsShouldBeInMaster |
Manages intersections of DICOM files with volumes.
Definition at line 50 of file DicomIntersectVolume.hh.
DicomIntersectVolume::DicomIntersectVolume | ( | ) |
Definition at line 49 of file DicomIntersectVolume.cc.
References G4UIcommand::AvailableForStates(), fG4VolumeCmd, fUserVolumeCmd, G4State_Idle, G4UIcommand::SetGuidance(), and G4UIcmdWithAString::SetParameterName().
DicomIntersectVolume::~DicomIntersectVolume | ( | ) |
Definition at line 74 of file DicomIntersectVolume.cc.
References fG4VolumeCmd, and fUserVolumeCmd.
|
private |
Definition at line 279 of file DicomIntersectVolume.cc.
References fSolid, and GetLogicalVolumes().
Referenced by SetNewValue().
|
private |
Definition at line 266 of file DicomIntersectVolume.cc.
References G4tgbVolume::FindOrConstructG4Solid(), and fSolid.
Referenced by SetNewValue().
|
private |
Definition at line 392 of file DicomIntersectVolume.cc.
References G4UIcommand::ConvertToString(), FatalErrorInArgument, G4Exception(), G4LogicalVolumeStore::GetInstance(), and JustWarning.
Referenced by BuildG4Solid().
|
private |
Definition at line 286 of file DicomIntersectVolume.cc.
References FatalErrorInArgument, G4Exception(), G4PhysicalVolumeStore::GetInstance(), G4PVParameterised::GetParameterisation(), and IsPhantomVolume().
Referenced by SetNewValue().
|
private |
Definition at line 317 of file DicomIntersectVolume.cc.
References G4UIcommand::ConvertToInt(), G4UIcommand::ConvertToString(), FatalErrorInArgument, G4cerr, G4endl, G4Exception(), G4PhysicalVolumeStore::GetInstance(), and name.
Referenced by SetNewValue().
Definition at line 440 of file DicomIntersectVolume.cc.
References FatalException, and G4Exception().
Referenced by SetNewValue().
|
private |
Definition at line 375 of file DicomIntersectVolume.cc.
References FALSE, G4VPhysicalVolume::GetRegularStructureId(), G4VPhysicalVolume::GetReplicationData(), kParameterised, kReplica, TRUE, and width.
Referenced by GetPhantomParam().
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 81 of file DicomIntersectVolume.cc.
References G4AffineTransform::ApplyAxisTransform(), G4AffineTransform::ApplyPointTransform(), BuildG4Solid(), BuildUserSolid(), cm3, G4UIcommand::ConvertToDouble(), G4UIcommand::ConvertToString(), FatalErrorInArgument, FatalException, fG4VolumeCmd, fout, fSolid, fUserVolumeCmd, fVoxelIsInside, g, G4endl, G4Exception(), G4UIcommand::GetCommandName(), G4UIcommand::GetCommandPath(), G4Material::GetDensity(), G4VPhysicalVolume::GetFrameRotation(), G4VPhysicalVolume::GetFrameTranslation(), G4PhantomParameterisation::GetMaterial(), G4PhantomParameterisation::GetMaterialIndex(), G4PhantomParameterisation::GetMaterials(), G4PhantomParameterisation::GetNoVoxelX(), G4PhantomParameterisation::GetNoVoxelY(), G4PhantomParameterisation::GetNoVoxelZ(), GetPhantomParam(), GetPhysicalVolumes(), G4PhantomParameterisation::GetVoxelHalfX(), G4PhantomParameterisation::GetVoxelHalfY(), G4PhantomParameterisation::GetVoxelHalfZ(), GetWordsInString(), G4VSolid::Inside(), G4AffineTransform::Invert(), iz, kOutside, and pos.
|
private |
Definition at line 73 of file DicomIntersectVolume.hh.
Referenced by DicomIntersectVolume(), SetNewValue(), and ~DicomIntersectVolume().
|
private |
Definition at line 77 of file DicomIntersectVolume.hh.
Referenced by SetNewValue().
|
private |
Definition at line 79 of file DicomIntersectVolume.hh.
|
private |
Definition at line 75 of file DicomIntersectVolume.hh.
Referenced by BuildG4Solid(), BuildUserSolid(), and SetNewValue().
|
private |
Definition at line 72 of file DicomIntersectVolume.hh.
Referenced by DicomIntersectVolume(), SetNewValue(), and ~DicomIntersectVolume().
|
private |
Definition at line 81 of file DicomIntersectVolume.hh.
Referenced by SetNewValue().