15 #ifndef BORNAGAIN_CORE_PARTICLE_FORMFACTORWEIGHTED_H
16 #define BORNAGAIN_CORE_PARTICLE_FORMFACTORWEIGHTED_H
44 void addFormFactor(const
IFormFactor& form_factor,
double weight = 1.0);
56 std::vector<IFormFactor*> m_form_factors;
57 std::vector<double> m_weights;
Visitor interface to visit ISample objects.
Pure virtual interface for rotations.
virtual const Material * material() const
Returns nullptr, unless overwritten to return a specific material.
A wrapper for underlying material implementation.
Holds all wavevector information relevant for calculating form factors.