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

use Field2D.h in RealspaceBuilder

parent 31346b18
No related branches found
No related tags found
1 merge request!2701everywhere using double2d_t for vector<vector<double>; move fcts to FieldUtil; simplify & unify initialization
...@@ -43,7 +43,6 @@ using Img3D::Model; ...@@ -43,7 +43,6 @@ using Img3D::Model;
using Img3D::Particle3DContainer; using Img3D::Particle3DContainer;
namespace { namespace {
using double2d_t = RealspaceBuilder::double2d_t;
double2d_t generatePositions(IInterference* const iff, double layerSize, double density) double2d_t generatePositions(IInterference* const iff, double layerSize, double density)
{ {
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#ifndef BORNAGAIN_GUI_VIEW_REALSPACE_REALSPACEBUILDER_H #ifndef BORNAGAIN_GUI_VIEW_REALSPACE_REALSPACEBUILDER_H
#define BORNAGAIN_GUI_VIEW_REALSPACE_REALSPACEBUILDER_H #define BORNAGAIN_GUI_VIEW_REALSPACE_REALSPACEBUILDER_H
#include "Base/Type/Field2D.h"
#include "Img3D/View/Camera.h" #include "Img3D/View/Camera.h"
class Item3D; class Item3D;
...@@ -32,8 +33,6 @@ class Particle3DContainer; ...@@ -32,8 +33,6 @@ class Particle3DContainer;
class RealspaceBuilder { class RealspaceBuilder {
public: public:
using double2d_t = std::vector<std::vector<double>>;
RealspaceBuilder(std::function<QColor(const QString&)> fnColorFromMaterialName); RealspaceBuilder(std::function<QColor(const QString&)> fnColorFromMaterialName);
~RealspaceBuilder(); ~RealspaceBuilder();
......
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