<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt"><div style="font-family: 'times new roman', 'new york', times, serif; ">Hello all,</div><div style="font-family: 'times new roman', 'new york', times, serif; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; ">I want to make the entire contour (formed by all points and corresponding lines) scalable. How is this possible?</div><div style="font-family: 'times new roman', 'new york', times, serif; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; ">It is possible to apply vtkAffineWidget on the contour generated by vtkContourWidget? I have tried by my contour need to be an actor.</div><div style="font-family: 'times new roman', 'new york', times, serif; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; ">Basically, there is the code for
 creating the desired contour:</div><div style="font-family: 'times new roman', 'new york', times, serif; "><br></div><div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: 13px; color: rgb(91, 91, 91);">vtkContourWidget *ContourWidget = vtkContourWidget::New();</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: small; color: rgb(91, 91, 91);"><br></span></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: small; color: rgb(91, 91, 91);">&nbsp; vtkOrientedGlyphContourRepresentation *rep = vtkOrientedGlyphContourRepresentation::New();&nbsp;</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: small; color: rgb(91, 91, 91);">&nbsp; rep-&gt;GetLinesProperty()-&gt;SetColor(1, 0, 0);</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: small;
 color: rgb(91, 91, 91);">&nbsp; ContourWidget-&gt;SetRepresentation(rep);</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: small; color: rgb(91, 91, 91);">&nbsp;&nbsp;</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: small; color: rgb(91, 91, 91);">&nbsp; vtkImageActorPointPlacer * imageActorPointPlacer = vtkImageActorPointPlacer::New();&nbsp;</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: small; color: rgb(91, 91, 91);">&nbsp; imageActorPointPlacer-&gt;SetImageActor(ImageViewer-&gt;GetImageActor());&nbsp;</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: small; color: rgb(91, 91, 91);">&nbsp; rep-&gt;SetPointPlacer(imageActorPointPlacer);&nbsp;</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: small; color:
 rgb(91, 91, 91);"><br></span></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: small; color: rgb(91, 91, 91);">&nbsp; imageActorPointPlacer-&gt;Delete();&nbsp;</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: small; color: rgb(91, 91, 91);">&nbsp; rep-&gt;Delete();&nbsp;</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: small; color: rgb(91, 91, 91);"><br></span></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: small; color: rgb(91, 91, 91);">&nbsp; ContourWidget-&gt;SetInteractor(iren);&nbsp;</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: small; color: rgb(91, 91, 91);">&nbsp; ContourWidget-&gt;SetEnabled(true);&nbsp;</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size:
 13px; color: rgb(91, 91, 91); ">&nbsp; ContourWidget-&gt;ProcessEventsOn();</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: 13px; color: rgb(91, 91, 91); "><br></span></div><div>How can I make it a scalable surface?</div><div><br></div><div>Thank you!</div><div><br></div><div>Dora Szasz</div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: 13px; color: rgb(91, 91, 91); "><br></span></div></div></div></body></html>