Definition at line 23 of file SampleViewFactory.h.
◆ createSampleView()
IView * SampleViewFactory::createSampleView |
( |
const QString & |
name | ) |
|
|
static |
Definition at line 53 of file SampleViewFactory.cpp.
55 if (
name ==
"MultiLayer") {
57 }
else if (
name ==
"Layer") {
59 }
else if (
name ==
"ParticleLayout") {
61 }
else if (
name ==
"Particle") {
63 }
else if (
name ==
"Rotation") {
65 }
else if (
name ==
"ParticleCoreShell") {
67 }
else if (
name ==
"ParticleComposition") {
69 }
else if (
name ==
"MesoCrystal") {
71 }
else if (
name ==
"ParticleDistribution") {
73 }
else if (
name ==
"Interference1DLattice") {
75 }
else if (
name ==
"Interference2DLattice") {
77 }
else if (
name ==
"Interference2DParaCrystal") {
79 }
else if (
name ==
"InterferenceFinite2DLattice") {
81 }
else if (
name ==
"InterferenceHardDisk") {
83 }
else if (
name ==
"InterferenceRadialParaCrystal") {
Class that represents view of Layer.
Class representing view of a meso crystal item.
Class representing view of MultiLayer.
Class representing view of Particle item.
Class representing view of Particle item.
Class representing view of distributed particle item.
Class representing view of Particle item.
QString const & name(EShape k)
References RealSpace::Particles::name().
Referenced by DesignerScene::addViewForItem().
◆ isValidExampleName()
static bool SampleViewFactory::isValidExampleName |
( |
| ) |
|
|
static |
◆ isValidType()
bool SampleViewFactory::isValidType |
( |
const QString & |
name | ) |
|
|
static |
◆ m_valid_item_names
QStringList SampleViewFactory::m_valid_item_names |
|
staticprivate |
Initial value:= QStringList()
<< "MultiLayer"
<< "Layer"
<< "ParticleLayout"
<< "Particle"
<< "Rotation"
<< "ParticleCoreShell"
<< "ParticleComposition"
<< "MesoCrystal"
<< "ParticleDistribution"
<< "Interference1DLattice"
<< "Interference2DLattice"
<< "Interference2DParaCrystal"
<< "InterferenceFinite2DLattice"
<< "InterferenceHardDisk"
<< "InterferenceRadialParaCrystal"
Definition at line 31 of file SampleViewFactory.h.
Referenced by isValidType().
The documentation for this class was generated from the following files: