[vtk-developers] vtkBandedPolyDataContourFilter seems wrong, and also not compatable with vtkContourFilter

Bill Lorensen bill.lorensen at gmail.com
Fri Jan 15 10:57:52 EST 2010


Try the attached. It will not produce the exact output you see in
matlab because it uses a different algorithm.

Try it on you real data. I'll clean it up when I get a chance and post
it on the wiki

Bill

On Fri, Jan 15, 2010 at 12:36 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> I don't think there is a vtk filter that will do what you want.
> BandedPolyData uses a different algorithm than the contour filters.
>
> However, I think the same affect can be achieved with mulitple
> ClipPolyData's. I'll see if I can come up with an example to
> illustrate this.
>
> Maybe over the weeked,
>
> Bill
>
> On Thu, Jan 14, 2010 at 10:22 PM, Junjie Cao <jjcao1231 at gmail.com> wrote:
>> Dear Bill and vtk-developers,
>> Thanks for your reply. vtkQuad works better.
>> But in fact I've a bigger and smoother data and the output of
>> vtkBandedPolyDataContourFilter seems bad.
>> While I need the effect of Banded Contour not only some contour curves.
>> Is there some filter for this? Or Is there any development plan to correct
>> this?
>> Or I've to use discrete color to display the scalars on the grid directly?
>> Best wishes,
>> JJCAO
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filledcontours.tcl
Type: application/x-tcl
Size: 4504 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100115/924757d4/attachment-0001.tcl>


More information about the vtk-developers mailing list