summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2010-07-15 00:48:00 (GMT)
committerMarius Kintel <marius@kintel.net>2010-10-31 00:42:38 (GMT)
commitf0b49ee9e93c92982fe9a160c3e9aa7da17b581e (patch)
tree28056348e28bca5274e3bf7f48174fd42fb6ce94 /src/node.h
parentf2323c78b381c24d2924c6cea7c9230416542a17 (diff)
Started refactoring of render_csg_term() into a visitor
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/node.h b/src/node.h
index 17ae72b..03af095 100644
--- a/src/node.h
+++ b/src/node.h
@@ -52,9 +52,6 @@ public:
int idx; // Node index (unique per tree)
// FIXME: Rewrite to visitor
- virtual class CSGTerm *render_csg_term(double m[20], QVector<CSGTerm*> *highlights, QVector<CSGTerm*> *background) const;
-
- // FIXME: Rewrite to visitor
#ifdef ENABLE_CGAL
class CSGTerm *render_csg_term_from_nef(double m[20], QVector<CSGTerm*> *highlights, QVector<CSGTerm*> *background, const char *statement, int convexity) const;
#endif
@@ -67,8 +64,6 @@ public:
virtual ~AbstractIntersectionNode() { };
virtual Response accept(const class State &state, class Visitor &visitor) const;
virtual std::string toString() const;
-
- virtual CSGTerm *render_csg_term(double m[20], QVector<CSGTerm*> *highlights, QVector<CSGTerm*> *background) const;
};
class AbstractPolyNode : public AbstractNode
@@ -86,8 +81,6 @@ public:
empty PolySet if smth. is wrong, but don't return NULL unless we change the calling
strategy for this method. */
virtual class PolySet *render_polyset(render_mode_e mode) const = 0;
- virtual CSGTerm *render_csg_term(double m[20], QVector<CSGTerm*> *highlights, QVector<CSGTerm*> *background) const;
- static CSGTerm *render_csg_term_from_ps(double m[20], QVector<CSGTerm*> *highlights, QVector<CSGTerm*> *background, PolySet *ps, const ModuleInstantiation *modinst, int idx);
};
std::ostream &operator<<(std::ostream &stream, const AbstractNode &node);
contact: Jan Huwald // Impressum