Commit fde57c55 authored by Haocheng LIU's avatar Haocheng LIU

BUG: Reword Group, Add Auxiliary and Add Image operator

parent 9343d6f6
......@@ -26,16 +26,16 @@
The operation determines which action to take on the group: create it, modify its membership, or remove it.
</DetailedDescription>
<ChildrenDefinitions>
<ModelEntity Name="modify cell group" NumberOfRequiredValues="1">
<ModelEntity Name="modify cell group" Label="modify entity group" NumberOfRequiredValues="1">
<MembershipMask>group</MembershipMask>
</ModelEntity>
<ModelEntity Name="remove cell group" Extensible="1" NumberOfRequiredValues="0">
<ModelEntity Name="remove cell group" Label="remove entity group" Extensible="1" NumberOfRequiredValues="0">
<MembershipMask>group</MembershipMask>
</ModelEntity>
<ModelEntity Name="cell to add" NumberOfRequiredValues="0" Extensible="1">
<ModelEntity Name="cell to add" Label="entity to add" NumberOfRequiredValues="0" Extensible="1">
<MembershipMask>volume|face|edge</MembershipMask>
</ModelEntity>
<ModelEntity Name="cell to remove" NumberOfRequiredValues="0" Extensible="1">
<ModelEntity Name="cell to remove" Label="entity to remove" NumberOfRequiredValues="0" Extensible="1">
<MembershipMask>volume|face|edge</MembershipMask>
</ModelEntity>
<Int Name="group type" Label="Group Type:" Version="0" NumberOfRequiredValues="1">
......
......@@ -546,6 +546,7 @@ std::vector<double> EntityRef::boundingBox() const
bBox = this->unionBoundingBox(bBox, currentBBox);
return bBox;
}
return dummy;
}
else
{
......
......@@ -4,7 +4,8 @@
<Definitions>
<!-- Operator -->
<AttDef Type="add auxiliary geometry" BaseType="operator" Label="Model - Add Auxiliary Geometry">
<AssociationsDef Name="entities" NumberOfRequiredValues="1">
<!-- In the future Label shoud be removed when SMTK supports compound auxiliary geometry -->
<AssociationsDef Name="entities" Label="model" NumberOfRequiredValues="1">
<MembershipMask>model</MembershipMask>
</AssociationsDef>
<BriefDescription>
......
......@@ -4,7 +4,8 @@
<Definitions>
<!-- Operator -->
<AttDef Type="add image" BaseType="operator" Label="Model - Add Image">
<AssociationsDef Name="entities" NumberOfRequiredValues="1">
<!-- In the future Label shoud be removed when SMTK supports compound auxiliary geometry -->
<AssociationsDef Name="entities" Label="model" NumberOfRequiredValues="1">
<MembershipMask>model</MembershipMask>
</AssociationsDef>
<BriefDescription>
......
......@@ -24,16 +24,16 @@
The operation determines which action to take on the group: create it, modify its membership, or remove it.
</DetailedDescription>
<ChildrenDefinitions>
<ModelEntity Name="modify cell group" NumberOfRequiredValues="1">
<ModelEntity Name="modify cell group" Label="modify entity group" NumberOfRequiredValues="1">
<MembershipMask>group</MembershipMask>
</ModelEntity>
<ModelEntity Name="remove cell group" Extensible="1" NumberOfRequiredValues="0">
<ModelEntity Name="remove cell group" Label="remove entity group" Extensible="1" NumberOfRequiredValues="0">
<MembershipMask>group</MembershipMask>
</ModelEntity>
<ModelEntity Name="cell to add" NumberOfRequiredValues="0" Extensible="1">
<ModelEntity Name="cell to add" Label="entity to add" NumberOfRequiredValues="0" Extensible="1">
<MembershipMask>volume|face|edge</MembershipMask>
</ModelEntity>
<ModelEntity Name="cell to remove" NumberOfRequiredValues="0" Extensible="1">
<ModelEntity Name="cell to remove" Label="entity to remove" NumberOfRequiredValues="0" Extensible="1">
<MembershipMask>volume|face|edge</MembershipMask>
</ModelEntity>
<Void Name="Vertex" Label="Vertex" Version="0" NumberOfRequiredValues="1" Optional="true" AdvanceLevel = "1" Option = "true" IsEnabledByDefault = "true">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment