1. 23 Feb, 2019 1 commit
  2. 22 Feb, 2019 4 commits
  3. 20 Feb, 2019 2 commits
    • Bob Obara's avatar
      Merge topic 'fixingAttributeAssociationMethods' · c0513809
      Bob Obara authored
      15b560b5 ENH: Updating Attribute Association API
      29057d6a ENH: Added Association View
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Acked-by: T.J. Corona's avatarT.J. Corona <tj.corona@kitware.com>
      Merge-request: !1480
      c0513809
    • Bob Obara's avatar
      ENH: Updating Attribute Association API · 15b560b5
      Bob Obara authored
      * attribute::Attribute
       * Removed functionality to maintain model::resource's attribute association backstore (no longer needed)
       * Added a protected method forceDisassociate that will bypass disassociation checks.  This is used by the attribute::Resource when disassociating all attributes from an object.
       * Added association checks to the associate method.
      * attribute::Resource
       * Added hasAttributes method to check to see if an object has attributes associated to it
       * Added disassociateAllAttributes method to remove all attribute associations from an object
      * model::Entity
       * Removed functionality to maintain model::resource's attribute association backstore (no longer needed)
      * model::EntityRef
       * Removed functionality to maintain model::resource's attribute association backstore (no longer needed) and replaced it with link-based functionality
       * Added hasAttributes(smtk::attribute::ConstResourcePtr attRes) const
       * Added disassociation methods that don't take in the reverse bool parameter.  The original API which does take in the reverse parameter is marked for deprication (via comment) and calls the new API
      * Added Pybind11 Registrar methods for smtk::model
      15b560b5
  4. 10 Feb, 2019 2 commits
  5. 08 Feb, 2019 3 commits
  6. 07 Feb, 2019 4 commits
  7. 06 Feb, 2019 2 commits
  8. 05 Feb, 2019 5 commits
  9. 04 Feb, 2019 2 commits
  10. 03 Feb, 2019 4 commits
  11. 02 Feb, 2019 5 commits
  12. 01 Feb, 2019 4 commits
    • John Tourtellott's avatar
      Merge topic 'project-import-location' · c52e461a
      John Tourtellott authored
      8e5a6d96 Implement option to use vtk session to import models as the default
      2bb1b65b Add method to get the import location for a project resource
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Acked-by: Haocheng LIU's avatarHaocheng LIU <haocheng.liu@kitware.com>
      Merge-request: !1466
      c52e461a
    • John Tourtellott's avatar
      Implement option to use vtk session to import models as the default · 8e5a6d96
      John Tourtellott authored
      This is a temporary workaround, because the current mesh session code
      does not import names assigned to side sets and element blocks
      in exodus files. Also changed option to copy model file from advanced to
      default.
      8e5a6d96
    • T.J. Corona's avatar
      Add a couple missing python methods · 23a5fc8a
      T.J. Corona authored
      23a5fc8a
    • Bob Obara's avatar
      ENH: Adding Exclusion and Required Conditions for Attributes · e295de91
      Bob Obara authored
      Attribute Definitions can now provide mechanisms for modeling exclusion and required.
      
      - Exclusion property: a list of attribute definitions that will prevent attributes, derived from this definition, from being associated
      to a resource component if the component already has an attribute associated with it that derived from a definition in the exclusion list.
      
      - Prerequisite property: a list of attribute definitions that will prevent attributes, derived from this definition, from being associated to a resource
      component unless it also has an attribute asscoiated with it that is derived from a definition in the required list.
      
      - Added methods for checking association rules, exclusions, and prerequisites
      - Added canBeAssociated method for testing persistent objects
      
      - Changed the implementation of isUnique.  It now used the exclusion mechanism by inserting
      itself into the list.  Note that this rule is not written out when serialized or when saved
      to a file
      - Attribute's disassociate method now is allowed to fail (and return the attribute using it as a prerequisite.  Also added a test method
      - Did the same thing for Attribute's removeAllAssociations() method.  Added a parameter to indicate if it should remove the associations it can or should it not remove any if it can't remove all.
      - Updated the qtAssociationWidget to use these new ruled when determining availability
      - Updated the qtAttributeView to test for association rules instead of association masks
      - Fixed bug in AttributeView that would display attributes multiple times based on it being derived from an non-abstract Definition type
      - Changed Attribute View to show a warning when it can not remove an attribute due to it being used to satisfy prerequisites
      - Added a test for these new constraints
      
      NOTE - the exclusion property should be symmetric (if A doesnt allow B then B shouldn't allow A) but the prerequisite property can not be symmetric (else neither could be associated - if you need to have both attributes always assiged together then the information should be modeled as a single definition)
      
      NOTE - there are issues related to reading in SBI files related the association links.
      
      - Also made some of the find methods for resources and components const
      e295de91
  13. 31 Jan, 2019 1 commit
  14. 30 Jan, 2019 1 commit