summaryrefslogtreecommitdiff
path: root/src/projectionnode.h
blob: 3646d84e57e45c1f979eb34cc3a759b93460a672 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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;

	int convexity;
	bool cut_mode;
	virtual PolySet *render_polyset(render_mode_e mode) const;
};

#endif
contact: Jan Huwald // Impressum