[vtkusers] drawing isolines

Cory Quammen cquammen at cs.unc.edu
Wed May 12 07:17:02 EDT 2010


Rashed,

vtkContourFilter should be able to take a vtkPolyData as input and
produce isocontours as you desire, e.g.

vtkContourFilter *filter = vtContourFilter::New();
filter->SetInputConnection(polyDataSource->GetOutputPort());
filter->SetNumberOfContours(...);
filter->SetValue(0, ...);
...

Cory

On Wed, May 12, 2010 at 4:51 AM, rashedk <rashed.vtk at googlemail.com> wrote:
>
> Hi all,
>
> Is there a filter in VTK that can draw the iso-lines (or iso-contours) on
> polygonal data?
>
> I have included an image to give an example of the kind of iso-lines I am
> looking to draw.
>
> http://old.nabble.com/file/p28533455/isolines.gif
>
> Thanks,
> Rashed.
> --
> View this message in context: http://old.nabble.com/drawing-isolines-tp28533455p28533455.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
>



-- 
Cory Quammen
Center for Computer Integrated Systems for Microscopy and Manipulation (CISMM)
Department of Computer Science
University of North Carolina at Chapel Hill
http://www.cs.unc.edu/~cquammen



More information about the vtkusers mailing list