Skip to content

Commit 545649c

Browse files
committed
move files related to adaptivity
1 parent 47b5653 commit 545649c

16 files changed

Lines changed: 20 additions & 34 deletions

CMakeLists.txt

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -68,40 +68,6 @@ set(SOURCE_FILES
6868
${SHELL_SRC_DIR}/shells2/mapping/BezierShellMechanicalMapping.cpp
6969
)
7070

71-
if(SOFA-PLUGIN_SHELLS_ADAPTIVITY)
72-
set(COMPILER_DEFINE "SOFA_BUILD_SHELLS_ADAPTIVITY")
73-
74-
list(APPEND HEADER_FILES
75-
${SHELL_SRC_DIR}/controller/AdaptiveCuttingController.h
76-
${SHELL_SRC_DIR}/controller/AdaptiveCuttingController.inl
77-
${SHELL_SRC_DIR}/controller/Test2DAdapter.h
78-
${SHELL_SRC_DIR}/controller/Test2DAdapter.inl
79-
${SHELL_SRC_DIR}/misc/Optimize2DSurface.h
80-
${SHELL_SRC_DIR}/misc/Optimize2DSurface.inl
81-
${SHELL_SRC_DIR}/misc/SurfaceParametrization.h
82-
${SHELL_SRC_DIR}/misc/SurfaceParametrization.inl
83-
)
84-
85-
list(APPEND SOURCE_FILES
86-
${SHELL_SRC_DIR}/controller/AdaptiveCuttingController.cpp
87-
${SHELL_SRC_DIR}/controller/Test2DAdapter.cpp
88-
${SHELL_SRC_DIR}/misc/Optimize2DSurface.cpp
89-
${SHELL_SRC_DIR}/misc/SurfaceParametrization.cpp
90-
)
91-
92-
if(SofaGui_FOUND AND SofaOpenglVisual_FOUND)
93-
list(APPEND HEADER_FILES
94-
${SHELL_SRC_DIR}/cutting/AdaptiveCutting.h
95-
)
96-
97-
list(APPEND SOURCE_FILES
98-
${SHELL_SRC_DIR}/cutting/AdaptiveCutting.cpp
99-
)
100-
endif()
101-
102-
endif()
103-
104-
10571
# Create the plugin library
10672
add_library(${PROJECT_NAME} SHARED ${HEADER_FILES} ${SOURCE_FILES} ${README_FILES})
10773

extensions/Shell.Adaptivity/CMakeLists.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,30 @@ sofa_find_package(Shell REQUIRED)
88
set(HEADER_FILES
99
src/Shell/Adaptivity/config.h.in
1010
src/Shell/Adaptivity/init.h
11+
12+
src/Shell/Adaptivity/controller/AdaptiveCuttingController.h
13+
src/Shell/Adaptivity/controller/AdaptiveCuttingController.inl
14+
src/Shell/Adaptivity/controller/Test2DAdapter.h
15+
src/Shell/Adaptivity/controller/Test2DAdapter.inl
16+
17+
src/Shell/Adaptivity/cutting/AdaptiveCutting.h
18+
19+
src/Shell/Adaptivity/misc/Optimize2DSurface.h
20+
src/Shell/Adaptivity/misc/Optimize2DSurface.inl
21+
src/Shell/Adaptivity/misc/SurfaceParametrization.h
22+
src/Shell/Adaptivity/misc/SurfaceParametrization.inl
1123
)
1224

1325
set(SOURCE_FILES
1426
src/Shell/Adaptivity/init.cpp
27+
28+
src/Shell/Adaptivity/controller/AdaptiveCuttingController.cpp
29+
src/Shell/Adaptivity/controller/Test2DAdapter.cpp
30+
31+
src/Shell/Adaptivity/cutting/AdaptiveCutting.h
32+
33+
src/Shell/Adaptivity/misc/Optimize2DSurface.cpp
34+
src/Shell/Adaptivity/misc/SurfaceParametrization.cpp
1535
)
1636

1737
add_library(${PROJECT_NAME} SHARED ${HEADER_FILES} ${SOURCE_FILES})

src/Shell/controller/AdaptiveCuttingController.cpp renamed to extensions/Shell.Adaptivity/src/Shell/Adaptivity/controller/AdaptiveCuttingController.cpp

File renamed without changes.

src/Shell/controller/AdaptiveCuttingController.h renamed to extensions/Shell.Adaptivity/src/Shell/Adaptivity/controller/AdaptiveCuttingController.h

File renamed without changes.

src/Shell/controller/AdaptiveCuttingController.inl renamed to extensions/Shell.Adaptivity/src/Shell/Adaptivity/controller/AdaptiveCuttingController.inl

File renamed without changes.

src/Shell/controller/Test2DAdapter.cpp renamed to extensions/Shell.Adaptivity/src/Shell/Adaptivity/controller/Test2DAdapter.cpp

File renamed without changes.

src/Shell/controller/Test2DAdapter.h renamed to extensions/Shell.Adaptivity/src/Shell/Adaptivity/controller/Test2DAdapter.h

File renamed without changes.

src/Shell/controller/Test2DAdapter.inl renamed to extensions/Shell.Adaptivity/src/Shell/Adaptivity/controller/Test2DAdapter.inl

File renamed without changes.

src/Shell/cutting/AdaptiveCutting.cpp renamed to extensions/Shell.Adaptivity/src/Shell/Adaptivity/cutting/AdaptiveCutting.cpp

File renamed without changes.

src/Shell/cutting/AdaptiveCutting.h renamed to extensions/Shell.Adaptivity/src/Shell/Adaptivity/cutting/AdaptiveCutting.h

File renamed without changes.

0 commit comments

Comments
 (0)