Skip to content

Commit

Permalink
Varifold with EP and MSM dec 5 2016 Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kkumar-iitkgp committed Dec 5, 2016
1 parent 882c707 commit 07435b1
Show file tree
Hide file tree
Showing 5 changed files with 454 additions and 30 deletions.
29 changes: 29 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

cmake_minimum_required(VERSION 2.8)

PROJECT(compute_varifold_using_EP_and_MSmeasure)

find_package(VTK REQUIRED)
include(${VTK_USE_FILE})

find_package(OpenMP)
if (OPENMP_FOUND)
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
endif()

# Find ITK.
FIND_PACKAGE(ITK REQUIRED)
IF(ITK_FOUND)
INCLUDE(${ITK_USE_FILE})
ENDIF(ITK_FOUND)

INCLUDE_DIRECTORIES (/usr/include/eigen3)

add_executable(compute_varifold_using_EP_and_MSmeasure compute_varifold_using_EP_and_MSmeasure.cpp)

if(VTK_LIBRARIES)
target_link_libraries(compute_varifold_using_EP_and_MSmeasure ${VTK_LIBRARIES} ITKCommon )
else()
target_link_libraries(compute_varifold_using_EP_and_MSmeasure vtkHybrid vtkWidgets)
endif()
Binary file added MSmeasure_GFA_Sub1_test50fib
Binary file not shown.
Binary file added Tracts_Sub1_VTK_test50fib.fib
Binary file not shown.
Loading

0 comments on commit 07435b1

Please sign in to comment.