summaryrefslogtreecommitdiff
path: root/src/dxfrotextrudenode.h
blob: 33a9baed77009b501212b6169217f6e989c80d32 (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
#ifndef DXFROTEXTRUDENODE_H_
#define DXFROTEXTRUDENODE_H_

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

class DxfRotateExtrudeNode : public AbstractPolyNode
{
public:
	DxfRotateExtrudeNode(const ModuleInstantiation *mi) : AbstractPolyNode(mi) {
		convexity = 0;
		fn = fs = fa = 0;
		origin_x = origin_y = scale = 0;
	}
  virtual Response accept(const class State &state, Visitor &visitor) const {
		return visitor.visit(state, *this);
	}
	virtual std::string toString() const;

	int convexity;
	double fn, fs, fa;
	double origin_x, origin_y, scale;
	QString filename, layername;
	virtual PolySet *render_polyset(render_mode_e mode) const;
};

#endif
contact: Jan Huwald // Impressum