[vtkusers] Example of setting up global ids and retrieving selection in globalid?
Bill Lorensen
bill.lorensen at gmail.com
Tue Feb 20 22:35:55 EST 2018
What do you mean by objects? You can store information as FieldData
that you can retrieve.
On Tue, Feb 20, 2018 at 7:21 PM, Jesse Kinross-Smith
<Jesse.Kinross-Smith at bentley.com> wrote:
> Hi all,
>
>
>
> I’m pretty new to VTK, got some model rendering going on trying to get
> selection from the picker that gives us something meaningful.
>
> All of our objects have internal IDs and we want to store that somehow – and
> (correct me if I’m wrong here) – I understand the best way to do this is to
> use global ids and set our own id for each object we add to the renderer,
> then get that back from the picker.
>
>
>
> I’ve been struggling to get this to work though – so really wondering if
> anyone has an example they can point me to or code snippets of the key parts
> so I can get this working.
>
>
>
> I’ve read through a number of posts on here from the past where GlobalIds
> have been mentioned – but never seen any snippets or examples.
>
>
>
> Regards,
>
>
>
> Jesse
>
> --
>
> Jesse Kinross-Smith
>
> Senior Software Engineer - BSW
>
> Bentley Systems, Fremantle
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
>
--
Unpaid intern in BillsParadise at noware dot com
More information about the vtkusers
mailing list