Skip to content
Snippets Groups Projects

cleanup projection plot - still very confused

Merged Wuttke, Joachim requested to merge j.0 into main
17 files
+ 75
106
Compare changes
  • Side-by-side
  • Inline
Files
17
@@ -94,16 +94,14 @@ MasksSet* getMasksSet(const IDetector& detector)
}
else if (const auto* vline = dynamic_cast<const VerticalLine*>(shape)) {
auto* lineItem = new VerticalLineItem();
lineItem->setPos(vline->getXpos());
auto* lineItem = new VerticalLineItem(vline->getXpos());
lineItem->setMaskValue(mask_value);
// TODO: why prepend the mask, instead of appending it?
result->add_item(lineItem);
}
else if (const auto* hline = dynamic_cast<const HorizontalLine*>(shape)) {
auto* lineItem = new HorizontalLineItem();
lineItem->setPos(hline->getYpos());
auto* lineItem = new HorizontalLineItem(hline->getYpos());
lineItem->setMaskValue(mask_value);
// TODO: why prepend the mask, instead of appending it?
result->add_item(lineItem);
Loading