Geant4-11
Public Member Functions | Private Attributes
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)
 
G4int GetCopyNo () const
 
G4bool GetDrawn () const
 
G4int GetNonCulledDepth () const
 
G4VPhysicalVolumeGetPhysicalVolume () const
 
const G4Transform3DGetTransform () const
 
G4bool operator!= (const G4PhysicalVolumeNodeID &right) const
 
G4bool operator< (const G4PhysicalVolumeNodeID &right) const
 
G4bool operator== (const G4PhysicalVolumeNodeID &right) const
 
void SetDrawn (G4bool drawn)
 

Private Attributes

G4int fCopyNo
 
G4bool fDrawn
 
G4int fNonCulledDepth
 
G4VPhysicalVolumefpPV
 
G4Transform3D fTransform
 

Detailed Description

Definition at line 91 of file G4PhysicalVolumeModel.hh.

Constructor & Destructor Documentation

◆ G4PhysicalVolumeNodeID()

G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::G4PhysicalVolumeNodeID ( G4VPhysicalVolume pPV = 0,
G4int  iCopyNo = 0,
G4int  depth = 0,
const G4Transform3D transform = G4Transform3D(),
G4bool  drawn = true 
)
inline

Member Function Documentation

◆ GetCopyNo()

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

Definition at line 105 of file G4PhysicalVolumeModel.hh.

105{return fCopyNo;}

References fCopyNo.

Referenced by G4Qt3DSceneHandler::CreateNewNode().

◆ GetDrawn()

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

Definition at line 108 of file G4PhysicalVolumeModel.hh.

108{return fDrawn;}

References fDrawn.

◆ GetNonCulledDepth()

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

Definition at line 106 of file G4PhysicalVolumeModel.hh.

106{return fNonCulledDepth;}

References fNonCulledDepth.

◆ GetPhysicalVolume()

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

Definition at line 104 of file G4PhysicalVolumeModel.hh.

104{return fpPV;}

References fpPV.

Referenced by G4Qt3DSceneHandler::CreateNewNode().

◆ GetTransform()

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

Definition at line 107 of file G4PhysicalVolumeModel.hh.

107{return fTransform;}

References fTransform.

◆ operator!=()

G4bool G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::operator!= ( const G4PhysicalVolumeNodeID right) const

Definition at line 1042 of file G4PhysicalVolumeModel.cc.

1044{
1045 if (fpPV != right.fpPV ||
1046 fCopyNo != right.fCopyNo ||
1047 fNonCulledDepth != right.fNonCulledDepth ||
1048 fTransform != right.fTransform ||
1049 fDrawn != right.fDrawn) return true;
1050 return false;
1051}

Referenced by operator==().

◆ operator<()

G4bool G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::operator< ( const G4PhysicalVolumeNodeID right) const

Definition at line 1030 of file G4PhysicalVolumeModel.cc.

1032{
1033 if (fpPV < right.fpPV) return true;
1034 if (fpPV == right.fpPV) {
1035 if (fCopyNo < right.fCopyNo) return true;
1036 if (fCopyNo == right.fCopyNo)
1037 return fNonCulledDepth < right.fNonCulledDepth;
1038 }
1039 return false;
1040}

◆ operator==()

G4bool G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::operator== ( const G4PhysicalVolumeNodeID right) const
inline

Definition at line 112 of file G4PhysicalVolumeModel.hh.

112 {
113 return !operator!= (right);
114 }
G4bool operator!=(const G4PhysicalVolumeNodeID &right) const

References operator!=().

◆ SetDrawn()

void G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::SetDrawn ( G4bool  drawn)
inline

Definition at line 109 of file G4PhysicalVolumeModel.hh.

109{fDrawn = drawn;}

References fDrawn.

Field Documentation

◆ fCopyNo

G4int G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::fCopyNo
private

Definition at line 117 of file G4PhysicalVolumeModel.hh.

Referenced by GetCopyNo().

◆ fDrawn

G4bool G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::fDrawn
private

Definition at line 120 of file G4PhysicalVolumeModel.hh.

Referenced by GetDrawn(), and SetDrawn().

◆ fNonCulledDepth

G4int G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::fNonCulledDepth
private

Definition at line 118 of file G4PhysicalVolumeModel.hh.

Referenced by GetNonCulledDepth().

◆ fpPV

G4VPhysicalVolume* G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::fpPV
private

Definition at line 116 of file G4PhysicalVolumeModel.hh.

Referenced by GetPhysicalVolume().

◆ fTransform

G4Transform3D G4PhysicalVolumeModel::G4PhysicalVolumeNodeID::fTransform
private

Definition at line 119 of file G4PhysicalVolumeModel.hh.

Referenced by GetTransform().


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