Skip to content
Snippets Groups Projects
  1. Jul 10, 2015
  2. Jul 09, 2015
    • David Thompson's avatar
      Merge branch 'twiddleDocumentation' into 'master' · aa2e6bd5
      David Thompson authored
      Add some more description of the SimMedTK layout.
      
      ... but the real purpose of this commit is to test dashboard builds.
      
      See merge request !15
      aa2e6bd5
    • David Thompson's avatar
      Merge branch 'fixMacOSTestEnvironment' into 'master' · a29fae7a
      David Thompson authored
      Get tests running on Mac OS X.
      
      On Mac OS X, running the tests in CTest fails currently because
      SFML links to some binary-blob frameworks it includes with its
      source (shudder). The path to these frameworks is specified using
      `@rpath`, which – since they are not installed in an rpath – means
      they are not found by default.
      
      Setting the `DYLD_FRAMEWORK_PATH` environment variable to include
      the path to the frameworks causes the tests to pass. There is
      almost certainly a better way to do this.
      
      See merge request !18
      a29fae7a
    • David Thompson's avatar
      Get tests running on Mac OS X. · dc0dfcc3
      David Thompson authored
      On Mac OS X, running the tests in CTest fails currently because
      SFML links to some binary-blob frameworks it includes with its
      source (shudder). The path to these frameworks is specified using
      `@rpath`, which – since they are not installed in an rpath – means
      they are not found by default.
      
      Setting the `DYLD_FRAMEWORK_PATH` environment variable to include
      the path to the frameworks causes the tests to pass. There is
      almost certainly a better way to do this.
      dc0dfcc3
    • David Thompson's avatar
      Merge branch 'submitSubprojectDashboard' into 'master' · 11e7db50
      David Thompson authored
      Improve buildbot dashboard submission.
      
      This adds a new CMake variable (not exposed via any
      options — it should be set in the initial `CMakeCache.txt`)
      named `SimMedTK_SUPERBUILD_SUBPROJECT_DASHBOARD`. When set,
      the superbuild will not build the "ALL" target of the SimMedTK
      subproject but insteadl build the "Experimental" target, which
      runs tests and submits results to CDash.
      
      This way, buildbot superbuilds can also be configured to run
      SimMedTK tests (*plus* any superbuild tests) and the results
      will be submitted as two separate CDash rows.
      
      This commit also enables testing on the superbuild and adds
      a single dummy test.
      
      See merge request !17
      11e7db50
    • David Thompson's avatar
      Improve buildbot dashboard submission. · 467b70ff
      David Thompson authored
      This adds a new CMake variable (not exposed via any
      options — it should be set in the initial `CMakeCache.txt`)
      named `SimMedTK_SUPERBUILD_SUBPROJECT_DASHBOARD`. When set,
      the superbuild will not build the "ALL" target of the SimMedTK
      subproject but insteadl build the "Experimental" target, which
      runs tests and submits results to CDash.
      
      This way, buildbot superbuilds can also be configured to run
      SimMedTK tests (*plus* any superbuild tests) and the results
      will be submitted as two separate CDash rows.
      
      This commit also enables testing on the superbuild and adds
      a single dummy test.
      467b70ff
  3. Jul 08, 2015
  4. Jul 07, 2015
    • David Thompson's avatar
      Merge branch 'add-user-guide' into 'master' · 3105b8d6
      David Thompson authored
      First pass at building documentation.
      
      Both Doxygen (ninja/make target `doc`) and Sphinx (ninja/make target `doc-userguide`) documentation are built. The Doxygen documentation is put in `documentation/reference/SimMedTK` while the Sphinx documentation is put in `documentation/user`.
      
      This should close issue #3. (Actually finishing writing the documentation should probably be several separate issues covering more specific parts of the documentation.)
      
      See merge request !9
      3105b8d6
  5. Jul 03, 2015
  6. Jul 02, 2015
  7. Jun 28, 2015
    • David Thompson's avatar
      Merge branch 'build-on-os-x-rebased-squashed' into 'master' · 3412b24c
      David Thompson authored
      Get SimMedTK building and running on Mac OS X.
      
      This is a large commit because clang (on OS X) does not allow
      libraries with missing dependencies and adding them would
      introduce cyclic dependencies between libraries (which CMake
      and sanity both forbid).
      
      The following changes are included:
      + Merge smUtilities into smCore since they were heavily interdependent.
      + Merge smShaders into smRendering since they were heavily interdependent.
      + Omit the unused smMotionTransformer class.
      + Remove pipes from smSDK based on Ricardo's advice.
      + Add a header-only factory class (templated on the common base class
        for objects in the collection) that uses dynamic library
        initialization to register subclasses.
      + Split smViewer into a base class (smViewerBase) in smCore and
        OpenGL-specific methods (smViewer in smRendering).
        Use the factory above to register the smViewer when linking to
        smRendering. If not linking to rendering, the factory returns
        a null shared pointer when smSDK asks for a view.
      + Moves smGLUtils into smRendering since it is dependent on OpenGL,
        unlike the rest of the classes that were moved into smCore.
      + Move `draw()` implementations out of individual classes
        and into a new smRenderDelegates library.
        This library uses the new factory pattern, so simply linking
        to smRenderDelegates should be enough to make delegates
        available to applications that wish to do rendering.
      + Run a (the?) viewer in the main thread.
        On OS X, only the main thread can run user interface code
        because Cocoa events are only delivered to the main thread and
        Cocoa is not threadsafe.
      + Remove the broken and unused smCollisionManager.
      
      There are rendering issues after this commit, but they apparently
      exist prior to the commit as well.
      
      See merge request !12
      3412b24c
  8. Jun 27, 2015
    • David Thompson's avatar
      Fix unitialized render details. · 33013112
      David Thompson authored
      ... identified by OpenGL Profiler. glPointSize() was
      being called with a random number because the smRenderDetail
      constructor that accepts a type parameter intialized **only**
      the type parameter.
      33013112
  9. Jun 26, 2015
    • David Thompson's avatar
      Fix for Windows. · e665dc4e
      David Thompson authored
      This will also allow static builds elsewhere (but libraries
      are currently hardwired static on Windows and dynamic elsewhere).
      e665dc4e
    • David Thompson's avatar
      Get SimMedTK building and running on Mac OS X. · 187f13b6
      David Thompson authored
      This is a large commit because clang (on OS X) does not allow
      libraries with missing dependencies and adding them would
      introduce cyclic dependencies between libraries (which CMake
      and sanity both forbid).
      
      The following changes are included:
      + Merge smUtilities into smCore since they were heavily interdependent.
      + Merge smShaders into smRendering since they were heavily interdependent.
      + Omit the unused smMotionTransformer class.
      + Remove pipes from smSDK based on Ricardo's advice.
      + Add a header-only factory class (templated on the common base class
        for objects in the collection) that uses dynamic library
        initialization to register subclasses.
      + Split smViewer into a base class (smViewerBase) in smCore and
        OpenGL-specific methods (smViewer in smRendering).
        Use the factory above to register the smViewer when linking to
        smRendering. If not linking to rendering, the factory returns
        a null shared pointer when smSDK asks for a view.
      + Moves smGLUtils into smRendering since it is dependent on OpenGL,
        unlike the rest of the classes that were moved into smCore.
      + Move `draw()` implementations out of individual classes
        and into a new smRenderDelegates library.
        This library uses the new factory pattern, so simply linking
        to smRenderDelegates should be enough to make delegates
        available to applications that wish to do rendering.
      + Run a (the?) viewer in the main thread.
        On OS X, only the main thread can run user interface code
        because Cocoa events are only delivered to the main thread and
        Cocoa is not threadsafe.
      + Remove the broken and unused smCollisionManager.
      
      There are rendering issues after this commit, but they apparently
      exist prior to the commit as well.
      187f13b6
    • Sreekanth Arikatla's avatar
      a1503bac
    • Sreekanth Arikatla's avatar
  10. Jun 25, 2015
  11. Jun 24, 2015
  12. Jun 23, 2015
    • David Thompson's avatar
      First pass at building documentation. · acb0f46d
      David Thompson authored
      Both Doxygen (ninja/make target `doc`)
      and Sphinx (ninja/make target `doc-userguide`)
      documentation are built.
      The Doxygen documentation is put in `documentation/reference/SimMedTK`
      while the Sphinx documentation is put in `documentation/user`.
      
      This should close issue #3. (Actually finishing writing the
      documentation should probably be several separate issues covering more
      specific parts of the documentation.)
      acb0f46d
  13. Jun 21, 2015
  14. Jun 19, 2015
  15. Jun 18, 2015
  16. Jun 17, 2015
  17. Jun 16, 2015
Loading