[vtkusers] Identifying named objects imported with vtkOBJReader
Orhun Birsoy
orhunbirsoy at gmail.com
Thu Dec 22 19:06:57 EST 2011
Hi,
I have imported an obj file to vtk using vtkObjReader. This obj file has
several named meshes like
[obj file]
o OFrontTopLeftCorner_MFrontTopLeftCorner
v -0.500000 0.500000 0.500000
...
[/obj file].
After importing this to vtk, I would like to get which named obj user
clicked (preferably its corresponding name in the obj file).
Using vtkCellPicker::GetCellId, I have the cellid. Now, how can I get which
named obj user clicked?
I can use some other format that vtk supports (source mesh is in blender).
Thanks.
Note: I am using vtk 5.8.0.
--
Orhun Birsoy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111222/d968426f/attachment.htm>
More information about the vtkusers
mailing list