[vtkusers] Using vtkCutter to produce lines from a surface

Jeff Lee jlee1549 at gmail.com
Tue Mar 12 18:46:28 EDT 2013


I'm surprised that the input scalar data wasn't interpolated to the output.
 You could print out cutter->GetOutput()->GetCellData() and
cutter->GetOutput()->GetPointData() and see what arrays were interpolated.
 If the array is there it could be just a matter of setting the right
mapper flags - see vtkMapper::SetScalarModeToUseXXX()... and
vtkMapper::SelectColorArray
HTH


On Tue, Mar 12, 2013 at 5:18 PM, glennuggah <tobias at magnander.se> wrote:

> Thank you very much!
>
> It worked like a charm.
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Using-vtkCutter-to-produce-lines-from-a-surface-tp5719150p5719299.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130312/6dd44d91/attachment.htm>


More information about the vtkusers mailing list