You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need a universal group operator across all types of sessions. This op will handle various grouping operations, such as create/delete group, modify group (add/remove entities). The group may have different constraints on its membership and its relationship with the entities. We have something in discrete (PR #149), but it is limited to the discrete modeling kernel. This new op should match closely with the smtk group capability. Here is some comment for that PR from @vibraphone
There are bits set aside in smtk/model/EntityTypeBits.h to mark groups as partitions or covers but there are no tests to enforce these rules — in part because there are no operators to construct the initial set of groups that form the partition or cover or manipulate the groups after their creation. Note that using groups this way requires 2 levels of groups: a toplevel group with the PARTITION or COVER bit set and child groups that collectively define the membership.
The 2-level groups are required so that partitions/covers do not have to encompass all entities in a model manager or session. Instead, operators should just verify that the membership of the toplevel group before and after a group operation is unchanged.
The text was updated successfully, but these errors were encountered:
a set of utilities for managing group membership in smtkCore
a per-session group operator that establishes a convention for mapping this functionality to the modeling kernel's abilities. Different kernels have different rules for what can be in a group and how groups relate to each other. Some of these kernels may need to use tricks in order to serialize/deserialize information about groups that are partitions or members of partitions.
We need a universal group operator across all types of sessions. This op will handle various grouping operations, such as create/delete group, modify group (add/remove entities). The group may have different constraints on its membership and its relationship with the entities. We have something in discrete (PR #149), but it is limited to the discrete modeling kernel. This new op should match closely with the smtk group capability. Here is some comment for that PR from @vibraphone
The text was updated successfully, but these errors were encountered: