[vtkusers] How to change the stiffness of line interpolation curve in vtkContourRepresentation?

Karthik Krishnan karthik.krishnan at kitware.com
Tue Feb 24 13:42:50 EST 2009


Its meant to be extensible.

You will need to subclass vtkContourLineInterpolator and add your spline
interpolation there.

Perhaps you can use the existing splines from the ImageTracerWidget and
rework it into a vtkContourLineInterpolator class.

--
karthik

On Tue, Feb 24, 2009 at 6:17 AM, Michael Knopke <Michael.Knopke at gmx.de>wrote:

>  Hello,
>
>
>
> I’d like to change the representation of a vtkContourWidget, especially the
> curvature of the line interpolation between the nodes.
>
> VtkContourRepresentation uses vtkBezierContourLineInterpolation as default.
> Is there an easy way to use splines instead ? (in order to change the
> stiffness for example)
>
> Regards,
>
>
>
> Michael
>
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>


-- 
Karthik Krishnan
R&D Engineer,
Kitware Inc.
Ph: 518 371 3971 x119
Fax: 518 371 3971
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090224/7ef44adf/attachment.htm>


More information about the vtkusers mailing list