[vtkusers] polydata - color

Malcolm Drummond malcolm at geovision.co.za
Mon Oct 6 03:45:40 EDT 2003


Hi Lucas

After the elevation filter, run the polydata through a transform filter,
scaling Z by 0. Then you can use the vtkShepardMethod filter which outputs
structured points to get your image.

Malcolm

----- Original Message -----
From: "Lucas Lorenzo" <catulorenzo at hotmail.com>
To: <malcolm at geovision.co.za>; <vtkusers at vtk.org>
Sent: Monday, October 06, 2003 2:20 AM
Subject: Re: [vtkusers] polydata - color


> Thanks Malcolm,
>
> actually I've already tried it and as a result my geometry is rendered as
a
> height field with color overimposed.
> What I'd like to do id to get a completely planar colored image (I am
using
> a Delaunay2D but even though it performs the triangulation in 2D it keeps
> the z coordinate).
>
> Lucas
>
> >From: "Malcolm Drummond" <malcolm at geovision.co.za>
> >To: "vtkusers" <vtkusers at vtk.org>
> >Subject: Re: [vtkusers] polydata - color
> >Date: Mon, 6 Oct 2003 02:00:34 +0200
> >
> >Try vtkElevationFilter
> >
> >HTH
> >Malcolm
> >
> >----- Original Message -----
> >From: "Lucas Lorenzo" <catulorenzo at hotmail.com>
> >To: <vtkusers at vtk.org>
> >Sent: Monday, October 06, 2003 1:13 AM
> >Subject: [vtkusers] polydata - color
> >
> >
> > > Hi,
> > >
> > > I have a polydata dataset with just vertices. I'd like to render it as
a
> >2D
> > > image and the 3rd coordinate as color. Does anyone know how to do this
?
> > > Thanks,
> > >
> > > Lucas
> > >
> > > _________________________________________________________________
> > > Charla con tus amigos en línea mediante MSN Messenger:
> > > http://messenger.yupimsn.com/
> > >
> > > _______________________________________________
> > > This is the private VTK discussion list.
> > > Please keep messages on-topic. Check the FAQ at:
> ><http://public.kitware.com/cgi-bin/vtkfaq>
> > > Follow this link to subscribe/unsubscribe:
> > > http://www.vtk.org/mailman/listinfo/vtkusers
> > >
> >
> >_______________________________________________
> >This is the private VTK discussion list.
> >Please keep messages on-topic. Check the FAQ at:
> ><http://public.kitware.com/cgi-bin/vtkfaq>
> >Follow this link to subscribe/unsubscribe:
> >http://www.vtk.org/mailman/listinfo/vtkusers
>
> _________________________________________________________________
> ¿Estás buscando un auto nuevo?  http://www.yupimsn.com/autos/
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>




More information about the vtkusers mailing list