Skip to content

Commit

Permalink
feat: namespace change from ParaView:: to STK::
Browse files Browse the repository at this point in the history
  • Loading branch information
chandan-satija committed Feb 28, 2024
1 parent dec6255 commit 63f037e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions Module/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ set(classes
stkLibiglBoolean3DMesher
)

vtk_module_add_module(ParaView::stkLibiglCopyleft
vtk_module_add_module(STK::LibiglCopyleft
CLASSES ${classes}
PRIVATE_HEADERS ${private_headers}
)
Expand All @@ -35,23 +35,23 @@ if(CGAL_FOUND)
"Enable concurrency"
ON)

vtk_module_definitions(ParaView::stkLibiglCopyleft PRIVATE NOMINMAX)
vtk_module_definitions(STK::LibiglCopyleft PRIVATE NOMINMAX)

# Link with CGAL
vtk_module_link(ParaView::stkLibiglCopyleft PUBLIC CGAL::CGAL)
vtk_module_link(STK::LibiglCopyleft PUBLIC CGAL::CGAL)

if(CGAL_ACTIVATE_CONCURRENCY)
if (NOT TARGET TBB::tbb)
find_package(TBB REQUIRED)
endif ()

if(TBB_FOUND)
vtk_module_definitions(ParaView::stkLibiglCopyleft PRIVATE CGAL_LINKED_WITH_TBB)
vtk_module_link(ParaView::stkLibiglCopyleft PRIVATE TBB::tbbmalloc TBB::tbb)
vtk_module_definitions(STK::LibiglCopyleft PRIVATE CGAL_LINKED_WITH_TBB)
vtk_module_link(STK::LibiglCopyleft PRIVATE TBB::tbbmalloc TBB::tbb)
endif(TBB_FOUND)
endif(CGAL_ACTIVATE_CONCURRENCY)
endif(CGAL_FOUND)

vtk_module_include(ParaView::stkLibiglCopyleft PRIVATE ${LIBIGL_DIR}/include)
vtk_module_include(STK::LibiglCopyleft PRIVATE ${LIBIGL_DIR}/include)

vtk_module_link(ParaView::stkLibiglCopyleft PUBLIC Eigen3::Eigen)
vtk_module_link(STK::LibiglCopyleft PUBLIC Eigen3::Eigen)
2 changes: 1 addition & 1 deletion Module/stkLibiglBoolean3DMesher.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ int stkLibiglBoolean3DMesher::RequestData(vtkInformation* vtkNotUsed(request),
inputMeshBCells, igl::MeshBooleanType::MESH_BOOLEAN_TYPE_INTERSECT, outputMeshVerts,
outputMeshCells);
}
else if (this->Mode == stkLibiglBoolean3DMesher::Modes::DIFFERENCE)
else if (this->Mode == stkLibiglBoolean3DMesher::Modes::DIFFERENCE1)
{
igl::copyleft::cgal::mesh_boolean(inputMeshAVerts, inputMeshACells, inputMeshBVerts,
inputMeshBCells, igl::MeshBooleanType::MESH_BOOLEAN_TYPE_MINUS, outputMeshVerts,
Expand Down
4 changes: 2 additions & 2 deletions Module/vtk.module
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
NAME
ParaView::stkLibiglCopyleft
STK::LibiglCopyleft
LIBRARY_NAME
stkLibiglCopyleft
DESCRIPTION
Libigl Copyleft sources and filters
DEPENDS
VTK::FiltersCore
VTK::FiltersGeometry
ParaView::stkLibiglCopyleftInterface
STK::LibiglCopyleftInterface
PRIVATE_DEPENDS
VTK::CommonCore
VTK::CommonSystem
Expand Down

0 comments on commit 63f037e

Please sign in to comment.