summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2010-07-08 22:49:10 (GMT)
committerMarius Kintel <marius@kintel.net>2010-10-31 00:42:37 (GMT)
commitb4d03c4d8f6d25faccad1e3e763deaa29d540be0 (patch)
tree78229f3578a7d9f6813a43927e503ff9b7323d62 /src/node.h
parentd887b4f6337118567f028a55f0c6b949d56f8bfc (diff)
doc
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/node.h b/src/node.h
index 083aa91..17ae72b 100644
--- a/src/node.h
+++ b/src/node.h
@@ -82,6 +82,9 @@ public:
RENDER_CGAL,
RENDER_OPENCSG
};
+ /*! Should return a PolySet of the given geometry. It's normal to return an
+ 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);
contact: Jan Huwald // Impressum