[vtkusers] Get vtkPolyData from vtkMapper in vtkActor using Java API
kent myers
dakota_63124 at yahoo.com
Sat May 9 14:48:58 EDT 2015
I am trying to export a vtkPolyData object to a vtp file using
vtkXMLPolyDataWriter. The online VTK documentation says to use the
writer.SetInput() method that takes a vtkPolyData object.
I am having some problems with this strategy:
1. I can get the vtkMapper object from my vtkActor, but the vtkMapper object
has no GetInput() method to retrieve a vtkPolyData object (or any other
method)
2. vtkXMLPolyDataWriter has no SetInput() method (or any other method) to
pass the vtkPolyData object even if I could get the vtkPolyData object.
Has anyone successfully exported vtkPolyData from a Java application? If so,
how?
--
View this message in context: http://vtk.1045678.n5.nabble.com/Get-vtkPolyData-from-vtkMapper-in-vtkActor-using-Java-API-tp5731859.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list