diff options
author | Marius Kintel <marius@kintel.net> | 2011-09-30 01:41:52 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-09-30 01:41:52 (GMT) |
commit | 9259d57659f61e9e56942bb36125f605f8f3c338 (patch) | |
tree | 7affbbd5f524887c715fc2ecc7e8a3aaacb55ac8 /src/rotateextrudenode.h | |
parent | 8c94c31dd2e5e85fc13d39fcd57b26df7afefe1e (diff) | |
parent | f3b3eaac687f0ba9a2a9b9382e7b605f106bf2b0 (diff) |
Merge branch 'master' into visitortests
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 |