<table cellspacing='0' cellpadding='0' border='0' ><tr><td valign='top' style='font: inherit;'>Hi,<br> I'm using the vtkImageTracerWidget to manually select a particular region of a given 2D image. After selecting a region, I would like to create a filled/solid vtkPolyData that can be displayed over the image as an overlay image.<br><br> a) Currently, the traced points are the input of a vtkExtrusionFilter which creates the "skirt" and converts the points to vtkPolyData. However, when I displayed the resulting vtkPolyData using vtkPolyDataToImageStencil, the mask only contains the closed line/polygon the user selected. What do I need to do to create a filled/solid vtkPolyData from the selected/traced points? I tried using vtkDelaunay2D without any success.<br><br> b) Also, how can I get a list of all the points included inside the selected region? Currently, I'm using brute force and estimating the
points/pixels within the selected region by looping through the maximum bounding box of the selected region. I'm pretty sure there's a better way to do this. Any ideas?<br><br>Thanks for your help!<br>-W. John<br></td></tr></table><br>