|
|
IParticle * | clone () const override=0 |
| | Returns a clone of this ISample object.
|
| |
|
virtual IFormFactor * | createFormFactor () const |
| | Creates a form factor for this particle.
|
| |
|
virtual SlicedParticle | createSlicedParticle (ZLimits limits) const |
| | Creates a sliced form factor for this particle.
|
| |
|
kvector_t | position () const |
| | Returns particle position.
|
| |
| void | setPosition (kvector_t position) |
| | Sets relative position of the particle's reference point in the coordinate system of parent. More...
|
| |
| void | setPosition (double x, double y, double z) |
| | Sets relative position of the particle's reference point in the coordinate system of parent. More...
|
| |
|
void | translate (kvector_t translation) override final |
| | Translates the particle.
|
| |
|
const IRotation * | rotation () const |
| | Returns rotation object.
|
| |
|
void | setRotation (const IRotation &rotation) |
| | Sets transformation.
|
| |
|
void | rotate (const IRotation &rotation) override final |
| | Rotates the particle.
|
| |
|
std::vector< const INode * > | getChildren () const override |
| | Returns a vector of children (const).
|
| |
|
void | registerAbundance (bool make_registered=true) |
| |
|
void | registerPosition (bool make_registered=true) |
| | Registers the three components of its position.
|
| |
|
virtual SafePointerVector< IParticle > | decompose () const |
| | Decompose in constituent IParticle objects.
|
| |
|
virtual ParticleLimits | bottomTopZ () const |
| | Top and bottom z-coordinate.
|
| |
Public Member Functions inherited from IAbstractParticle |
|
| IAbstractParticle (const NodeMeta &meta, const std::vector< double > &PValues) |
| |
|
virtual void | accept (INodeVisitor *visitor) const |
| | Calls the INodeVisitor's visit method.
|
| |
|
double | abundance () const |
| |
| void | setAbundance (double abundance) |
| | Sets particle abundance. More...
|
| |
|
| ISample (const NodeMeta &meta, const std::vector< double > &PValues) |
| |
|
virtual const Material * | material () const |
| | Returns nullptr, unless overwritten to return a specific material.
|
| |
|
std::vector< const Material * > | containedMaterials () const |
| | Returns set of unique materials contained in this ISample.
|
| |
|
| ICloneable (const ICloneable &)=delete |
| |
|
| ICloneable (ICloneable &&)=default |
| |
|
virtual void | transferToCPP () |
| | Used for Python overriding of clone (see swig/tweaks.py)
|
| |
|
| INode (const NodeMeta &meta, const std::vector< double > &PValues) |
| |
|
virtual std::string | treeToString () const |
| | Returns multiline string representing tree structure below the node.
|
| |
|
void | registerChild (INode *node) |
| |
|
virtual void | setParent (const INode *newParent) |
| |
|
const INode * | parent () const |
| |
|
INode * | parent () |
| |
|
int | copyNumber (const INode *node) const |
| | Returns copyNumber of child, which takes into account existence of children with same name.
|
| |
|
std::string | displayName () const |
| | Returns display name, composed from the name of node and it's copy number.
|
| |
|
ParameterPool * | createParameterTree () const |
| | Creates new parameter pool, with all local parameters and those of its children.
|
| |
|
| IParameterized (const std::string &name="") |
| |
|
| IParameterized (const IParameterized &other) |
| |
|
IParameterized & | operator= (const IParameterized &other)=delete |
| |
|
ParameterPool * | parameterPool () const |
| | Returns pointer to the parameter pool.
|
| |
|
std::string | parametersToString () const |
| | Returns multiline string representing available parameters.
|
| |
|
RealParameter & | registerParameter (const std::string &name, double *parpointer) |
| |
|
void | registerVector (const std::string &base_name, kvector_t *p_vec, const std::string &units="nm") |
| |
|
void | setParameterValue (const std::string &name, double value) |
| |
|
void | setVectorValue (const std::string &base_name, kvector_t value) |
| |
|
RealParameter * | parameter (const std::string &name) const |
| | Returns parameter with given 'name'.
|
| |
|
virtual void | onChange () |
| | Action to be taken in inherited class when a parameter has changed.
|
| |
|
void | removeParameter (const std::string &name) |
| |
|
void | removeVector (const std::string &base_name) |
| |
|
void | setName (const std::string &name) |
| |
|
const std::string & | getName () const |
| |
Pure virtual base class for Particle, ParticleComposition, ParticleCoreShell, MesoCrystal.
Provides position/rotation and form factor. Abundance is inherited from IAbstractParticle.
Definition at line 32 of file IParticle.h.