ken.martin at kitware.com
Tue Feb 27 16:01:55 EST 2018
You can use Set/GetPropertyKeys as
* Set/Get property keys. Property keys can be digest by some rendering
* For instance, the user may mark a prop as a shadow caster for a
* shadow mapping render pass. Keys are documented in render pass classes.
* Initial value is NULL.
virtual void SetPropertyKeys(vtkInformation *keys);
In that you can stuff whatever information objects you want. It is a bit
odd the first time you work with information objects but that is how we
currently do it.
On Tue, Feb 27, 2018 at 1:49 PM, Doug Hoppes <dhoppes at mbfbioscience.com>
> Hey all,
> Is there a way to store user-defined information in the
> vtkprop? In my program, I want to have an attribute that I need to store
> with the vtkprop.
> Powered by www.kitware.com
> Visit other Kitware open-source projects at http://www.kitware.com/
> Please keep messages on-topic and check the VTK FAQ at:
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
Ken Martin PhD
28 Corporate Drive
Clifton Park NY 12065
This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee. Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers