diff options
author | Marius Kintel <marius@kintel.net> | 2011-09-30 01:11:28 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-09-30 01:11:28 (GMT) |
commit | bf3fb9634c44bcd28a4e2faede72052daa1f966c (patch) | |
tree | 50096d172fa5aa4df69dec7e0f34372e4dd441f5 /src/rotateextrudenode.h | |
parent | ff915961b6fac11c535742857b5923514ce18e09 (diff) |
Renamed some files and classnames for clarification
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 |