Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
iMSTK
iMSTK
Commits
c402ef63
Commit
c402ef63
authored
Jan 22, 2016
by
Ricardo Ortiz
Browse files
ENH: Rename the library
from SimMedTK to iMSTK. Modify the license notice in each file. Add LICENSE file.
parent
3b88bc12
Pipeline
#5114
passed with stage
Changes
328
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Assembler/Assembler.cpp
View file @
c402ef63
// This file is part of the SimMedTK project.
// This file is part of the iMSTK project.
//
// Copyright (c) Kitware, Inc.
//
// Copyright (c) Center for Modeling, Simulation, and Imaging in Medicine,
// Rensselaer Polytechnic Institute
//
...
...
@@ -13,13 +16,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//---------------------------------------------------------------------------
//
// Authors:
//
// Contact:
//---------------------------------------------------------------------------
#include "Assembler/Assembler.h"
#include "Core/ContactHandling.h"
...
...
Assembler/Assembler.h
View file @
c402ef63
// This file is part of the SimMedTK project.
// This file is part of the iMSTK project.
//
// Copyright (c) Kitware, Inc.
//
// Copyright (c) Center for Modeling, Simulation, and Imaging in Medicine,
// Rensselaer Polytechnic Institute
//
...
...
@@ -13,19 +16,13 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//---------------------------------------------------------------------------
//
// Authors:
//
// Contact:
//---------------------------------------------------------------------------
#ifndef SM_ASSEMBLY
#define SM_ASSEMBLY
#ifndef ASSEMBLER_ASSEMBLER_H
#define ASSEMBLER_ASSEMBLER_H
#include <memory>
//
SimMed
TK includes
//
iMS
TK includes
#include "Core/CoreClass.h"
//#include "Core/SDK.h"
...
...
@@ -98,4 +95,4 @@ private:
std
::
vector
<
core
::
Vectord
>
b
;
};
#endif //
SM
_ASSEMBL
Y
#endif //
ASSEMBLER
_ASSEMBL
ER_H
Assembler/CMakeLists.txt
View file @
c402ef63
###########################################################################
#
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
set
(
MODULE_NAME Assembler
)
s
im
med
tk_add_library
(
${
MODULE_NAME
}
im
s
tk_add_library
(
${
MODULE_NAME
}
SOURCES
Assembler.cpp
PUBLIC_HEADERS
...
...
CMake/FindADU.cmake
View file @
c402ef63
###########################################################################
#
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
find_path
(
ADU_INCLUDE_DIR
AduHid.h
)
find_library
(
ADU_LIBRARY
...
...
@@ -15,4 +33,4 @@ find_package_handle_standard_args(ADU
mark_as_advanced
(
ADU_INCLUDE_DIR
ADU_LIBRARY
)
\ No newline at end of file
ADU_LIBRARY
)
CMake/FindATC.cmake
View file @
c402ef63
###########################################################################
#
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
find_path
(
ATC_INCLUDE_DIR
ATC3DG.h
)
find_library
(
ATC_LIBRARY
...
...
@@ -15,4 +33,4 @@ find_package_handle_standard_args(ATC
mark_as_advanced
(
ATC_INCLUDE_DIR
ATC_LIBRARY
)
\ No newline at end of file
ATC_LIBRARY
)
CMake/FindAssimp.cmake
View file @
c402ef63
###########################################################################
#
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
set
(
LIBRARY_SUFFIX
)
if
(
MSVC
)
# each of the DLLs are suffixed with the major version and msvc prefix
...
...
CMake/FindBandit.cmake
View file @
c402ef63
###########################################################################
#
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
find_path
(
BANDIT_INCLUDE_DIR
bandit/bandit.h
)
...
...
@@ -10,4 +28,3 @@ find_package_handle_standard_args(Bandit
mark_as_advanced
(
BANDIT_INCLUDE_DIR
)
\ No newline at end of file
CMake/FindEigen3.cmake
View file @
c402ef63
###########################################################################
#
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
# - Try to find Eigen3 lib
#
# This module supports requiring a minimum version, e.g. you can do
...
...
CMake/FindLibNifalcon.cmake
View file @
c402ef63
###########################################################################
#
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
# - try to find Libnifalcon library
#
#
...
...
CMake/FindLibusb1.cmake
View file @
c402ef63
###########################################################################
#
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
# - try to find libusb-1 library
#
# Cache Variables: (probably not for direct use in your scripts)
...
...
CMake/FindNIDAQ.cmake
View file @
c402ef63
###########################################################################
#
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
find_path
(
NIDAQ_INCLUDE_DIR
NIDAQmx.h
)
find_library
(
NIDAQ_mx_LIBRARY
...
...
@@ -20,4 +38,4 @@ find_package_handle_standard_args(NIDAQ
mark_as_advanced
(
NIDAQ_INCLUDE_DIR
NIDAQ_mx_LIBRARY
NIDAQ_syscfg_LIBRARY
)
\ No newline at end of file
NIDAQ_syscfg_LIBRARY
)
CMake/FindOculus.cmake
View file @
c402ef63
###########################################################################
#
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
find_path
(
Oculus_INCLUDE_DIR
NAMES
OVR.h
...
...
CMake/FindOpenHaptics.cmake
View file @
c402ef63
###########################################################################
#
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
find_path
(
OPENHAPTICS_INCLUDE_DIR
HL/hl.h HLU/hlu.h HD/hd.h HDU/hdu.h
PATHS /usr/include
)
...
...
CMake/FindPThreads.cmake
View file @
c402ef63
###########################################################################
#
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
if
(
WIN32
)
find_path
(
PTHREAD_INCLUDE_DIR
pthread.h
...
...
CMake/FindSFML.cmake
View file @
c402ef63
###########################################################################
#
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
find_path
(
SFML_INCLUDE_DIR
SFML/Config.hpp
)
...
...
CMake/FindSphinx.cmake
View file @
c402ef63
###########################################################################
#
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
# - This module looks for Sphinx
# Find the Sphinx documentation generator
#
...
...
CMake/FindThreadPool.cmake
View file @
c402ef63
###########################################################################
#
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
find_path
(
ThreadPool_INCLUDE_DIR
NAMES
ThreadPool.h
...
...
CMake/FindVRPN.cmake
View file @
c402ef63
###########################################################################
#
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
find_path
(
VRPN_INCLUDE_DIR
NAMES
vrpn_Configure.h
...
...
CMake/MatrixMarket.cmake
View file @
c402ef63
###########################################################################
#
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
###########################################################################
set
(
MATRIX_MARKET_URL
"ftp://math.nist.gov/pub/MatrixMarket2/Harwell-Boeing/"
)
...
...
CMake/SuperBuild/External_Assimp.cmake
View file @
c402ef63
###########################################################################
#
# Copyright (c) Center for Modeling, Simulation, and Imaging in Medicine,
# Rensselaer Polytechnic Institute
# Copyright (c) Kitware, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
...
...
@@ -19,6 +18,7 @@
#
# Assimp
#
set
(
Assimp_TAG
"b700cd917f433801e594187af57d334b04a3c2ba"
)
set
(
Assimp_REPOSITORY
${
git_protocol
}
://github.com/assimp/assimp.git
)
...
...
@@ -37,7 +37,7 @@ endif()
set
(
Assimp_DEPENDENCIES
""
)
# Include dependent projects if any
SimMed
TKCheckDependencies
(
Assimp
)
iMS
TKCheckDependencies
(
Assimp
)
set
(
proj Assimp
)
...
...
@@ -67,7 +67,7 @@ if(NOT DEFINED ${proj}_DIR)
-DCMAKE_CXX_FLAGS:STRING=
${
ep_common_cxx_flags
}
-DCMAKE_C_FLAGS:STRING=
${
ep_common_c_flags
}
-DCMAKE_INSTALL_PREFIX:PATH=
${
ep_install_dir
}
-DBUILD_SHARED_LIBS:BOOL=
${
SimMed
TK_BUILD_SHARED_LIBS
}
-DBUILD_SHARED_LIBS:BOOL=
${
iMS
TK_BUILD_SHARED_LIBS
}
-DASSIMP_BUILD_ASSIMP_TOOLS:BOOL=OFF
-DASSIMP_BUILD_TESTS:BOOL=OFF
${
CMAKE_OSX_EXTERNAL_PROJECT_ARGS
}
...
...
@@ -85,7 +85,7 @@ if(NOT DEFINED ${proj}_DIR)
set
(
${
proj
}
_DIR
${
ep_install_dir
}
/lib/cmake/assimp-3.1
)
else
()
SimMed
TKEmptyExternalProject
(
${
proj
}
"
${${
proj
}
_DEPENDENCIES
}
"
)
iMS
TKEmptyExternalProject
(
${
proj
}
"
${${
proj
}
_DEPENDENCIES
}
"
)
endif
()
set
(
SimMed
TK_CMAKE_INCLUDE_PATH
${
CMAKE_BINARY_DIR
}
/SuperBuild/
${
proj
}
/include/
${
sep
}${
SimMed
TK_CMAKE_INCLUDE_PATH
}
)
set
(
iMS
TK_CMAKE_INCLUDE_PATH
${
CMAKE_BINARY_DIR
}
/SuperBuild/
${
proj
}
/include/
${
sep
}${
iMS
TK_CMAKE_INCLUDE_PATH
}
)
Prev
1
2
3
4
5
…
17
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment