[vtkusers] Bezier curves

Enzo Matsumiya enzo.matsumiya at gmail.com
Fri Aug 12 11:21:25 EDT 2016


Thanks David.

I just found out about vtkBezierContourLineInterpolator used as supplementary to vtkContourWidget.
Is there any way I can use those control points to manually draw a bezier curve using the vtkContourWidget?


Enzo


> On Aug 12, 2016, at 12:07, David Lonie <david.lonie at kitware.com> wrote:
> 
> On Fri, Aug 12, 2016 at 10:34 AM, Enzo Matsumiya
> <enzo.matsumiya at gmail.com> wrote:
>> 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.
>> 
>> vtkPath doesn't have any examples and googling it gives too many topics related to build/configuration (as in "VTKPATH").
>> 
>> Can anyone help me how to render them?
> 
> At this point, you cannot render them. They were added as an
> implementation detail of the vector graphics exporter for embedding
> pre-rendered text in PDF/SVG/etc. There hasn't been a need to directly
> render them yet, so there is unfortunately no support for this.
> 
> Dave

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160812/7da91087/attachment.html>


More information about the vtkusers mailing list