[vtkusers] vtkPLYWriter and polydata

cerina cerine-baratelli at hotmail.fr
Mon Sep 17 08:49:30 EDT 2012


David Doria-2-3 wrote
> 
> 
> Is that the whole file?
> 
> You should certainly have lines like:
> 
> find_package(VTK REQUIRED)
> include(${VTK_USE_FILE})
> 
> and then:
> 
> target_link_libraries(ParticleReader ${VTK_LIBRARIES})
> 
> (Every example on the wiki has an almost identical CMakeLists.txt, for
> example: http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ParticleReader )
> 
> David
> 

Thanks David. Your remarque resolved my problem of linking.
But I still have a problem with y selection.
Indeed, this code generate ply file. but when i open them with my proogram,
i don't see any thing in the window, as if i don't have a polydata defined
in the file.

I think that my selection didn't have nor points neither cells :o .
any help please to correct this problem.

Thaaaaaannnks again


------
cerina



--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkPLYWriter-and-polydata-tp5716117p5716127.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list