BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 28 of file Particle3DContainer.h.
Public Member Functions | |
Particle3DContainer () | |
Particle3DContainer (const Particle3DContainer &other) | |
Particle3DContainer (Particle3DContainer &&other) | |
~Particle3DContainer () | |
void | addParticle (GUI::RealSpace::Particles::Particle *particle3D, bool blend) |
void | clearContainer () |
size_t | containerSize () const |
std::unique_ptr< GUI::RealSpace::Particles::Particle > | createParticle (const size_t &index) const |
double | cumulativeAbundance () const |
Particle3DContainer & | operator= (const Particle3DContainer &rhs) |
Particle3DContainer & | operator= (Particle3DContainer &&rhs) |
bool | particle3DBlend (const size_t &index) const |
QString | particleType () const |
void | setCumulativeAbundance (double cumulativeAbundance) |
void | setParticleType (QString particleType) |
Private Attributes | |
std::vector< GUI::RealSpace::Particles::Particle * > | m_containerParticles |
std::vector< bool > | m_containerParticlesBlend |
QString | m_containerType |
double | m_cumulativeAbundance |
|
inline |
Definition at line 30 of file Particle3DContainer.h.
Particle3DContainer::Particle3DContainer | ( | const Particle3DContainer & | other | ) |
Definition at line 19 of file Particle3DContainer.cpp.
References m_containerParticles, m_containerParticlesBlend, and other.
Particle3DContainer::~Particle3DContainer | ( | ) |
Definition at line 54 of file Particle3DContainer.cpp.
References clearContainer().
Particle3DContainer::Particle3DContainer | ( | Particle3DContainer && | other | ) |
void Particle3DContainer::addParticle | ( | GUI::RealSpace::Particles::Particle * | particle3D, |
bool | blend | ||
) |
Definition at line 90 of file Particle3DContainer.cpp.
References m_containerParticles, and m_containerParticlesBlend.
Referenced by GUI::RealSpace::BuilderUtils::particleComposition3DContainer(), GUI::RealSpace::BuilderUtils::particleCoreShell3DContainer(), RealSpaceMesoCrystal::populateMesoCrystal(), and GUI::RealSpace::BuilderUtils::singleParticle3DContainer().
void Particle3DContainer::clearContainer | ( | ) |
Definition at line 81 of file Particle3DContainer.cpp.
References m_containerParticles, and m_containerParticlesBlend.
Referenced by ~Particle3DContainer(), and operator=().
|
inline |
Definition at line 43 of file Particle3DContainer.h.
References m_containerParticles.
Referenced by operator=(), GUI::RealSpace::BuilderUtils::particleComposition3DContainer(), RealSpaceMesoCrystal::populateMesoCrystal(), and RealSpaceBuilder::populateParticleFromParticle3DContainer().
std::unique_ptr< GUI::RealSpace::Particles::Particle > Particle3DContainer::createParticle | ( | const size_t & | index | ) | const |
Definition at line 107 of file Particle3DContainer.cpp.
References m_containerParticles.
Referenced by GUI::RealSpace::BuilderUtils::particle3DContainerVector(), GUI::RealSpace::BuilderUtils::particleComposition3DContainer(), RealSpaceMesoCrystal::populateMesoCrystal(), RealSpaceBuilder::populateParticleFromParticle3DContainer(), and RealSpaceBuilder::populateParticleFromParticleItem().
|
inline |
Definition at line 44 of file Particle3DContainer.h.
References m_cumulativeAbundance.
Referenced by GUI::RealSpace::BuilderUtils::particle3DContainerVector(), and setCumulativeAbundance().
Particle3DContainer & Particle3DContainer::operator= | ( | const Particle3DContainer & | rhs | ) |
Definition at line 34 of file Particle3DContainer.cpp.
References clearContainer(), containerSize(), m_containerParticles, m_containerParticlesBlend, m_containerType, and m_cumulativeAbundance.
Particle3DContainer & Particle3DContainer::operator= | ( | Particle3DContainer && | rhs | ) |
Definition at line 69 of file Particle3DContainer.cpp.
References clearContainer(), m_containerParticles, m_containerParticlesBlend, m_containerType, and m_cumulativeAbundance.
|
inline |
Definition at line 46 of file Particle3DContainer.h.
References m_containerParticlesBlend.
Referenced by GUI::RealSpace::BuilderUtils::particleComposition3DContainer(), RealSpaceMesoCrystal::populateMesoCrystal(), and RealSpaceBuilder::populateParticleFromParticle3DContainer().
|
inline |
Definition at line 45 of file Particle3DContainer.h.
References m_containerType.
Referenced by setParticleType().
void Particle3DContainer::setCumulativeAbundance | ( | double | cumulativeAbundance | ) |
Definition at line 96 of file Particle3DContainer.cpp.
References cumulativeAbundance(), and m_cumulativeAbundance.
Referenced by GUI::RealSpace::BuilderUtils::particle3DContainerVector(), GUI::RealSpace::BuilderUtils::particleComposition3DContainer(), GUI::RealSpace::BuilderUtils::particleCoreShell3DContainer(), RealSpaceMesoCrystal::populateMesoCrystal(), and GUI::RealSpace::BuilderUtils::singleParticle3DContainer().
void Particle3DContainer::setParticleType | ( | QString | particleType | ) |
Definition at line 101 of file Particle3DContainer.cpp.
References m_containerType, and particleType().
Referenced by GUI::RealSpace::BuilderUtils::particleComposition3DContainer(), GUI::RealSpace::BuilderUtils::particleCoreShell3DContainer(), RealSpaceMesoCrystal::populateMesoCrystal(), and GUI::RealSpace::BuilderUtils::singleParticle3DContainer().
|
private |
Definition at line 55 of file Particle3DContainer.h.
Referenced by Particle3DContainer(), addParticle(), clearContainer(), containerSize(), createParticle(), and operator=().
|
private |
Definition at line 59 of file Particle3DContainer.h.
Referenced by Particle3DContainer(), addParticle(), clearContainer(), operator=(), and particle3DBlend().
|
private |
Definition at line 58 of file Particle3DContainer.h.
Referenced by operator=(), particleType(), and setParticleType().
|
private |
Definition at line 57 of file Particle3DContainer.h.
Referenced by cumulativeAbundance(), operator=(), and setCumulativeAbundance().