Hi,

I am trying to generate a 2d raster image from paraview in order to
generate a texture for another program.

Ideally I would like to extract an image with a number of pixels in the x
and y direction that is in the same ratio as the x and y bounds.

For example. Say I have a dataset with bounds [0, 19m] and [-10m, 23m] and
i generate a 2D contour. I would like a raster image with [19 * s, 33 * s]
pixel dimensions, where s is a scale factor. This image should also be
perfectly fitted with the vtk dataset so that

x_min => x_pixel = 0
x_max => x_pixel = x_max * s
y_min => y_pixel = y_max * s
y_max => y_pixel = 0

Is this possible at all? I assume that involves using python and this is
not a problem.

Thanks for any advice
_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to