Lines Matching defs:lpe
18 #include "live_effects/lpe-knot.h"
411 if (i0 == gpaths.size() ) {THROW_EXCEPTION("lpe-knot error: group member not recognized");}// this should not happen...
634 LPEKnot* lpe = dynamic_cast<LPEKnot *>(_effect);
636 lpe->selectedCrossing = idx_of_nearest(lpe->crossing_points,p);
637 lpe->updateSwitcher();
645 LPEKnot const *lpe = dynamic_cast<LPEKnot const*>(_effect);
646 return lpe->switcher;
652 LPEKnot* lpe = dynamic_cast<LPEKnot *>(_effect);
653 unsigned s = lpe->selectedCrossing;
654 if (s < lpe->crossing_points.size()){
656 lpe->crossing_points[s].sign = 1;
658 int sign = lpe->crossing_points[s].sign;
659 lpe->crossing_points[s].sign = ((sign+2)%3)-1;
660 //std::cout<<"crossing set to"<<lpe->crossing_points[s].sign<<".\n";
662 lpe->crossing_points_vector.param_set_and_write_new_value(lpe->crossing_points.to_vector());
663 DocumentUndo::done(lpe->getSPDoc(), SP_VERB_DIALOG_LIVE_PATH_EFFECT, /// @todo Is this the right verb?