[Smtk-developers] Operator results with mesh changes
TJ Corona
tj.corona at kitware.com
Thu May 11 14:25:54 EDT 2017
Hi David,
Just curious: why do you want to store the collection’s URL in the operator result? A collection holds its read and write locations, and you are free to change the collection’s write location (I think you automatically do so when you write a collection to disk). If you wish to flag that a collection’s write location has been changed, I’m not sure what component would need to decode this information.
Sincerely,
T.J.
Thomas J. Corona, Ph.D.
Kitware, Inc.
Senior R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4443
> On May 11, 2017, at 1:04 PM, David Thompson <david.thompson at kitware.com> wrote:
>
> Hi TJ (et al.),
>
> As part of changing the "save smtk model" operator, mesh collections may be assigned a new URL on the server (e.g., a mesh is packaged with an SMTK file). Is there a way to store this information in the operator's result? If not, how would you go about it? I see smtk::attribute::MeshItem, but this is only for MeshSets, not MeshCollections. I could (hackishly) use smtk::attribute::StringItem and encode the collection's UUID and URL in separate values of the same item. Or, is there a better way?
>
>
> David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/smtk-developers/attachments/20170511/7c835906/attachment.html>
More information about the Smtk-developers
mailing list