G4PhysicalVolumeModel::G4PhysicalVolumeNodeID Class Reference

#include <G4PhysicalVolumeModel.hh>


Public Member Functions

 G4PhysicalVolumeNodeID (G4VPhysicalVolume *pPV=0, G4int iCopyNo=0, G4int depth=0, const G4Transform3D &transform=G4Transform3D(), G4bool drawn=true)
G4VPhysicalVolumeGetPhysicalVolume () const
G4int GetCopyNo () const
G4int GetNonCulledDepth () const
const G4Transform3DGetTransform () const
G4bool GetDrawn () const
void SetDrawn (G4bool drawn)
G4bool operator< (const G4PhysicalVolumeNodeID &right) const


Detailed Description

Definition at line 90 of file G4PhysicalVolumeModel.hh.


Constructor & Destructor Documentation

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;}


Member Function Documentation

G4int G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::GetCopyNo (  )  const [inline]

Definition at line 104 of file G4PhysicalVolumeModel.hh.

Referenced by JA::Insert(), and JA::PrintTree().

00104 {return fCopyNo;}

G4bool G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::GetDrawn (  )  const [inline]

Definition at line 107 of file G4PhysicalVolumeModel.hh.

00107 {return fDrawn;}

G4int G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::GetNonCulledDepth (  )  const [inline]

Definition at line 105 of file G4PhysicalVolumeModel.hh.

00105 {return fNonCulledDepth;}

G4VPhysicalVolume* G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::GetPhysicalVolume (  )  const [inline]

Definition at line 103 of file G4PhysicalVolumeModel.hh.

Referenced by JA::Insert(), and JA::PrintTree().

00103 {return fpPV;}

const G4Transform3D& G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::GetTransform (  )  const [inline]

Definition at line 106 of file G4PhysicalVolumeModel.hh.

00106 {return fTransform;}

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]

Definition at line 108 of file G4PhysicalVolumeModel.hh.

00108 {fDrawn = drawn;}


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:53 2013 for Geant4 by  doxygen 1.4.7