blob: 7e71d456ee7432d4c915d480c5f74dc4c6444399 (
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
29
30
31
32
33
34
|
#ifndef IMPORTNODE_H_
#define IMPORTNODE_H_
#include "node.h"
#include "visitor.h"
enum import_type_e {
TYPE_STL,
TYPE_OFF,
TYPE_DXF
};
class ImportNode : public AbstractPolyNode
{
public:
ImportNode(const ModuleInstantiation *mi, import_type_e type) : AbstractPolyNode(mi), type(type) { }
virtual Response accept(const class State &state, Visitor &visitor) const {
return visitor.visit(state, *this);
}
virtual std::string toString() const;
import_type_e type;
QString filename;
QString layername;
int convexity;
double fn, fs, fa;
double origin_x, origin_y, scale;
virtual PolySet *render_polyset(render_mode_e mode) const;
#ifndef REMOVE_DUMP
virtual QString dump(QString indent) const;
#endif
};
#endif
|