Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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.

97  :
98  fpPV(pPV),
99  fCopyNo(iCopyNo),
100  fNonCulledDepth(depth),
101  fTransform(transform),
102  fDrawn(drawn) {}

Member Function Documentation

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

Definition at line 104 of file G4PhysicalVolumeModel.hh.

104 {return fCopyNo;}

Here is the caller graph for this function:

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

Definition at line 107 of file G4PhysicalVolumeModel.hh.

107 {return fDrawn;}
G4int G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::GetNonCulledDepth ( ) const
inline

Definition at line 105 of file G4PhysicalVolumeModel.hh.

105 {return fNonCulledDepth;}
G4VPhysicalVolume* G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::GetPhysicalVolume ( ) const
inline

Definition at line 103 of file G4PhysicalVolumeModel.hh.

103 {return fpPV;}

Here is the caller graph for this function:

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

Definition at line 106 of file G4PhysicalVolumeModel.hh.

106 {return fTransform;}
G4bool G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::operator< ( const G4PhysicalVolumeNodeID right) const

Definition at line 891 of file G4PhysicalVolumeModel.cc.

892 {
893  if (fpPV < right.fpPV) return true;
894  if (fpPV == right.fpPV) {
895  if (fCopyNo < right.fCopyNo) return true;
896  if (fCopyNo == right.fCopyNo)
897  return fNonCulledDepth < right.fNonCulledDepth;
898  }
899  return false;
900 }
void G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::SetDrawn ( G4bool  drawn)
inline

Definition at line 108 of file G4PhysicalVolumeModel.hh.

108 {fDrawn = drawn;}

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