20 const std::vector<const TYSIntersection*>& currentReflectingSegments,
21 const std::deque<OPoint3D>& currentImageSources)
23 if (!currentReflectingSegments.empty())
25 const OPoint3D& previousImageSource = currentImageSources.back();
26 const OSegment3D& previousSegment{currentReflectingSegments.back()->segInter[1]};
28 std::make_unique<VisibilityCone>(previousImageSource, previousSegment._ptA, previousSegment._ptB);
All base classes related to 3D manipulation.
Class to define a segment.
std::unique_ptr< VisibilityCone > _pVisibilityCone
void initialize(const std::vector< const TYSIntersection * > ¤tReflectingSegments, const std::deque< OPoint3D > ¤tImageSources) override
Inform the pruning strategy of the current reflecting segments tree state.
bool pruningCriterionMet(const TYSIntersection &nextReflectingSegment) const override
Check if the tree can be pruned before inserting the next reflecting segment.
Data structure for intersections.