summaryrefslogtreecommitdiff
path: root/src/PolySetCGALEvaluator.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-09 03:53:05 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-09 03:53:05 (GMT)
commitcbba974d3ac1edeb716a1384a2262ed5447fa9e6 (patch)
tree30708ef085204435d644c4ab685b87556628d22a /src/PolySetCGALEvaluator.h
parent328897c1f28e0d438aa678891f8d5a45b114f267 (diff)
Initial attempt of cleaning up polyset handling. PolySet no longer keeps a refcount, basic cache mechanism is in place, instantiating polysets are controlled through PolySetEvaluator
Diffstat (limited to 'src/PolySetCGALEvaluator.h')
-rw-r--r--src/PolySetCGALEvaluator.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/PolySetCGALEvaluator.h b/src/PolySetCGALEvaluator.h
index f5b8665..2aa5b13 100644
--- a/src/PolySetCGALEvaluator.h
+++ b/src/PolySetCGALEvaluator.h
@@ -10,14 +10,13 @@
class PolySetCGALEvaluator : public PolySetEvaluator
{
public:
- PolySetCGALEvaluator(class CGALEvaluator &CGALEvaluator) :
- PolySetEvaluator(), cgalevaluator(CGALEvaluator) { }
+ PolySetCGALEvaluator(class CGALEvaluator &cgalevaluator);
virtual ~PolySetCGALEvaluator() { }
- virtual PolySet *evaluatePolySet(const ProjectionNode &node, AbstractPolyNode::render_mode_e);
- virtual PolySet *evaluatePolySet(const DxfLinearExtrudeNode &node, AbstractPolyNode::render_mode_e);
- virtual PolySet *evaluatePolySet(const DxfRotateExtrudeNode &node, AbstractPolyNode::render_mode_e);
- virtual PolySet *evaluatePolySet(const CgaladvNode &node, AbstractPolyNode::render_mode_e);
- virtual PolySet *evaluatePolySet(const RenderNode &node, AbstractPolyNode::render_mode_e);
+ virtual PolySet *evaluatePolySet(const ProjectionNode &node);
+ virtual PolySet *evaluatePolySet(const DxfLinearExtrudeNode &node);
+ virtual PolySet *evaluatePolySet(const DxfRotateExtrudeNode &node);
+ virtual PolySet *evaluatePolySet(const CgaladvNode &node);
+ virtual PolySet *evaluatePolySet(const RenderNode &node);
protected:
PolySet *extrudeDxfData(const DxfLinearExtrudeNode &node, class DxfData &dxf);
contact: Jan Huwald // Impressum