1. 09 Oct, 2017 1 commit
    • T.J. Corona's avatar
      CMake/options.h.in: enable mesh sess flag if mesh sess is built · 18d615ba
      T.J. Corona authored
      Prior to this commit, the mesh session was not properly being
      loaded into ModelBuilder even when its plugin was loaded. This
      commit transfers the SMTK_ENABLE_MESH_SESSION cmake flag to
      the smtk library, ensuring that its plugin is properly loaded
      at runtime.
      18d615ba
  2. 15 Sep, 2017 1 commit
    • David Thompson's avatar
      Expunge sparsehash from SMTK. · 818292a7
      David Thompson authored
      We never built with it and it has different semantics for invaliding
      iterators which could cause issues if anyone ever decided to use it.
      818292a7
  3. 24 Aug, 2015 1 commit
  4. 21 Apr, 2015 3 commits
    • David Thompson's avatar
      Finish option rename, clean up CMake advanced vars. · b71b6b33
      David Thompson authored
      + Rename `SMTK_ENABLE_REMUS` to `SMTK_ENABLE_REMUS_SUPPORT` to
        match other options.
      + Add `SMTK_ENABLE_REMOTE_SESSION` rather than just using Remus
        support to trigger build of remote session (because Remus now
        has a non-session extension library for the mesh operator).
      + Mark some settings as advanced. Now all the (non-advanced)
        SMTK settings should fit on 26 lines (23 on non-Mac-OS
        platforms).
      b71b6b33
    • David Thompson's avatar
      Rename options (issue #85). · f2df704d
      David Thompson authored
      This included an automated rename:
      
          find * -type f -exec vim -S /path/to/vscr {} \;
      
      where `vscr` contained
      
          %s/SMTK_BUILD_QT/SMTK_ENABLE_QT_SUPPORT/g
          %s/SMTK_BUILD_VTK/SMTK_ENABLE_VTK_SUPPORT/g
          %s/SMTK_BUILD_CGM/SMTK_ENABLE_CGM_SESSION/g
          %s/SMTK_BUILD_SESSION_PLUGIN/SMTK_ENABLE_PARAVIEW_SUPPORT/g
          %s/SMTK_BUILD_MOAB_READER/SMTK_ENABLE_MOAB_SUPPORT/g
          %s/SMTK_BUILD_DISCRETE_SESSION/SMTK_ENABLE_DISCRETE_SESSION/g
          %s/SMTK_BUILD_CGM/SMTK_ENABLE_CGM_SESSION/g
          %s/SMTK_BUILD_PYTHON_WRAPPINGS/SMTK_ENABLE_PYTHON_WRAPPING/g
          wq
      f2df704d
    • 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
      
            %s/SMTKSessionExodusExports/Exports/g
            %s/SMTKSessionExodus/smtkExodusSession/g
            %s/SMTKSESSIONEXODUS_EXPORT/SMTKEXODUSSESSION_EXPORT/g
            %s/discreteSessionExports/Exports/g
            %s/SMTKRemoteExports/Exports/g
            %s/SMTKRemote/smtkRemoteSession/g
            %s/SMTKREMOTE_EXPORT/SMTKREMOTESESSION_EXPORT/g
            wq
      + Another scripted rename:
      
            find smtk/extension -type f -exec vim -S /path/to/vscr {} \;
      
        where `vscr` is a vim script containing:
      
            %s/QtSMTKExports.h/Exports.h/g
            %s/QTSMTK_EXPORT/SMTKQTEXT_EXPORT/g
            %s/vtkSMTKModule/smtkVTKExtModule/g
            %s/vtkSMTKExports/smtkVTKExtExports/g
            %s/VTKSMTK_EXPORT/SMTKVTKEXT_EXPORT/g
            %s/vtkSMTK/smtkVTKExt/g
            wq
      
      + 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.
      eaf24846
  5. 30 Jan, 2015 1 commit
  6. 17 Nov, 2014 1 commit
  7. 10 Nov, 2014 1 commit
    • David Thompson's avatar
      Improvements to Remus worker docs and testing. · 9ecba804
      David Thompson authored
      This adds the Paths class to smtk/common for
      obtaining paths to search for workers and a few other
      required utilities.
      
      It renames smtk-remote-model to smtk-model-worker to be
      consistent with smtk-model-server and adds a test that
      should generate a worker file that can be used by
      the unitRemusBridgeConnection.
      9ecba804
  8. 03 Nov, 2014 1 commit
  9. 28 Oct, 2014 2 commits
  10. 24 Oct, 2014 1 commit
  11. 03 Oct, 2014 1 commit
    • Yumin Yuan's avatar
      smtk can now be built with ONLY VTK. · d008daf1
      Yumin Yuan authored
      Removed smtk's dependency on Paraview, and modified cmake scripts
      so that only VTK is required for vtk classes in smtk. This works with
      pure VTK build (not VTK under paraview), and there are still
      issues to be worked out if VTK under paraview is picked.
      d008daf1
  12. 26 Sep, 2014 1 commit
  13. 22 Jan, 2014 1 commit
    • David Thompson's avatar
      Use ParaView instead of VTK. · 7deb407a
      David Thompson authored
      While the classes is smtk/vtk (now smtk/paraview) do not require
      ParaView, development of a multiblock model representation which
      allows selection will require it.
      7deb407a
  14. 20 Jan, 2014 1 commit
  15. 06 Jan, 2014 1 commit
    • David Thompson's avatar
      Progress on cursor subclass implementation. · ca6c7e75
      David Thompson authored
      This patch includes many changes to the cursor subclasses
      to improve their utility in constructing and traversing models.
      
      + More methods allowing model traversal are implemented (or fixed)
        and tested as part of the `unitCursor` test.
      
      + The methods of `Storage` that return cursor subclasses are now
        properly wrapped in Python. However, many cursor methods that
        return arrays of cursors (e.g., Vertex::edges()) still cause
        segfaults as shiboken does not properly handle value/pointer
        conversion.
      
      + Add a VolumeUse cursor class.
        This is for the convenience of automating adaptors to other modelers.
      
      + The `createTet` test helper now properly models
        vertex-uses, edge-uses, face-uses, volume-uses,
        chains, loops, and shells and is
        used to test cursor-subclass methods.
      
      + It also adds a compile-time option to make the Storage
        class configurable between map and sparse_hash_map.
        The new (advanced) CMake option is named `SMTK_HASH_STORAGE`.
        When true, the `sparse_hash_map` is used for the maps between
      
        + UUID and Entity records; and
        + UUID and Arrangement records
      
        in addition to property names and values.
      
        This makes debugging issues with invalidated iterators simpler
        since `std::map` does not invalidate iterators upon insertion
        while `google::sparse_hash_map` does.
      
      + The browseModel demo now allows more in-depth inspection
        of the model but has some issues. (No exploration below face-uses.)
      ca6c7e75