#include <G4PhysicalVolumeModel.hh>
Public Member Functions | |
G4PhysicalVolumeNodeID (G4VPhysicalVolume *pPV=0, G4int iCopyNo=0, G4int depth=0, const G4Transform3D &transform=G4Transform3D(), G4bool drawn=true) | |
G4VPhysicalVolume * | GetPhysicalVolume () const |
G4int | GetCopyNo () const |
G4int | GetNonCulledDepth () const |
const G4Transform3D & | GetTransform () const |
G4bool | GetDrawn () const |
void | SetDrawn (G4bool drawn) |
G4bool | operator< (const G4PhysicalVolumeNodeID &right) const |
Definition at line 90 of file G4PhysicalVolumeModel.hh.
G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::G4PhysicalVolumeNodeID | ( | G4VPhysicalVolume * | pPV = 0 , |
|
G4int | iCopyNo = 0 , |
|||
G4int | depth = 0 , |
|||
const G4Transform3D & | transform = G4Transform3D() , |
|||
G4bool | drawn = true | |||
) | [inline] |
Definition at line 93 of file G4PhysicalVolumeModel.hh.
00097 : 00098 fpPV(pPV), 00099 fCopyNo(iCopyNo), 00100 fNonCulledDepth(depth), 00101 fTransform(transform), 00102 fDrawn(drawn) {} G4VPhysicalVolume* GetPhysicalVolume() const {return fpPV;}
G4int G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::GetCopyNo | ( | ) | const [inline] |
Definition at line 104 of file G4PhysicalVolumeModel.hh.
Referenced by JA::Insert(), and JA::PrintTree().
G4bool G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::GetDrawn | ( | ) | const [inline] |
G4int G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::GetNonCulledDepth | ( | ) | const [inline] |
G4VPhysicalVolume* G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::GetPhysicalVolume | ( | ) | const [inline] |
Definition at line 103 of file G4PhysicalVolumeModel.hh.
Referenced by JA::Insert(), and JA::PrintTree().
const G4Transform3D& G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::GetTransform | ( | ) | const [inline] |
G4bool G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::operator< | ( | const G4PhysicalVolumeNodeID & | right | ) | const |
Definition at line 875 of file G4PhysicalVolumeModel.cc.
00876 { 00877 if (fpPV < right.fpPV) return true; 00878 if (fpPV == right.fpPV) { 00879 if (fCopyNo < right.fCopyNo) return true; 00880 if (fCopyNo == right.fCopyNo) 00881 return fNonCulledDepth < right.fNonCulledDepth; 00882 } 00883 return false; 00884 }
void G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::SetDrawn | ( | G4bool | drawn | ) | [inline] |