15 #ifndef BORNAGAIN_CORE_MULTILAYER_FORMFACTORBAPOL_H
16 #define BORNAGAIN_CORE_MULTILAYER_FORMFACTORBAPOL_H
37 mP_form_factor->setAmbientMaterial(
material);
46 double volume()
const override {
return mP_form_factor->volume(); }
48 double radialExtension()
const override {
return mP_form_factor->radialExtension(); }
56 std::unique_ptr<IFormFactor> mP_form_factor;
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.