Thank you so much Sebastien.
The problem is fixed now and we are getting positioning right for the vtp files.
There are few more questions on rendering.
We want to save multiple vtp files into single .png file with certain dpi. How can we change the orientation of the renderer window and color of individual vtp file before converting it to png.
Kindly provide some tutorial link or code snippet for which we will be highly grateful to you.
On the renderer, you can get the active camera and adjust its position.
For color, it depend if it is a uniform one or a field. For uniform, you can set them on actor.getProperties().setColor(1.0, 0.0, 0.0)
After a search I find that writer = vtk.vtkPNGWriter() will generate png. But how to convert multiple vtp files into one png.
Could you please guide.
Thank you so much.