|
Geant4
10.00.p01
|
Manages intersections of DICOM files with volumes. More...
#include <DicomIntersectVolume.hh>
Inheritance diagram for DicomIntersectVolume:
Collaboration diagram for DicomIntersectVolume: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 |
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 |
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().
Here is the call graph for this function:| DicomIntersectVolume::~DicomIntersectVolume | ( | ) |
Definition at line 74 of file DicomIntersectVolume.cc.
References fG4VolumeCmd, and fUserVolumeCmd.
|
private |
Definition at line 276 of file DicomIntersectVolume.cc.
References fSolid, and GetLogicalVolumes().
Referenced by SetNewValue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 263 of file DicomIntersectVolume.cc.
References G4tgbVolume::FindOrConstructG4Solid(), and fSolid.
Referenced by SetNewValue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 388 of file DicomIntersectVolume.cc.
References G4UIcommand::ConvertToString(), FatalErrorInArgument, G4Exception(), G4LogicalVolumeStore::GetInstance(), and JustWarning.
Referenced by BuildG4Solid().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 283 of file DicomIntersectVolume.cc.
References FatalErrorInArgument, G4Exception(), G4PhysicalVolumeStore::GetInstance(), G4PVParameterised::GetParameterisation(), and IsPhantomVolume().
Referenced by SetNewValue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 312 of file DicomIntersectVolume.cc.
References G4UIcommand::ConvertToInt(), G4UIcommand::ConvertToString(), FatalErrorInArgument, G4cerr, G4endl, G4Exception(), G4PhysicalVolumeStore::GetInstance(), and name.
Referenced by SetNewValue().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 434 of file DicomIntersectVolume.cc.
References FatalException, and G4Exception().
Referenced by SetNewValue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 371 of file DicomIntersectVolume.cc.
References FALSE, G4VPhysicalVolume::GetRegularStructureId(), G4VPhysicalVolume::GetReplicationData(), kParameterised, kReplica, TRUE, and width.
Referenced by GetPhantomParam().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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.
Here is the call graph for this function:
|
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().