Skip to content
Snippets Groups Projects
Commit e8092315 authored by Wuttke, Joachim's avatar Wuttke, Joachim Committed by Wuttke, Joachim
Browse files

Core: INode children: rm intermediate 'accept' fcts

parent a734bddb
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,6 @@ public:
virtual ~IInterferenceFunction();
virtual IInterferenceFunction* clone() const = 0;
virtual void accept(INodeVisitor* visitor) const = 0;
//! Evaluates the interference function for a given wavevector transfer
virtual double evaluate(const kvector_t q, double outer_iff = 1.0) const;
......
......@@ -31,7 +31,6 @@ public:
IFormFactorDecorator(const IFormFactor& form_factor) : mp_form_factor(form_factor.clone()) {}
~IFormFactorDecorator() override { delete mp_form_factor; }
IFormFactorDecorator* clone() const override = 0;
void accept(INodeVisitor* visitor) const override = 0;
void setAmbientMaterial(Material material) override
{
......
......@@ -30,8 +30,6 @@ class BA_CORE_API_ IClusteredParticles : public ISample
public:
IClusteredParticles* clone() const override = 0;
void accept(INodeVisitor* visitor) const override = 0;
//! Creates a total form factor for the mesocrystal with a specific shape and content
//! The bulk content of the mesocrystal is encapsulated by the IClusteredParticles object itself
virtual IFormFactor* createTotalFormFactor(const IFormFactor&, const IRotation*,
......
......@@ -40,8 +40,6 @@ public:
~IParticle() {}
IParticle* clone() const override = 0;
void accept(INodeVisitor* visitor) const override { visitor->visit(this); }
//! Create a form factor for this particle
virtual IFormFactor* createFormFactor() const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment