Why dont u threshold b4 u use the Contourfilter and set the In Value to some particular scalar value. keeping Out Values to another , possible zero<BR><BR><B><I>Khew Sing Yoong <sykhew@simbiosys.ca></I></B> wrote: <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">sounds interesting, but i cannot replace that with vtkContourFilter. <BR>here is my pipe:<BR>vtkStructuredPoints -->vtkContourFilter --> vtkPolyDataMapper --> vtkActor<BR><BR>vtkBandedPolyDataContourFilter doesn't quite fit my pipeline in terms of <BR>input/output.<BR>i was previously using vtkMarchingCubes to convert the structured points <BR>to polydata but that filter had its own set of problems. it wasn't <BR>converting my scalars correctly, or at all for that matter.<BR><BR>any further suggestions? or how i could use the <BR>vtkBandedPolyDataContourFilter in my pipe?<BR><BR>thanks.<BR><BR>Amy Squillacote wrote:<BR><BR>> Maybe you're looking
for vtkBandedPolyDataContourFilter.<BR>><BR>> - Amy<BR>><BR>> At 01:24 PM 4/13/2006, Khew Sing Yoong wrote:<BR>><BR>>> hi,<BR>>><BR>>> i am trying to draw a (coloured) surface of a chemical molecule using <BR>>> vtkContourFilter.<BR>>> the surface is coloured by an explicit scalar array based on its <BR>>> interacting properties, which are then mapped via a lookup table to <BR>>> its appropriate colours.<BR>>><BR>>> the problem that i am facing is that vtkContourFilter does some <BR>>> interpolation of the surface, and similarly this interpolation is <BR>>> done to the (colour) scalars as well. in the context of chemistry, <BR>>> the "avarage" of 2 reactions does not mean a third, thus rendering my <BR>>> surface with some really funny colours (especially the in-betweens).<BR>>><BR>>> so my question is, is there a way to specify different interpolating <BR>>>
functions for scalars in the vtkContourFilter? or are there other <BR>>> filters out there that i may not be aware of?<BR>>><BR>>> any help will very much be appreciated. :)<BR>>><BR>>> thank you!<BR>>><BR>>> noob<BR>>> _______________________________________________<BR>>> This is the private VTK discussion list. Please keep messages <BR>>> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>>> Follow this link to subscribe/unsubscribe:<BR>>> http://www.vtk.org/mailman/listinfo/vtkusers<BR>><BR>><BR>><BR><BR>_______________________________________________<BR>This is the private VTK discussion list. <BR>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>Follow this link to subscribe/unsubscribe:<BR>http://www.vtk.org/mailman/listinfo/vtkusers<BR></BLOCKQUOTE><BR><p>
                <hr size=1>Love cheap thrills? Enjoy PC-to-Phone <a href="http://us.rd.yahoo.com/mail_us/taglines/postman9/*http://us.rd.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com/"> calls to 30+ countries</a> for just 2¢/min with Yahoo! Messenger with Voice.