If you are considering a DICOM-type ROI with multiple contour segments 
(some of which are holes), you can draw this with a pg.PlotDataItem.
You can "chain" together segments of an ROI with holes by inserting a 
(numpy.inf,numpy.inf) point in between the segments, and setting the 
"connect" option to connect = 'finite'. 

On Tuesday, November 12, 2019 at 3:44:16 AM UTC-5, itay peled wrote:
>
> does someone have an idea how to create an ROI with hole/s (by 
> sub-classing ROI and implement some changes)?
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/944ee881-bdc9-4f5c-b618-da3be6dc3a89%40googlegroups.com.

Reply via email to