VGM Version 5.3
Loading...
Searching...
No Matches
BaseVGM::VVolume Class Referenceabstract

The abstract base class for volumes. More...

#include <VVolume.h>

Inheritance diagram for BaseVGM::VVolume:

Public Member Functions

 VVolume (VGM::ISolid *solid)
 
virtual ~VVolume ()
 
virtual std::string Name () const =0
 Return the name of this volume.
 
virtual std::string MaterialName () const =0
 Return the name of the associated material.
 
virtual std::string MediumName () const =0
 Return the name of the associated medium.
 
virtual VGM::ISolidSolid () const
 Return the associated solid.
 
virtual int NofDaughters () const
 Return the number of volume daughters.
 
virtual VGM::IPlacementDaughter (int i) const
 Return the i-th daughter.
 
virtual void AddDaughter (VGM::IPlacement *daughter)
 Add the specified daughter.
 
virtual void ResetSolid (VGM::ISolid *solid)
 
- Public Member Functions inherited from VGM::IVolume
virtual ~IVolume ()
 

Protected Member Functions

 VVolume ()
 
 VVolume (const VVolume &rhs)
 

Detailed Description

The abstract base class for volumes.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 35 of file VVolume.h.

Constructor & Destructor Documentation

◆ VVolume() [1/3]

BaseVGM::VVolume::VVolume ( VGM::ISolid * solid)

Standard constructor

Definition at line 43 of file VVolume.cxx.

◆ ~VVolume()

BaseVGM::VVolume::~VVolume ( )
virtual

Definition at line 62 of file VVolume.cxx.

◆ VVolume() [2/3]

BaseVGM::VVolume::VVolume ( )
protected

Protected default constructor

Definition at line 50 of file VVolume.cxx.

◆ VVolume() [3/3]

BaseVGM::VVolume::VVolume ( const VVolume & rhs)
protected

Protected copy constructor

Definition at line 56 of file VVolume.cxx.

Member Function Documentation

◆ Name()

virtual std::string BaseVGM::VVolume::Name ( ) const
pure virtual

Return the name of this volume.

Implements VGM::IVolume.

Implemented in Geant4GM::Volume, and RootGM::Volume.

◆ MaterialName()

virtual std::string BaseVGM::VVolume::MaterialName ( ) const
pure virtual

Return the name of the associated material.

Implements VGM::IVolume.

Implemented in Geant4GM::Volume, and RootGM::Volume.

◆ MediumName()

virtual std::string BaseVGM::VVolume::MediumName ( ) const
pure virtual

Return the name of the associated medium.

Implements VGM::IVolume.

Implemented in Geant4GM::Volume, and RootGM::Volume.

◆ Solid()

VGM::ISolid * BaseVGM::VVolume::Solid ( ) const
virtual

Return the associated solid.

Implements VGM::IVolume.

Definition at line 73 of file VVolume.cxx.

◆ NofDaughters()

int BaseVGM::VVolume::NofDaughters ( ) const
virtual

Return the number of volume daughters.

Implements VGM::IVolume.

Definition at line 76 of file VVolume.cxx.

◆ Daughter()

VGM::IPlacement * BaseVGM::VVolume::Daughter ( int i) const
virtual

Return the i-th daughter.

Implements VGM::IVolume.

Definition at line 79 of file VVolume.cxx.

◆ AddDaughter()

void BaseVGM::VVolume::AddDaughter ( VGM::IPlacement * daughter)
virtual

Add the specified daughter.

Implements VGM::IVolume.

Definition at line 85 of file VVolume.cxx.

◆ ResetSolid()

void BaseVGM::VVolume::ResetSolid ( VGM::ISolid * solid)
virtual

Reimplemented in Geant4GM::Volume.

Definition at line 91 of file VVolume.cxx.


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