BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 28 of file RealSpaceMesoCrystalUtils.h.
Public Member Functions | |
RealSpaceMesoCrystal (const MesoCrystalItem *mesoCrystalItem, double total_abundance, const QVector3D &origin, std::function< QColor(const QString &)> fnColorFromMaterialName) | |
~RealSpaceMesoCrystal ()=default | |
Particle3DContainer | populateMesoCrystal () |
Private Attributes | |
std::unique_ptr< GUI::RealSpace::BuilderUtils > | m_builderUtils |
const MesoCrystalItem * | m_mesoCrystalItem |
QVector3D | m_origin |
double | m_total_abundance |
|
default |
RealSpaceMesoCrystal::RealSpaceMesoCrystal | ( | const MesoCrystalItem * | mesoCrystalItem, |
double | total_abundance, | ||
const QVector3D & | origin, | ||
std::function< QColor(const QString &)> | fnColorFromMaterialName | ||
) |
Definition at line 363 of file RealSpaceMesoCrystalUtils.cpp.
References m_builderUtils, m_mesoCrystalItem, m_origin, and m_total_abundance.
Particle3DContainer RealSpaceMesoCrystal::populateMesoCrystal | ( | ) |
Definition at line 373 of file RealSpaceMesoCrystalUtils.cpp.
References Particle3DContainer::addParticle(), Particle3DContainer::containerSize(), MesoCrystalItem::createMesoCrystal(), Particle3DContainer::createParticle(), GUI::View::TransformTo3D::createParticlefromFormfactor(), MesoCrystalItem::getBasis(), MesoCrystalItem::getLattice(), MesoCrystalItem::getOuterShape(), m_builderUtils, m_mesoCrystalItem, m_origin, m_total_abundance, Particle3DContainer::particle3DBlend(), Particle3DContainer::setCumulativeAbundance(), and Particle3DContainer::setParticleType().
Referenced by GUI::RealSpace::BuilderUtils::mesoCrystal3DContainer().
|
private |
Definition at line 42 of file RealSpaceMesoCrystalUtils.h.
Referenced by RealSpaceMesoCrystal(), and populateMesoCrystal().
|
private |
Definition at line 39 of file RealSpaceMesoCrystalUtils.h.
Referenced by RealSpaceMesoCrystal(), and populateMesoCrystal().
|
private |
Definition at line 41 of file RealSpaceMesoCrystalUtils.h.
Referenced by RealSpaceMesoCrystal(), and populateMesoCrystal().
|
private |
Definition at line 40 of file RealSpaceMesoCrystalUtils.h.
Referenced by RealSpaceMesoCrystal(), and populateMesoCrystal().