summaryrefslogtreecommitdiff
path: root/src/CGALEvaluator.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-10-04 19:06:40 (GMT)
committerMarius Kintel <marius@kintel.net>2011-10-04 19:06:40 (GMT)
commit799ca1d1b3f2e9142460ab3ce895a0641f54dfda (patch)
tree6c168de6d55cb92b94b0ddeb54c668bd4946c10d /src/CGALEvaluator.h
parent9259d57659f61e9e56942bb36125f605f8f3c338 (diff)
parentf5e0f3a531b0c8806e4ebc62cd91ca31275ae481 (diff)
Merge branch 'master' into visitortests
Conflicts: src/polyset.h
Diffstat (limited to 'src/CGALEvaluator.h')
-rw-r--r--src/CGALEvaluator.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/CGALEvaluator.h b/src/CGALEvaluator.h
index c1b5ae8..0ac716c 100644
--- a/src/CGALEvaluator.h
+++ b/src/CGALEvaluator.h
@@ -3,7 +3,6 @@
#include "myqhash.h"
#include "visitor.h"
-#include "Tree.h"
#include "CGAL_Nef_polyhedron.h"
#include "PolySetCGALEvaluator.h"
@@ -11,16 +10,11 @@
#include <map>
#include <list>
-using std::string;
-using std::map;
-using std::list;
-using std::pair;
-
class CGALEvaluator : public Visitor
{
public:
enum CsgOp {CGE_UNION, CGE_INTERSECTION, CGE_DIFFERENCE, CGE_MINKOWSKI};
- CGALEvaluator(const Tree &tree) : tree(tree), psevaluator(*this) {}
+ CGALEvaluator(const class Tree &tree) : tree(tree), psevaluator(*this) {}
virtual ~CGALEvaluator() {}
virtual Response visit(State &state, const AbstractNode &node);
@@ -42,9 +36,9 @@ private:
CGAL_Nef_polyhedron applyToChildren(const AbstractNode &node, CGALEvaluator::CsgOp op);
CGAL_Nef_polyhedron applyHull(const CgaladvNode &node);
- string currindent;
- typedef list<pair<const AbstractNode *, string> > ChildList;
- map<int, ChildList> visitedchildren;
+ std::string currindent;
+ typedef std::list<std::pair<const AbstractNode *, std::string> > ChildList;
+ std::map<int, ChildList> visitedchildren;
const Tree &tree;
public:
contact: Jan Huwald // Impressum