Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
G4PhysicalVolumeModel Class Reference

#include <G4PhysicalVolumeModel.hh>

Inheritance diagram for G4PhysicalVolumeModel:
Inheritance graph
[legend]
Collaboration diagram for G4PhysicalVolumeModel:
Collaboration graph
[legend]

Classes

class  G4PhysicalVolumeModelTouchable
 
class  G4PhysicalVolumeNodeID
 

Public Types

enum  { UNLIMITED = -1 }
 
enum  ClippingMode { subtraction, intersection }
 

Public Member Functions

 G4PhysicalVolumeModel (G4VPhysicalVolume *=0, G4int requestedDepth=UNLIMITED, const G4Transform3D &modelTransformation=G4Transform3D(), const G4ModelingParameters *=0, G4bool useFullExtent=false)
 
virtual ~G4PhysicalVolumeModel ()
 
void DescribeYourselfTo (G4VGraphicsScene &)
 
G4String GetCurrentDescription () const
 
G4String GetCurrentTag () const
 
G4VPhysicalVolumeGetTopPhysicalVolume () const
 
G4int GetRequestedDepth () const
 
const G4VSolidGetClippingSolid () const
 
G4int GetCurrentDepth () const
 
G4VPhysicalVolumeGetCurrentPV () const
 
G4LogicalVolumeGetCurrentLV () const
 
G4MaterialGetCurrentMaterial () const
 
const std::vector
< G4PhysicalVolumeNodeID > & 
GetFullPVPath () const
 
const std::vector
< G4PhysicalVolumeNodeID > & 
GetDrawnPVPath () const
 
const std::map< G4String,
G4AttDef > * 
GetAttDefs () const
 
std::vector< G4AttValue > * CreateCurrentAttValues () const
 
void SetBaseFullPVPath (const std::vector< G4PhysicalVolumeNodeID > &baseFullPVPath)
 
void SetRequestedDepth (G4int requestedDepth)
 
void SetClippingSolid (G4VSolid *pClippingSolid)
 
void SetClippingMode (ClippingMode mode)
 
G4bool Validate (G4bool warn)
 
void CurtailDescent ()
 
- Public Member Functions inherited from G4VModel
 G4VModel (const G4Transform3D &modelTransformation=G4Transform3D(), const G4ModelingParameters *=0)
 
virtual ~G4VModel ()
 
const G4ModelingParametersGetModelingParameters () const
 
const G4StringGetType () const
 
const G4VisExtentGetExtent () const
 
const G4StringGetGlobalDescription () const
 
const G4StringGetGlobalTag () const
 
const G4Transform3DGetTransformation () const
 
void SetModelingParameters (const G4ModelingParameters *)
 
void SetExtent (const G4VisExtent &)
 
void SetType (const G4String &)
 
void SetGlobalDescription (const G4String &)
 
void SetGlobalTag (const G4String &)
 
void SetTransformation (const G4Transform3D &)
 

Protected Member Functions

void VisitGeometryAndGetVisReps (G4VPhysicalVolume *, G4int requestedDepth, const G4Transform3D &, G4VGraphicsScene &)
 
void DescribeAndDescend (G4VPhysicalVolume *, G4int requestedDepth, G4LogicalVolume *, G4VSolid *, G4Material *, const G4Transform3D &, G4VGraphicsScene &)
 
virtual void DescribeSolid (const G4Transform3D &theAT, G4VSolid *pSol, const G4VisAttributes *pVisAttribs, G4VGraphicsScene &sceneHandler)
 
void CalculateExtent ()
 

Protected Attributes

G4VPhysicalVolumefpTopPV
 
G4String fTopPVName
 
G4int fTopPVCopyNo
 
G4int fRequestedDepth
 
G4bool fUseFullExtent
 
G4int fCurrentDepth
 
G4VPhysicalVolumefpCurrentPV
 
G4LogicalVolumefpCurrentLV
 
G4MaterialfpCurrentMaterial
 
G4Transform3DfpCurrentTransform
 
std::vector
< G4PhysicalVolumeNodeID
fBaseFullPVPath
 
std::vector
< G4PhysicalVolumeNodeID
fFullPVPath
 
std::vector
< G4PhysicalVolumeNodeID
fDrawnPVPath
 
G4bool fCurtailDescent
 
G4VSolidfpClippingSolid
 
ClippingMode fClippingMode
 
- Protected Attributes inherited from G4VModel
G4String fType
 
G4String fGlobalTag
 
G4String fGlobalDescription
 
G4VisExtent fExtent
 
G4Transform3D fTransform
 
const G4ModelingParametersfpMP
 

Detailed Description

Definition at line 82 of file G4PhysicalVolumeModel.hh.

Member Enumeration Documentation

anonymous enum
Enumerator
UNLIMITED 

Definition at line 86 of file G4PhysicalVolumeModel.hh.

Enumerator
subtraction 
intersection 

Definition at line 88 of file G4PhysicalVolumeModel.hh.

Constructor & Destructor Documentation

G4PhysicalVolumeModel::G4PhysicalVolumeModel ( G4VPhysicalVolume pVPV = 0,
G4int  requestedDepth = UNLIMITED,
const G4Transform3D modelTransformation = G4Transform3D(),
const G4ModelingParameters pMP = 0,
G4bool  useFullExtent = false 
)

Definition at line 59 of file G4PhysicalVolumeModel.cc.

G4PhysicalVolumeModel::~G4PhysicalVolumeModel ( )
virtual

Definition at line 91 of file G4PhysicalVolumeModel.cc.

Member Function Documentation

void G4PhysicalVolumeModel::CalculateExtent ( )
protected

Definition at line 96 of file G4PhysicalVolumeModel.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

std::vector< G4AttValue > * G4PhysicalVolumeModel::CreateCurrentAttValues ( ) const

Definition at line 829 of file G4PhysicalVolumeModel.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4PhysicalVolumeModel::CurtailDescent ( )
inline

Definition at line 222 of file G4PhysicalVolumeModel.hh.

Here is the caller graph for this function:

void G4PhysicalVolumeModel::DescribeAndDescend ( G4VPhysicalVolume pVPV,
G4int  requestedDepth,
G4LogicalVolume pLV,
G4VSolid pSol,
G4Material pMaterial,
const G4Transform3D theAT,
G4VGraphicsScene sceneHandler 
)
protected

Definition at line 335 of file G4PhysicalVolumeModel.cc.

Here is the call graph for this function:

void G4PhysicalVolumeModel::DescribeSolid ( const G4Transform3D theAT,
G4VSolid pSol,
const G4VisAttributes pVisAttribs,
G4VGraphicsScene sceneHandler 
)
protectedvirtual

Reimplemented in G4LogicalVolumeModel.

Definition at line 609 of file G4PhysicalVolumeModel.cc.

Here is the call graph for this function:

void G4PhysicalVolumeModel::DescribeYourselfTo ( G4VGraphicsScene sceneHandler)
virtual

Implements G4VModel.

Definition at line 136 of file G4PhysicalVolumeModel.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

const std::map< G4String, G4AttDef > * G4PhysicalVolumeModel::GetAttDefs ( ) const

Definition at line 754 of file G4PhysicalVolumeModel.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

const G4VSolid* G4PhysicalVolumeModel::GetClippingSolid ( ) const
inline

Definition at line 158 of file G4PhysicalVolumeModel.hh.

G4int G4PhysicalVolumeModel::GetCurrentDepth ( ) const
inline

Definition at line 161 of file G4PhysicalVolumeModel.hh.

Here is the caller graph for this function:

G4String G4PhysicalVolumeModel::GetCurrentDescription ( ) const
virtual

Reimplemented from G4VModel.

Definition at line 186 of file G4PhysicalVolumeModel.cc.

Here is the call graph for this function:

G4LogicalVolume* G4PhysicalVolumeModel::GetCurrentLV ( ) const
inline

Definition at line 167 of file G4PhysicalVolumeModel.hh.

Here is the caller graph for this function:

G4Material* G4PhysicalVolumeModel::GetCurrentMaterial ( ) const
inline

Definition at line 170 of file G4PhysicalVolumeModel.hh.

Here is the caller graph for this function:

G4VPhysicalVolume* G4PhysicalVolumeModel::GetCurrentPV ( ) const
inline

Definition at line 164 of file G4PhysicalVolumeModel.hh.

Here is the caller graph for this function:

G4String G4PhysicalVolumeModel::GetCurrentTag ( ) const
virtual

Reimplemented from G4VModel.

Definition at line 174 of file G4PhysicalVolumeModel.cc.

Here is the caller graph for this function:

const std::vector<G4PhysicalVolumeNodeID>& G4PhysicalVolumeModel::GetDrawnPVPath ( ) const
inline

Definition at line 180 of file G4PhysicalVolumeModel.hh.

Here is the caller graph for this function:

const std::vector<G4PhysicalVolumeNodeID>& G4PhysicalVolumeModel::GetFullPVPath ( ) const
inline

Definition at line 173 of file G4PhysicalVolumeModel.hh.

G4int G4PhysicalVolumeModel::GetRequestedDepth ( ) const
inline

Definition at line 156 of file G4PhysicalVolumeModel.hh.

Here is the caller graph for this function:

G4VPhysicalVolume* G4PhysicalVolumeModel::GetTopPhysicalVolume ( ) const
inline

Definition at line 154 of file G4PhysicalVolumeModel.hh.

Here is the caller graph for this function:

void G4PhysicalVolumeModel::SetBaseFullPVPath ( const std::vector< G4PhysicalVolumeNodeID > &  baseFullPVPath)
inline

Definition at line 201 of file G4PhysicalVolumeModel.hh.

Here is the caller graph for this function:

void G4PhysicalVolumeModel::SetClippingMode ( ClippingMode  mode)
inline

Definition at line 215 of file G4PhysicalVolumeModel.hh.

void G4PhysicalVolumeModel::SetClippingSolid ( G4VSolid pClippingSolid)
inline

Definition at line 211 of file G4PhysicalVolumeModel.hh.

void G4PhysicalVolumeModel::SetRequestedDepth ( G4int  requestedDepth)
inline

Definition at line 207 of file G4PhysicalVolumeModel.hh.

G4bool G4PhysicalVolumeModel::Validate ( G4bool  warn)
virtual

Reimplemented from G4VModel.

Definition at line 701 of file G4PhysicalVolumeModel.cc.

Here is the call graph for this function:

void G4PhysicalVolumeModel::VisitGeometryAndGetVisReps ( G4VPhysicalVolume pVPV,
G4int  requestedDepth,
const G4Transform3D theAT,
G4VGraphicsScene sceneHandler 
)
protected

Definition at line 192 of file G4PhysicalVolumeModel.cc.

Here is the call graph for this function:

Member Data Documentation

std::vector<G4PhysicalVolumeNodeID> G4PhysicalVolumeModel::fBaseFullPVPath
protected

Definition at line 260 of file G4PhysicalVolumeModel.hh.

ClippingMode G4PhysicalVolumeModel::fClippingMode
protected

Definition at line 265 of file G4PhysicalVolumeModel.hh.

G4int G4PhysicalVolumeModel::fCurrentDepth
protected

Definition at line 255 of file G4PhysicalVolumeModel.hh.

G4bool G4PhysicalVolumeModel::fCurtailDescent
protected

Definition at line 263 of file G4PhysicalVolumeModel.hh.

std::vector<G4PhysicalVolumeNodeID> G4PhysicalVolumeModel::fDrawnPVPath
protected

Definition at line 262 of file G4PhysicalVolumeModel.hh.

std::vector<G4PhysicalVolumeNodeID> G4PhysicalVolumeModel::fFullPVPath
protected

Definition at line 261 of file G4PhysicalVolumeModel.hh.

G4VSolid* G4PhysicalVolumeModel::fpClippingSolid
protected

Definition at line 264 of file G4PhysicalVolumeModel.hh.

G4LogicalVolume* G4PhysicalVolumeModel::fpCurrentLV
protected

Definition at line 257 of file G4PhysicalVolumeModel.hh.

G4Material* G4PhysicalVolumeModel::fpCurrentMaterial
protected

Definition at line 258 of file G4PhysicalVolumeModel.hh.

G4VPhysicalVolume* G4PhysicalVolumeModel::fpCurrentPV
protected

Definition at line 256 of file G4PhysicalVolumeModel.hh.

G4Transform3D* G4PhysicalVolumeModel::fpCurrentTransform
protected

Definition at line 259 of file G4PhysicalVolumeModel.hh.

G4VPhysicalVolume* G4PhysicalVolumeModel::fpTopPV
protected

Definition at line 249 of file G4PhysicalVolumeModel.hh.

G4int G4PhysicalVolumeModel::fRequestedDepth
protected

Definition at line 252 of file G4PhysicalVolumeModel.hh.

G4int G4PhysicalVolumeModel::fTopPVCopyNo
protected

Definition at line 251 of file G4PhysicalVolumeModel.hh.

G4String G4PhysicalVolumeModel::fTopPVName
protected

Definition at line 250 of file G4PhysicalVolumeModel.hh.

G4bool G4PhysicalVolumeModel::fUseFullExtent
protected

Definition at line 254 of file G4PhysicalVolumeModel.hh.


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