summaryrefslogtreecommitdiff
path: root/src/rendernode.h
blob: 9e49baf259c75dfe6928fac065b0bfc6a638b023 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef RENDERNODE_H_
#define RENDERNODE_H_

#include "node.h"
#include "visitor.h"
#include <string>

class RenderNode : public AbstractNode
{
public:
	RenderNode(const ModuleInstantiation *mi) : AbstractNode(mi), convexity(1) { }
  virtual Response accept(class State &state, Visitor &visitor) const {
		return visitor.visit(state, *this);
	}
	virtual std::string toString() const;
	virtual std::string name() const { return "render"; }
	PolySet *evaluate_polyset(class PolySetEvaluator *ps) const;

	int convexity;
};

#endif
contact: Jan Huwald // Impressum