Mantid
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Attributes | List of all members
Mantid::Algorithms::IBeamProfile Class Referenceabstract

Base class for all classes defining a beam profile. More...

#include <IBeamProfile.h>

Inheritance diagram for Mantid::Algorithms::IBeamProfile:
Mantid::Algorithms::CircularBeamProfile Mantid::Algorithms::RectangularBeamProfile

Classes

struct  Ray
 

Public Member Functions

virtual Geometry::BoundingBox defineActiveRegion (const Geometry::BoundingBox &) const =0
 
virtual Ray generatePoint (Kernel::PseudoRandomNumberGenerator &rng) const =0
 
virtual Ray generatePoint (Kernel::PseudoRandomNumberGenerator &rng, const Geometry::BoundingBox &) const =0
 
Geometry::IObject_sptr getIntersectionWithSample (const Geometry::IObject &sample) const
 Get the intersection of the beam with the sample.
 
 IBeamProfile ()=default
 
 IBeamProfile (const Kernel::V3D center)
 Construct a new IBeamProfile::IBeamProfile object.
 
virtual ~IBeamProfile ()=default
 

Protected Attributes

Kernel::V3D m_beamCenter
 

Detailed Description

Base class for all classes defining a beam profile.

Definition at line 27 of file IBeamProfile.h.

Constructor & Destructor Documentation

◆ IBeamProfile() [1/2]

Mantid::Algorithms::IBeamProfile::IBeamProfile ( const Kernel::V3D  center)

Construct a new IBeamProfile::IBeamProfile object.

Parameters
centerCenter of the beam

Definition at line 69 of file IBeamProfile.cpp.

◆ IBeamProfile() [2/2]

Mantid::Algorithms::IBeamProfile::IBeamProfile ( )
default

◆ ~IBeamProfile()

virtual Mantid::Algorithms::IBeamProfile::~IBeamProfile ( )
virtualdefault

Member Function Documentation

◆ defineActiveRegion()

virtual Geometry::BoundingBox Mantid::Algorithms::IBeamProfile::defineActiveRegion ( const Geometry::BoundingBox ) const
pure virtual

◆ generatePoint() [1/2]

virtual Ray Mantid::Algorithms::IBeamProfile::generatePoint ( Kernel::PseudoRandomNumberGenerator rng) const
pure virtual

◆ generatePoint() [2/2]

virtual Ray Mantid::Algorithms::IBeamProfile::generatePoint ( Kernel::PseudoRandomNumberGenerator rng,
const Geometry::BoundingBox  
) const
pure virtual

◆ getIntersectionWithSample()

Geometry::IObject_sptr Mantid::Algorithms::IBeamProfile::getIntersectionWithSample ( const Geometry::IObject sample) const

Member Data Documentation

◆ m_beamCenter

Kernel::V3D Mantid::Algorithms::IBeamProfile::m_beamCenter
protected

Definition at line 43 of file IBeamProfile.h.


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