15 #ifndef BORNAGAIN_CORE_SCATTERING_IFORMFACTORDECORATOR_H
16 #define BORNAGAIN_CORE_SCATTERING_IFORMFACTORDECORATOR_H
40 double volume()
const override {
return mp_form_factor->
volume(); }
46 return mp_form_factor->
bottomZ(rotation);
49 double topZ(
const IRotation& rotation)
const override {
return mp_form_factor->
topZ(rotation); }
51 const IFormFactor* getFormFactor()
const {
return mp_form_factor; }
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.