Defines abstract item with a material property.
ParticleItem * shell() const
ParticleItem * core() const
std::unique_ptr< ParticleItem > m_core
std::unique_ptr< ParticleItem > m_shell
ParticleCoreShellItem(const MaterialItems *materials)
void serialize(Streamer &s) override
ParticleItem * createShell(const MaterialItems *materials)
const MaterialItems * m_materials
QVector< ItemWithParticles * > containedItemsWithParticles() const override
Return full hierarchical contained items with particles.
std::unique_ptr< ParticleCoreShell > createParticleCoreShell() const
ParticleItem * createCore(const MaterialItems *materials)