[vtkusers] panoramic view

Bill Lorensen bill.lorensen at gmail.com
Thu Jun 10 07:57:13 EDT 2010


I did this a few years back...

If I recall, you should be able to create an Image and set the scalars
of the image to the scalars of the probed surface. The dimension of
the image must match the number of points on the ruled surface. This
assumes the ruled surface generates its points in a consistent way.
When I did it I used an in-house ruled surface generator,

I'll see if I can find the code I used. It was a long time ago...

Bill

On Thu, Jun 10, 2010 at 7:51 AM, l.a.pereira <l.a.pereira at uol.com.br> wrote:
> Thanks sercani,
>
> I forgot to mention one detail. The result of the output class
> vtkprobefilter is a curve x, y, z. I need to turn this curve  a plane x, y
> (panoramic view). Can I do this also using vtkimagestencil?
>
> Thanks,
>
> Luis
>
> ________________________________
>
> Em 10/06/2010 04:50, sercani < sercanimailgroups at gmail.com > escreveu:
>
> Hi Luis,
> I think if you use vtkPolyDataToImageStencil and vtkImageStencil, it would
> be easier...
>
>
> 09.06.2010 16:55, l.a.pereira yazmış:
>
> Hi vtkusers,
>
> I used a spline curve with vtkruledsurface and vtkprobefilter in a volume to
> get a image with which I need to create a panoramic view. It worked,
> probefilter returns all points according to the spline curve generated by
> ruledsurface. Now I need create  vtkimagedata and adds it to a vtkimageactor
> to render the image.
>
> could someone give me a simple example of code to transform the probefilter
> resulting in 2D vtkimagedata and then in a vtkimageactor?
>
>
> Thank you,
>
> Luis Alberto
>
> _______________________________________________
> 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
>
>
>
> _______________________________________________
> 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
>
>



More information about the vtkusers mailing list