51 using BaseClass::children;
76 void setZeroBefore(std::size_t index);
84 setZeroBefore(this->getChildIndex(
object, path));
93 setZeroBefore(this->getChildIndex(
object, path));
101 void alignZeroOn(std::size_t index,
double pos = 0.);
110 alignZeroOn(this->getChildIndex(
object, path), pos);
120 alignZeroOn(this->getChildIndex(
object, path), pos);
123 std::size_t getInsertionIndexForHeight(
double height)
const;
134 return getChildForHeight(height,
to_ignore);
137 bool contains(
const DVec& p)
const override;
143 bool removeIfTUnsafe(
const std::function<
bool(
const shared_ptr<TranslationT>& c)>& predicate)
override;
145 void removeAtUnsafe(std::size_t index)
override;
155 return stackHeights.back() - stackHeights.front();
206 void updateAllHeights();
420 PathHints::Hint insertUnsafe(
const shared_ptr<ChildType>& el,
const std::size_t pos,
const ChildAligner&
aligner);
423 return insertUnsafe(el, pos, default_aligner);
435 if (el) this->ensureCanHaveAsChild(*el);
436 return insertUnsafe(el, pos,
aligner);
440 return insert(el, pos, default_aligner);
453 return addUnsafe(el, default_aligner);
464 if (el) this->ensureCanHaveAsChild(*el);
469 return add(el, default_aligner);
484 return push_back(el, default_aligner);
495 if (el) this->ensureCanHaveAsChild(*el);
496 return insertUnsafe(el, 0,
aligner);
500 return push_front(el, default_aligner);
504 this->ensureIsValidChildNr(
child_no,
"getAlignerAt");
521 bool removeIfTUnsafe(
const std::function<
bool(
const shared_ptr<TranslationT>& c)>& predicate)
override;
523 void removeAtUnsafe(std::size_t index)
override;
552 static const int DIM = UpperClass::DIM;
563 using UpperClass::getChildForHeight;
564 using UpperClass::stackHeights;
565 using UpperClass::children;
571 typedef typename UpperClass::DVec
DVec;
574 typedef typename UpperClass::Box
Box;
596 bool reduceHeight(
double& height)
const;
622 Box getBoundingBox()
const override;
624 Box getRealBoundingBox()
const override;
638 bool contains(
const DVec& p)
const override;
646 std::size_t getRealChildrenCount()
const override;
655 this->fireChildrenChanged();
662 void addPointsAlongToSet(std::set<double>& points,
665 double min_step_size)
const override;
669 double min_step_size)
const override;