[vtkusers] Export several vtkActor in a file which will be read in Paraview ?

Ka Lo kalogr at gmail.com
Tue Nov 22 10:27:49 EST 2011


Hello,

I'm trying to write some code to export a set of vtkActor build in a
vtkRenderer to Paraview.
I think there is something I don't understand for export in a compatible
way to Paraview.

For example, I have 300 vtkActor, each vtkActor have a vtkMapper with an
input of vtkCubeSource type.
And all vtkActor are in the space with size, position, orientation...
I wish export my complete space (all vtkActor and theirs positions, size
and orientation) in a file then open this file in Paraview for visualise
all vtkActor in the space.

I found several classes for export to output VTK files but it's only for
one vtkActor. For example, ".vtu" file with vtkXMLUnstructuredGridWriter or
".vtp" file with vtkXMLPolyDataWriter...
I have no constraint with output file, only that the file must be read by
Paraview.

Thanks a lot.

Any help would be appreciated.

PS: sorry for my english, if you don't understand, I will try to rewrite
sentences.
--
Gregory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111122/bd69136f/attachment.htm>


More information about the vtkusers mailing list