blob: 8d7d1a8025454a6a38175ec8dd73657252b0872e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef POLYSETEVALUATOR_H_
#define POLYSETEVALUATOR_H_
#include "node.h"
#include "Tree.h"
#include "memory.h"
class PolySetEvaluator
{
public:
PolySetEvaluator(const Tree &tree) : tree(tree) {}
virtual ~PolySetEvaluator() {}
const Tree &getTree() const { return this->tree; }
virtual shared_ptr<PolySet> getPolySet(const class AbstractNode &, bool cache);
virtual PolySet *evaluatePolySet(const class ProjectionNode &) { return NULL; }
virtual PolySet *evaluatePolySet(const class LinearExtrudeNode &) { return NULL; }
virtual PolySet *evaluatePolySet(const class RotateExtrudeNode &) { return NULL; }
virtual PolySet *evaluatePolySet(const class CgaladvNode &) { return NULL; }
virtual PolySet *evaluatePolySet(const class RenderNode &) { return NULL; }
private:
const Tree &tree;
};
#endif
|