# Design

**URL:** https://discourse.kitware.com/c/smtk/design/12.md?page=1

[Latest](https://discourse.kitware.com/latest.md) · [Categories](https://discourse.kitware.com/categories.md)

**Page:** 2

---

## [The Curious Incident of the Operation Result In the Main Thread](https://discourse.kitware.com/t/the-curious-incident-of-the-operation-result-in-the-main-thread/835)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [May 8, 2022, 6:11am UTC](https://discourse.kitware.com/t/the-curious-incident-of-the-operation-result-in-the-main-thread/835 "2022-05-08T06:11:08Z")

</div>

aevaCMB currently exhibits some counter-intuitive behavior due to a quirk of SMTK: visual representations of primitive-selections (individual points/cells, not SMTK components) sometimes persist in the 3-D view even afte…

---

## [Providing the Ability to Override Advance Level in UI](https://discourse.kitware.com/t/providing-the-ability-to-override-advance-level-in-ui/822)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 3\
**Last updated:** [April 13, 2022, 5:07pm UTC](https://discourse.kitware.com/t/providing-the-ability-to-override-advance-level-in-ui/822 "2022-04-13T17:07:03Z")

</div>

There has been a request to allow a workflow to explicitly set the advance level of a View independently of the main Advance Level Control in the top-level View. This override advance level would then propagate down to …

---

## [Subphrase generators for graph resources](https://discourse.kitware.com/t/subphrase-generators-for-graph-resources/681)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 1\
**Last updated:** [March 19, 2022, 9:04pm UTC](https://discourse.kitware.com/t/subphrase-generators-for-graph-resources/681 "2022-03-19T21:04:59Z")

</div>

Problem statement SMTK’s descriptive phrase view provides a tree that shows resources and/or components in a hierarchy. The top-level entries are generally specified as a filter to select persistent objects from a resour…

---

## [Implementing Hierarchical Visibility](https://discourse.kitware.com/t/implementing-hierarchical-visibility/800)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 1\
**Last updated:** [February 21, 2022, 8:39pm UTC](https://discourse.kitware.com/t/implementing-hierarchical-visibility/800 "2022-02-21T20:39:19Z")

</div>

The goal is to add a new visibility badge that indicates the visibility of a Descriptive Phrase’s children which will be referred to Hierarchical Visibility (HV). This badge would be in addition to the badge that control…

---

## [SMTK has new operation panels for ParaView](https://discourse.kitware.com/t/smtk-has-new-operation-panels-for-paraview/798)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [February 21, 2022, 5:22pm UTC](https://discourse.kitware.com/t/smtk-has-new-operation-panels-for-paraview/798 "2022-02-21T17:22:02Z")

</div>

SMTK’s existing operation panel (pqSMTKOperationPanel) is deprecated and may be removed in a future version of SMTK. Two new panels have been added: pqSMTKOperationToolboxPanel – for choosing operations to edit/run p…

---

## [Graph resources where arcs have inverses](https://discourse.kitware.com/t/graph-resources-where-arcs-have-inverses/760)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 5\
**Last updated:** [February 14, 2022, 8:31pm UTC](https://discourse.kitware.com/t/graph-resources-where-arcs-have-inverses/760 "2022-02-14T20:31:11Z")

</div>

Problem Statement More often than not, when a node M in a graph resource is connected to another node N with an arc of some type T, there is also a reverse connection from N to M with an arc of type U. Thus, arc types T …

---

## [Controlling Category Inheritance w/r Definitions](https://discourse.kitware.com/t/controlling-category-inheritance-w-r-definitions/773)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 1\
**Last updated:** [February 8, 2022, 7:57pm UTC](https://discourse.kitware.com/t/controlling-category-inheritance-w-r-definitions/773 "2022-02-08T19:57:00Z")

</div>

Currently in SMTK’s Attribute System a Definition gets its categories from the following sources: Locally defined Category Set Category Sets inherited from its Item Definitions Category Sets inherited from the Definit…

---

## [Proposal: Application-specific panel configurations](https://discourse.kitware.com/t/proposal-application-specific-panel-configurations/758)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 2\
**Last updated:** [January 19, 2022, 4:08am UTC](https://discourse.kitware.com/t/proposal-application-specific-panel-configurations/758 "2022-01-19T04:08:45Z")

</div>

Problem statement Currently ParaView-based SMTK applications have the opportunity to change the initial layout of panel positions, but not which set of panels are available. As applications are becoming more tailored to …

---

## [Supporting Resource Properties in Attribute XML Files](https://discourse.kitware.com/t/supporting-resource-properties-in-attribute-xml-files/752)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 2\
**Last updated:** [January 5, 2022, 7:47pm UTC](https://discourse.kitware.com/t/supporting-resource-properties-in-attribute-xml-files/752 "2022-01-05T19:47:07Z")

</div>

Currently there is no Property support in SMTK Attribute XML Reader. This topic presents a design on support Properties in the SBT XML Format. Note that this is only for reading XML. The XML writers are not being modi…

---

## [Changing ReferenceItem:appendValue Default Behavior](https://discourse.kitware.com/t/changing-referenceitem-appendvalue-default-behavior/736)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 2\
**Last updated:** [November 22, 2021, 4:59pm UTC](https://discourse.kitware.com/t/changing-referenceitem-appendvalue-default-behavior/736 "2021-11-22T16:59:02Z")

</div>

When ReferenceItem::appendValue was originally implemented, it would do an append unique which resulted in N-squared behavior. Later we added an optional parameter to allow duplicates which would do a normal append. Th…

---

## [Views, Tasks, and Projects](https://discourse.kitware.com/t/views-tasks-and-projects/735)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 2\
**Last updated:** [November 11, 2021, 3:35pm UTC](https://discourse.kitware.com/t/views-tasks-and-projects/735 "2021-11-11T15:35:53Z")

</div>

In the current design we have the following: View Configurations are stored in an Attribute Resource Task Specifications are to be stored within a Project A Task can have a set of “Styles” associated with it. Styles ca…

---

## [Un-overload \`smtk::resource::Resource::find()\`](https://discourse.kitware.com/t/un-overload-smtk-find/730)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [October 30, 2021, 10:39pm UTC](https://discourse.kitware.com/t/un-overload-smtk-find/730 "2021-10-30T22:39:52Z")

</div>

Problem statement There are currently 2 signatures for finding components in a resource: class Resource { public: std::shared\_ptr\<Component\> find(const smtk::common::UUID& id); std::set\<std::shared\_ptr\<Component\>…

---

## [SMTK's ParaView plugins](https://discourse.kitware.com/t/smtks-paraview-plugins/728)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [October 21, 2021, 2:41am UTC](https://discourse.kitware.com/t/smtks-paraview-plugins/728 "2021-10-21T02:41:19Z")

</div>

Until ParaView MR 5283, plugins that want functions invoked upon load were required to use the pqAutoStartInterface which (as you can infer from the class name) requires Qt. Recently, Paraview got more careful about load…

---

## [Replacing Instanced Views](https://discourse.kitware.com/t/replacing-instanced-views/724)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 2\
**Last updated:** [October 18, 2021, 1:43pm UTC](https://discourse.kitware.com/t/replacing-instanced-views/724 "2021-10-18T13:43:01Z")

</div>

One of the first Views that was created was the Instanced View which allowed the designer to specify a list of Attributes to be displayed. If the specified Attribute did not exist at the time the View was displayed, it …

---

## [Assigning Properties When Setting qtReferenceItems](https://discourse.kitware.com/t/assigning-properties-when-setting-qtreferenceitems/723)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 2\
**Last updated:** [October 15, 2021, 6:50am UTC](https://discourse.kitware.com/t/assigning-properties-when-setting-qtreferenceitems/723 "2021-10-15T06:50:33Z")

</div>

We are beginning to see use cases where the designer would like the act of assigning a SMTK Persistent Object to a Reference Item to also attach a Property to the Persistent Object as well. For example say you have a Re…

---

## [Tree-Based Attribute Task View](https://discourse.kitware.com/t/tree-based-attribute-task-view/720)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 3\
**Last updated:** [October 13, 2021, 1:57pm UTC](https://discourse.kitware.com/t/tree-based-attribute-task-view/720 "2021-10-13T13:57:39Z")

</div>

This is a discussion of a new way of creating/editing Attribute Information. Current Functionality Currently, the designer creates an UI based on a set of Views. These Views are then displayed starting with the “Top Le…

---

## [Comparison UI for Attributes](https://discourse.kitware.com/t/comparison-ui-for-attributes/721)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 1\
**Last updated:** [October 5, 2021, 10:57pm UTC](https://discourse.kitware.com/t/comparison-ui-for-attributes/721 "2021-10-05T22:57:59Z")

</div>

There are times when the user needs to compare aspects of the simulation pre-processing information. For example, there maybe a set of model faces that user would like to know what mesh refinement sizes have been associ…

---

## [Extending SMTK Resource Query Syntax](https://discourse.kitware.com/t/extending-smtk-resource-query-syntax/331)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 16\
**Last updated:** [September 13, 2021, 4:32pm UTC](https://discourse.kitware.com/t/extending-smtk-resource-query-syntax/331 "2021-09-13T16:32:08Z")

</div>

Extending SMTK’s Query Mechanism Current Formats: Model Syntax Attribute Syntax - attribute\[type =‘foo’\] So examples used in an association rule could look like: \<Resource Name="smtk::attribute::Resource" Filter="at…

---

## [Adding the Concept of Tasks to SMTK](https://discourse.kitware.com/t/adding-the-concept-of-tasks-to-smtk/643)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 17\
**Last updated:** [August 27, 2021, 10:37pm UTC](https://discourse.kitware.com/t/adding-the-concept-of-tasks-to-smtk/643 "2021-08-27T22:37:23Z")

</div>

This topic is focused on supporting the concept of Tasks in SMTK. What is a Task? A Task represents an activity performed by a user, and as such represents the basic building block to a workflow. Since it is user-drive…

---

## [Artifact class](https://discourse.kitware.com/t/artifact-class/692)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 4\
**Last updated:** [August 3, 2021, 3:27pm UTC](https://discourse.kitware.com/t/artifact-class/692 "2021-08-03T15:27:27Z")

</div>

A potentially large change I am considering is to add a class into the resource hierarchy to represent artifacts (i.e., persistent objects that are files but do not contain components – things that have non-native (i.e.,…

---

## [Supporting Tabular Attribute Views](https://discourse.kitware.com/t/supporting-tabular-attribute-views/668)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 5\
**Last updated:** [July 20, 2021, 6:56pm UTC](https://discourse.kitware.com/t/supporting-tabular-attribute-views/668 "2021-07-20T18:56:24Z")

</div>

This discussion is focused on developing a mechanism for creating a Qt View that displays a set of attributes in a table form as shown below: If the Attribute Definition with the following properties would be easily …

---

## [SMTK tasks and modelbuilder](https://discourse.kitware.com/t/smtk-tasks-and-modelbuilder/670)

<div class="topic-metadata">

**Author:** [@johnt](https://discourse.kitware.com/u/johnt)\
**Replies:** 2\
**Last updated:** [June 24, 2021, 6:52pm UTC](https://discourse.kitware.com/t/smtk-tasks-and-modelbuilder/670 "2021-06-24T18:52:39Z")

</div>

With the “first-task” branch now merged into smtk, I would like to propose that the next development step be directed toward adding an initial smtk::task capability to the baseline modelbuilder application. I think we ne…

---

## [Candidate RenderView modes for AttributeViews](https://discourse.kitware.com/t/candidate-renderview-modes-for-attributeviews/666)

<div class="topic-metadata">

**Author:** [@johnt](https://discourse.kitware.com/u/johnt)\
**Replies:** 3\
**Last updated:** [June 18, 2021, 6:05pm UTC](https://discourse.kitware.com/t/candidate-renderview-modes-for-attributeviews/666 "2021-06-18T18:05:39Z")

</div>

One of the features in the nascent Task functionality is the ability to set the visualization options for RenderView widgets based on the current attribute editing situation. To help guide that development, this page enu…

---

## [Context menus in SMTK](https://discourse.kitware.com/t/context-menus-in-smtk/651)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 3\
**Last updated:** [June 8, 2021, 7:54pm UTC](https://discourse.kitware.com/t/context-menus-in-smtk/651 "2021-06-08T19:54:25Z")

</div>

Problem statement We should add context menus to SMTK’s user-interface extensions. The resource panel and 3-D render window would both benefit from them. ParaView now exposes customizable context menus. A starting point…

---

## [Visual representation of subsets, side sets, and node sets](https://discourse.kitware.com/t/visual-representation-of-subsets-side-sets-and-node-sets/649)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [June 3, 2021, 7:45am UTC](https://discourse.kitware.com/t/visual-representation-of-subsets-side-sets-and-node-sets/649 "2021-06-03T07:45:48Z")

</div>

We are considering potential changes to smtk::geometry::Resource and SMTK’s VTK+PV extensions to express node sets, side sets, and element sets as indicator functions (for more compact storage than aeva’s approach). Pro…

---

## [Projects, Roles, & Tasks](https://discourse.kitware.com/t/projects-roles-tasks/642)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 7\
**Last updated:** [May 14, 2021, 10:29pm UTC](https://discourse.kitware.com/t/projects-roles-tasks/642 "2021-05-14T22:29:17Z")

</div>

A new implementation of Project support was recently merged into SMTK and will be part of SMTK 21.05 and the functionality exposed in CMB 21.05. There are some concepts/relationships that are still being ironed out, esp…

---

## [Changing qtGroupItem](https://discourse.kitware.com/t/changing-qtgroupitem/623)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 4\
**Last updated:** [April 12, 2021, 5:23pm UTC](https://discourse.kitware.com/t/changing-qtgroupitem/623 "2021-04-12T17:23:21Z")

</div>

Current Implementation The current implementation used a QGroupBox as the main widget. Though this made the UI design simple to implement based on the following: Automatically provided the main Frame Automatically pro…

---

## [Composing graph resources via Query Cache objects](https://discourse.kitware.com/t/composing-graph-resources-via-query-cache-objects/581)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 1\
**Last updated:** [February 21, 2021, 1:33pm UTC](https://discourse.kitware.com/t/composing-graph-resources-via-query-cache-objects/581 "2021-02-21T13:33:36Z")

</div>

Hi all, (but especially @ben.boeckel for your link-loader knowledge…) One of the discussions @tj.corona and I had about SMTK was composing a new graph-resource class by importing node and arc types from other, preexisti…

---

## [Region discovery](https://discourse.kitware.com/t/region-discovery/573)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 1\
**Last updated:** [December 11, 2020, 8:28pm UTC](https://discourse.kitware.com/t/region-discovery/573 "2020-12-11T20:28:25Z")

</div>

We’ve been exploring region discovery from triangle soup (i.e. identifying volumetric regions enclosed by a set of triangles). The first route we pursued was the vtkDiscoverRegions filter, but it is too slow for large …

---

## [Modeling Analyses](https://discourse.kitware.com/t/modeling-analyses/253)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 4\
**Last updated:** [October 7, 2020, 2:49pm UTC](https://discourse.kitware.com/t/modeling-analyses/253 "2020-10-07T14:49:04Z")

</div>

New to SMTK 3.1 - Hierarchical Analyses. When modeling simulation information in SMTK, you can associate a set of categories (currently a category is represented simply as a string) with each attribute item. This infor…

[Previous page](https://discourse.kitware.com/c/smtk/design/12.md)

[Next page](https://discourse.kitware.com/c/smtk/design/12.md?page=2)
