summaryrefslogtreecommitdiff
path: root/src/projectionnode.h
blob: 295e48c33db8605b18ac15bc795b03700b624239 (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
#ifndef PROJECTIONNODE_H_
#define PROJECTIONNODE_H_

#include "node.h"
#include "visitor.h"

class ProjectionNode : public AbstractPolyNode
{
public:
	ProjectionNode(const ModuleInstantiation *mi) : AbstractPolyNode(mi) {
		cut_mode = false;
	}
  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 "projection"; }

	int convexity;
	bool cut_mode;
	virtual PolySet *render_polyset(render_mode_e mode, class PolySetRenderer *renderer) const;
};

#endif
contact: Jan Huwald // Impressum