[vtkusers] vtkContourFilter interpolation settings?

Khew Sing Yoong sykhew at simbiosys.ca
Thu Apr 13 13:43:43 EDT 2006


sounds interesting, but i cannot replace that with vtkContourFilter. 
here is my pipe:
vtkStructuredPoints -->vtkContourFilter --> vtkPolyDataMapper --> vtkActor

vtkBandedPolyDataContourFilter doesn't quite fit my pipeline in terms of 
input/output.
i was previously using vtkMarchingCubes to convert the structured points 
to polydata but that filter had its own set of problems. it wasn't 
converting my scalars correctly, or at all for that matter.

any further suggestions? or how i could use the 
vtkBandedPolyDataContourFilter in my pipe?

thanks.

Amy Squillacote wrote:

> Maybe you're looking for vtkBandedPolyDataContourFilter.
>
> - Amy
>
> At 01:24 PM 4/13/2006, Khew Sing Yoong wrote:
>
>> hi,
>>
>> i am trying to draw a (coloured) surface of a chemical molecule using 
>> vtkContourFilter.
>> the surface is coloured by an explicit scalar array based on its 
>> interacting properties, which are then mapped via a lookup table to 
>> its appropriate colours.
>>
>> the problem that i am facing is that vtkContourFilter does some 
>> interpolation of the surface, and similarly this interpolation is 
>> done to the (colour) scalars as well. in the context of chemistry, 
>> the "avarage" of 2 reactions does not mean a third, thus rendering my 
>> surface with some really funny colours (especially the in-betweens).
>>
>> so my question is, is there a way to specify different interpolating 
>> functions for scalars in the vtkContourFilter? or are there other 
>> filters out there that i may not be aware of?
>>
>> any help will very much be appreciated. :)
>>
>> thank you!
>>
>> noob
>> _______________________________________________
>> This is the private VTK discussion list. Please keep messages 
>> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>




More information about the vtkusers mailing list