Class Acts::HomogeneousVolumeMaterial¶
-
class Acts::HomogeneousVolumeMaterial : public Acts::IVolumeMaterial¶
It extends the IVolumeMaterial base class to describe a simple homogeneous material in a volume.
Public Functions
-
HomogeneousVolumeMaterial(const Material &material)¶
Explicit constructor.
- Parameters
material – is the material held by this
-
HomogeneousVolumeMaterial(const HomogeneousVolumeMaterial &hvm) = default¶
Copy Constructor.
- Parameters
hvm – is the source material
-
HomogeneousVolumeMaterial(HomogeneousVolumeMaterial &&hvm) = default¶
Copy Move Constructor.
- Parameters
hvm – is the source material
-
~HomogeneousVolumeMaterial() override = default¶
Destructor.
-
inline virtual const Material material(const Vector3 &position) const final¶
Access to actual material.
Note
position
is ignored- Parameters
position – is the request position for the material call
-
HomogeneousVolumeMaterial &operator=(const HomogeneousVolumeMaterial &hvm) = default¶
Assignment operator.
- Parameters
hvm – is the source material
-
inline bool operator==(const HomogeneousVolumeMaterial &hvm) const¶
Equality operator.
- Parameters
hvm – is the source material
-
virtual std::ostream &toStream(std::ostream &sl) const final¶
Output Method for std::ostream.
- Parameters
sl – The outoput stream
-
HomogeneousVolumeMaterial(const Material &material)¶