I’ve identified an unexpected behavior in frustum-selection, and wanted to ask whether others think it’s a bug or a feature.
We’re using a small 9x9 pixel frustum around the mouse click to select all poly-lines near the mouse. I’ve found that if a poly-line encloses the frustum but doesn’t intersect it, the poly-line is still identified as selected. Specifically,
FRUSTUM mode will use
vtkFrustumSelector, and that class extracts a list of edges from the polyline, but then calls
ComputeCellsInFrustumFunctor::FrustumClipPolygon just like it would if the edges came from a polygon instead of a poly-line.
If we make sure the line is inside the frustum to mark it selected, it will change the behavior of frustum selection with poly-lines, but can anyone see a drawback to that?