diff options
Diffstat (limited to 'src/rotateextrudenode.h')
-rw-r--r-- | src/rotateextrudenode.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/rotateextrudenode.h b/src/rotateextrudenode.h new file mode 100644 index 0000000..613d44b --- /dev/null +++ b/src/rotateextrudenode.h @@ -0,0 +1,28 @@ +#ifndef ROTATEEXTRUDENODE_H_ +#define ROTATEEXTRUDENODE_H_ + +#include "node.h" +#include "visitor.h" + +class RotateExtrudeNode : public AbstractPolyNode +{ +public: + RotateExtrudeNode(const ModuleInstantiation *mi) : AbstractPolyNode(mi) { + convexity = 0; + fn = fs = fa = 0; + origin_x = origin_y = scale = 0; + } + 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 "rotate_extrude"; } + + int convexity; + double fn, fs, fa; + double origin_x, origin_y, scale; + std::string filename, layername; + virtual PolySet *evaluate_polyset(class PolySetEvaluator *) const; +}; + +#endif |