Class rayx::DesignSource¶
ClassList > rayx > DesignSource
Inherits the following classes: rayx::BeamlineNode
Public Attributes¶
| Type | Name |
|---|---|
| DesignMap | m_elementParameters |
Public Functions¶
| Type | Name |
|---|---|
| DesignSource () |
|
| DesignSource (std::string name) |
|
| DesignSource (const DesignSource & other) = delete |
|
| DesignSource (DesignSource && other) noexcept |
|
| virtual std::unique_ptr< BeamlineNode > | clone () override const Creates a deep copy (clone) of this BeamlineNode . |
| double | getBendingRadius () const |
| Rad | getDeltaOpeningAngle () const |
| double | getElectronEnergy () const |
| ElectronEnergyOrientation | getElectronEnergyOrientation () const |
| double | getElectronSigmaX () const |
| double | getElectronSigmaXs () const |
| double | getElectronSigmaY () const |
| double | getElectronSigmaYs () const |
| double | getEnergy () const |
| EnergyDistributionVariant | getEnergyDistribution () const |
| EnergyDistributionType | getEnergyDistributionType () const |
| double | getEnergySpread () const |
| SpreadType | getEnergySpreadType () const |
| EnergySpreadUnit | getEnergySpreadUnit () const |
| SourceDist | getHeightDist () const |
| SourceDist | getHorDist () const |
| double | getHorDivergence () const |
| Rad | getMaxOpeningAngle () const |
| Rad | getMinOpeningAngle () const |
| virtual std::string | getName () override const |
| int | getNumOfCircles () const |
| int | getNumberOfRays () const |
| int | getNumberOfSeparateEnergies () const |
| virtual glm::dmat4x4 | getOrientation () override const Gets the local orientation (rotation/transform) of this node. |
| double | getPhotonFlux () const |
| virtual glm::dvec4 | getPosition () override const Gets the local position of this node. |
| std::shared_ptr< Rays > | getRayList () const |
| SigmaType | getSigmaType () const |
| double | getSourceDepth () const |
| double | getSourceHeight () const |
| double | getSourceWidth () const |
| glm::dvec4 | getStokes () const |
| ElementType | getType () const |
| double | getUndulatorLength () const |
| SourceDist | getVerDist () const |
| double | getVerDivergence () const |
| double | getVerEBeamDivergence () const |
| SourceDist | getWidthDist () const |
| virtual bool | isSource () override const |
| DesignSource & | operator= (const DesignSource & other) = delete |
| DesignSource & | operator= (DesignSource && other) noexcept |
| void | setBendingRadius (double value) |
| void | setDeltaOpeningAngle (Rad value) |
| void | setElectronEnergy (double value) |
| void | setElectronEnergyOrientation (ElectronEnergyOrientation value) |
| void | setElectronSigmaX (double value) |
| void | setElectronSigmaXs (double value) |
| void | setElectronSigmaY (double value) |
| void | setElectronSigmaYs (double value) |
| void | setEnergy (double value) |
| void | setEnergyDistributionFile (std::string value) |
| void | setEnergyDistributionType (EnergyDistributionType value) |
| void | setEnergySpread (double value) |
| void | setEnergySpreadType (SpreadType value) |
| void | setEnergySpreadUnit (EnergySpreadUnit value) |
| void | setHeightDist (SourceDist value) |
| void | setHorDist (SourceDist value) |
| void | setHorDivergence (double value) |
| void | setMaxOpeningAngle (Rad value) |
| void | setMinOpeningAngle (Rad value) |
| virtual void | setName (std::string s) override |
| void | setNumOfCircles (int value) |
| void | setNumberOfRays (int value) |
| void | setNumberOfSeparateEnergies (int value) |
| void | setOrientation (glm::dmat4x4 o) |
| void | setPhotonFlux (double value) |
| void | setPosition (glm::dvec4 p) |
| void | setRayList (Rays rays) |
| void | setRayList (std::shared_ptr< Rays > & rays) |
| void | setSigmaType (SigmaType value) |
| void | setSourceDepth (double value) |
| void | setSourceHeight (double value) |
| void | setSourceWidth (double value) |
| void | setStokescirc (double value) |
| void | setStokeslin0 (double value) |
| void | setStokeslin45 (double value) |
| void | setType (ElementType s) |
| void | setUndulatorLength (double value) |
| void | setVerDist (SourceDist value) |
| void | setVerDivergence (double value) |
| void | setVerEBeamDivergence (double value) |
| void | setWidthDist (SourceDist value) |
| ~DesignSource () = default |
Public Functions inherited from rayx::BeamlineNode¶
| Type | Name |
|---|---|
| const DesignElement * | asElement () const |
| DesignElement * | asElement () |
| const Group * | asGroup () const |
| Group * | asGroup () |
| const DesignSource * | asSource () const |
| DesignSource * | asSource () |
| virtual std::unique_ptr< BeamlineNode > | clone () const = 0 Creates a deep copy (clone) of this BeamlineNode . |
| virtual std::string | getName () const = 0 |
| int | getObjectId () const |
| virtual glm::dmat4 | getOrientation () const = 0 Gets the local orientation (rotation/transform) of this node. |
| const BeamlineNode * | getParent () const |
| BeamlineNode * | getParent () |
| virtual glm::dvec4 | getPosition () const = 0 Gets the local position of this node. |
| const BeamlineNode * | getRoot () const |
| BeamlineNode * | getRoot () |
| glm::dmat4 | getWorldOrientation () const Computes the absolute/world orientation of this node. |
| glm::dvec4 | getWorldPosition () const Computes the absolute/world position of this node. |
| bool | hasParent () const |
| virtual bool | isElement () const |
| virtual bool | isGroup () const |
| virtual bool | isSource () const |
| virtual const BeamlineNode * | operator[] (size_t index) const |
| virtual BeamlineNode * | operator[] (size_t index) |
| virtual const BeamlineNode * | operator[] (const std::string & name) const |
| virtual BeamlineNode * | operator[] (const std::string & name) |
| virtual void | setName (std::string name) = 0 |
| virtual | ~BeamlineNode () = default |
Public Attributes Documentation¶
variable m_elementParameters¶
Public Functions Documentation¶
function DesignSource [1/4]¶
function DesignSource [2/4]¶
function DesignSource [3/4]¶
function DesignSource [4/4]¶
function clone¶
Creates a deep copy (clone) of this BeamlineNode .
Derived classes must implement this to allow duplication of their internal state.
Returns:
A unique_ptr to the newly cloned BeamlineNode.
Implements rayx::BeamlineNode::clone
function getBendingRadius¶
function getDeltaOpeningAngle¶
function getElectronEnergy¶
function getElectronEnergyOrientation¶
function getElectronSigmaX¶
function getElectronSigmaXs¶
function getElectronSigmaY¶
function getElectronSigmaYs¶
function getEnergy¶
function getEnergyDistribution¶
function getEnergyDistributionType¶
function getEnergySpread¶
function getEnergySpreadType¶
function getEnergySpreadUnit¶
function getHeightDist¶
function getHorDist¶
function getHorDivergence¶
function getMaxOpeningAngle¶
function getMinOpeningAngle¶
function getName¶
Implements rayx::BeamlineNode::getName
function getNumOfCircles¶
function getNumberOfRays¶
function getNumberOfSeparateEnergies¶
function getOrientation¶
Gets the local orientation (rotation/transform) of this node.
Each node may have its own transform relative to its parent.
Returns:
A 4x4 matrix (dmat4) representing the local orientation.
Implements rayx::BeamlineNode::getOrientation
function getPhotonFlux¶
function getPosition¶
Gets the local position of this node.
Each node may have its own transform relative to its parent.
Returns:
A 4D vector (dvec4) representing the local position.
Implements rayx::BeamlineNode::getPosition
function getRayList¶
function getSigmaType¶
function getSourceDepth¶
function getSourceHeight¶
function getSourceWidth¶
function getStokes¶
function getType¶
function getUndulatorLength¶
function getVerDist¶
function getVerDivergence¶
function getVerEBeamDivergence¶
function getWidthDist¶
function isSource¶
Implements rayx::BeamlineNode::isSource
function operator=¶
function operator=¶
function setBendingRadius¶
function setDeltaOpeningAngle¶
function setElectronEnergy¶
function setElectronEnergyOrientation¶
function setElectronSigmaX¶
function setElectronSigmaXs¶
function setElectronSigmaY¶
function setElectronSigmaYs¶
function setEnergy¶
function setEnergyDistributionFile¶
function setEnergyDistributionType¶
function setEnergySpread¶
function setEnergySpreadType¶
function setEnergySpreadUnit¶
function setHeightDist¶
function setHorDist¶
function setHorDivergence¶
function setMaxOpeningAngle¶
function setMinOpeningAngle¶
function setName¶
Implements rayx::BeamlineNode::setName
function setNumOfCircles¶
function setNumberOfRays¶
function setNumberOfSeparateEnergies¶
function setOrientation¶
function setPhotonFlux¶
function setPosition¶
function setRayList [1/2]¶
function setRayList [2/2]¶
function setSigmaType¶
function setSourceDepth¶
function setSourceHeight¶
function setSourceWidth¶
function setStokescirc¶
function setStokeslin0¶
function setStokeslin45¶
function setType¶
function setUndulatorLength¶
function setVerDist¶
function setVerDivergence¶
function setVerEBeamDivergence¶
function setWidthDist¶
function ~DesignSource¶
The documentation for this class was generated from the following file Intern/rayx-core/src/Design/DesignSource.h