<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks David.</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I just found out about vtkBezierContourLineInterpolator used as supplementary to vtkContourWidget.</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Is there any way I can use those control points to manually draw a bezier curve using the vtkContourWidget?</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Enzo</div><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Aug 12, 2016, at 12:07, David Lonie <<a href="mailto:david.lonie@kitware.com" class="">david.lonie@kitware.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On Fri, Aug 12, 2016 at 10:34 AM, Enzo Matsumiya<br class=""><<a href="mailto:enzo.matsumiya@gmail.com" class="">enzo.matsumiya@gmail.com</a>> wrote:<br class=""><blockquote type="cite" class="">I created a vtkPath representing a curve of consecutive bezier curves (adding control points as sequences of vtkPath::MOVE_TO and 3x vtkPath::CUBIC_CURVE), but I can’t figure out how to render the Bezier curves represented by these control points.<br class=""><br class="">vtkPath doesn't have any examples and googling it gives too many topics related to build/configuration (as in "VTKPATH").<br class=""><br class="">Can anyone help me how to render them?<br class=""></blockquote><br class="">At this point, you cannot render them. They were added as an<br class="">implementation detail of the vector graphics exporter for embedding<br class="">pre-rendered text in PDF/SVG/etc. There hasn't been a need to directly<br class="">render them yet, so there is unfortunately no support for this.<br class=""><br class="">Dave<br class=""></div></div></blockquote></div><br class=""></body></html>