[Smtk-developers] Exodus bridge and SMTK improvements
David Thompson
david.thompson at kitware.com
Thu Nov 20 20:21:32 EST 2014
Hi Yumin (et al.),
You should update SMTK if you update CMBv4 and vice-versa.
I've pushed some changes to SMTK and CMBv4 that improve the appearance of the association widget with the Hydra template. Now, only the groups of interest (i.e., Exodus blocks for volumetric attributes; side and/or node sets for boundary attributes) appear in the association widget. (See first screenshot.)
This makes some changes to how the XML reader and writer handle the "Associations" and "MembershipMask" attributes. Instead of parsing the value as a series of 1-letter codes assigned to different entity types, they are decomposed into tokens that are translated into bit values. Now any bit value in smtk/model/EntityTypeBits.h can be expressed in an association or membership mask. See the unitEntity test in SMTK and the Hydra template in CMBv4 for examples. Note that not every possible old-style bit-value is supported by the reader, but most common ones should be accepted (those ordered from lowest-dimension to highest-dimension or vice-versa).
The bottom 2 screenshots show how the Exodus bridge properly indicates the embedding dimension of the underlying dataset (2-d vs 3-d).
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/smtk-developers/attachments/20141120/b3141e94/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-11-20 at 8.18.04 PM.png
Type: image/png
Size: 122282 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/smtk-developers/attachments/20141120/b3141e94/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-11-20 at 8.13.54 PM.png
Type: image/png
Size: 42168 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/smtk-developers/attachments/20141120/b3141e94/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-11-20 at 8.12.05 PM.png
Type: image/png
Size: 58849 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/smtk-developers/attachments/20141120/b3141e94/attachment-0005.png>
More information about the Smtk-developers
mailing list