1. 08 Oct, 2019 1 commit
  2. 05 Sep, 2019 1 commit
    • T.J. Corona's avatar
      Add a flag for toggling unstable tests · 0e85a16d
      T.J. Corona authored
      Some tests (especially those that deal with multiple threads and
      timing) do not have a 100% pass rate. This MR adds a toggle for
      enabling these tests independently from the rest of the tests in
  3. 08 Aug, 2019 2 commits
  4. 02 Jul, 2019 1 commit
  5. 29 May, 2019 2 commits
  6. 17 Dec, 2018 1 commit
    • David Thompson's avatar
      Make qtResourceBrowser more useful as a standalone widget. · 51d82b42
      David Thompson authored
      + Allow a subclassed qtDescriptivePhraseModel instance to be passed to
        its constructor.
      + Make the ParaView-specific visibility decorator available for other
        ParaView plugins to use.
      + Expose the qtResourceBrowser's QTreeView.
      + Move most of pqSMTKResourcePanel into qtResourceBrowser (Qt parts) and
        pqSMTKResourceBrowser (ParaView parts).
        This will allow easier customization, and particularly
        allows people to use the widget without it being central to
        a dock widget, making it simpler to configure components in
        the widget that are needed at construction time.
      + Also, make pqSMTKResourcePanel::Internal::m_phraseModel point to
        the base class (PhraseModel) rather than the particular subclass
        we use (ResourcePhraseModel).
      + Better nullptr testing to prevent crashes when invalid QModelIndex values
        are used.
      + Test whether the model passed to qtDescriptivePhraseDelegate::editorEvent
        is a QAbstractItemModel such as QSortFilterProxyModel; if it is, then map
        the index.
      + Store descriptive phrase pointers in QVariants and provide a way to
        obtain phrase pointers from a QModelIndex without access to the
        underlying QAbstractItemModel.
        This allows clean separation between our QAbstractItemModel subclass
        and classes that consume its QModelIndex instances.
        The separation makes it possible to pass a QAbstractProxyModel to
        use instead of a qtDescriptivePhraseModel so that searching can
        be exposed in the GUI.
  7. 03 Dec, 2018 1 commit
    • David Thompson's avatar
      Various improvements and fixes to the GUI. · ef965d1e
      David Thompson authored
      + Refactor the resource-panel decorator into a method.
      + Properly update the attribute when the sphere widget changes.
        ParaView now emits a signal when properties are changed via Qt.
        Use it to update the SMTK attribute's item(s).
        Do not print errors when none may have occurred.
      + Fix how auxiliary geometry is handled.
        Without this, the RGG extension would be used to load OBJ
        files (rather than the VTK extension) just because it was
        first in the list.
      + Remove redundant created/modified entries in AddAuxiliaryGeometry.
        This appears to be cruft accumulated during the
        migration from ModelEntityItem to ReferenceItem/ComponentItem.
      + Prevent a crash during first-time initialization in qtReferenceItem.
      + Eliminate unneeded code from qtResourceItem.
        The base class now handles this.
      + Override `smtk::resource::Resource::name()`.
        Make the name the stem of the location URL.
        Showing a UUID here is really bad for users,
        so pretty much anything is better.
      + Fix attribute association op's specification.
      + Fix qtResourceItem membership checkboxes.
      + Make qtReferenceItem return the proper "acceptable types" enum,
        which fixes an issue where associations which are supposed to be
        resources instead list components.
      + Add a phrase model that shows the current selection.
      + Allow phrase model sources to include a selection.
  8. 26 Sep, 2018 1 commit
  9. 07 Sep, 2018 1 commit
  10. 09 Jul, 2018 1 commit
  11. 31 May, 2018 1 commit
  12. 29 May, 2018 1 commit
    • T.J. Corona's avatar
      Develop registration process for managers and plugins. · 09ecec04
      T.J. Corona authored
      This commit introduces smtk::common::Registry, a reference counted object
      that manages the lifetime of the registration of a logical collection of
      smtk resources & operations (usually denoted by its own namespace) and
      instances of managers. It also introduces the singleton PluginManager for
      centralizing plugin registration. Finally, it removes the concept of
      environments that hold static managers and automatic registration.
  13. 14 Mar, 2018 1 commit
  14. 08 Mar, 2018 1 commit
  15. 24 Feb, 2018 1 commit
    • David Thompson's avatar
      Work on component/resource items and their GUIs. · 58dab9c2
      David Thompson authored
      + Refactor item-based attribute classes.
        Move most of the code in ComponentItem, ResourceItem,
        ComponentItemDefinition, and ResourceItemDefinition into
        two new base classes LinkItem and LinkItemDefinition.
        These classes handle links between an attribute and
        any resource or component of a resource.
        Note that smtk::attribute::RefItem should disappear
        in favor of a ComponentItem whose `acceptableEntries()`
        filter forces an attribute of the proper type.
      + Fix build when `SMTK_ENABLE_EXAMPLES` is on.
      + Prototype for a qtComponentItem.
  16. 16 Feb, 2018 1 commit
    • David Thompson's avatar
      Support reading attribute resources in PV/CMB. · ebc558cb
      David Thompson authored
      This commit adds preliminary support for loading attributes
      into ParaView as pipeline sources as is done for model resources.
      This work is not complete; until ComponentItem and ResourceItem
      have Qt widgets, the attributes cannot be displayed in the attribute
      + Add a new, abstract vtkSMTKResourceReader base class that
        vtkSMTKModelReader inherits.
      + Add vtkSMTKAttributeReader that inherits vtkSMTKResourceReader.
      + Warn when a resource manager refuses to add a resource because
        its metadata has not been registered.
        Because SCRUD! it's painful debugging this.
      + Split smtkPVServerExtPlugin into a library + plugin.
        This avoids the probably-incorrect `REQUIRED_PLUGIN` option
        to `add_paraview_plugin()` in the appcomponents directory.
  17. 12 Dec, 2017 1 commit
  18. 08 Dec, 2017 1 commit
    • David Thompson's avatar
      Work on the UI for ComponentItem / deprecation of ModelEntityItem. · 3ece72e1
      David Thompson authored
      + Move smtk::resource::SelectionManager to smtk::view::Selection.
        It really isn't a manager; it's a selection. Each instance holds a
        map enumerating the "degree" to which each component is selected.
        You can have multiple selections in an application.
      + Make the ParaView SMTK resource panel respond to selections
        and emit its own. Note that selecting a summary phrase does not
        result in entities in its child phrases being selected. This
        is a departure from the previous phrase view; we may add
        this functionality into the new resource panel at some point
        as it satisfies the priniciple of minimum astonishment.
        The problem is that it requires computation of child phrases,
        which destroys the lazy nature of the algorithm.
      + Fix resource handling when deleting sources.
      + Add a VTK-based attribute "reader" (that produces a pretty empty multiblock
        but has the side effect of adding a resource to the resource manager when
        an observer is attached).
      + Port more code over from old, model-only EntityListPhrase to PhraseList:
        generate more descriptive titles for lists with many, potentially disparate children.
        For now, this only deals with model, not mesh or attribute, components.
      + Adds a currently-uncompiled "unit test" for a component item UI.
      + When inheriting QStyledItemDelegate, do not call the inherited
        `paint()` method inside your own as it will draw each item's
        `Qt::DisplayRole` text overlapping your own.
  19. 15 Aug, 2017 1 commit
  20. 24 May, 2017 1 commit
  21. 09 Sep, 2016 1 commit
  22. 24 May, 2016 1 commit
  23. 18 May, 2016 1 commit
  24. 26 Apr, 2016 1 commit
  25. 15 Feb, 2016 1 commit
  26. 17 Dec, 2015 1 commit
  27. 09 Nov, 2015 1 commit
  28. 04 Nov, 2015 2 commits
  29. 30 Oct, 2015 1 commit
  30. 26 Oct, 2015 1 commit
  31. 28 Aug, 2015 1 commit
    • Bob Obara's avatar
      ENH: Removing concept of Root View for GUIs · 5269895c
      Bob Obara authored
      Also added the ability to indicate if filter by either
      advance level or category is required.
      Also made the ability to display the access level for each item optional
  32. 24 Jul, 2015 1 commit
  33. 04 May, 2015 1 commit
  34. 21 Apr, 2015 1 commit
    • David Thompson's avatar
      Progress on #85 (consistent target + option names). · eaf24846
      David Thompson authored
      This patch includes the following changes:
      + Eliminate a shiboken warning (do not wrap cJSON methods).
      + Fix a stupid mistake causing a warning in ExportJSON.
      + A scripted rename. Ran this command:
            find smtk/bridge -type f -exec vim -S /path/to/vscr {} \;
        where `vscr` contained
      + Another scripted rename:
            find smtk/extension -type f -exec vim -S /path/to/vscr {} \;
        where `vscr` is a vim script containing:
      + Add VTK-style Python wrapping to the classes in vtkSMTKExt
        (which cannot be named smtkVTKExt because of VTK's build system).
        This should close #97.
      + Fixes to get things building again.
  35. 03 Feb, 2015 1 commit
    • David Thompson's avatar
      Clean up session relationships. · f8e6bbdd
      David Thompson authored
      Make the documentation match reality as far as model ownership
      goes (it did not show Model→Group relations and incorrectly had
      submodels related by `INCLUDES/EMBEDDED_IN` instead of
      Add methods to EntityRef for managing superset/subset arrangements
      and use those (instead of raw relations) for parent-child of Model
      and Session.
      Rename ModelEntities and GroupEntities typedefs to Models and Groups.
      Clean up Read operator in all bridges to use new session storage
      style (where `Entity::relations()` holds session children) instead
      of having Session instance track top-level models.
      Get rid of `smtk::model::Manager::m_modelSessions`; this information
      is now stored in the sessions's `Entity::relations()`.
  36. 30 Jan, 2015 1 commit
  37. 26 Jan, 2015 1 commit