diff --git a/Module/CMakeLists.txt b/Module/CMakeLists.txt index 8038ce2..82286bc 100644 --- a/Module/CMakeLists.txt +++ b/Module/CMakeLists.txt @@ -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} ) @@ -35,10 +35,10 @@ 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) @@ -46,12 +46,12 @@ if(CGAL_FOUND) 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) \ No newline at end of file +vtk_module_link(STK::LibiglCopyleft PUBLIC Eigen3::Eigen) \ No newline at end of file diff --git a/Module/stkLibiglBoolean3DMesher.cxx b/Module/stkLibiglBoolean3DMesher.cxx index fcb93b3..10811c6 100644 --- a/Module/stkLibiglBoolean3DMesher.cxx +++ b/Module/stkLibiglBoolean3DMesher.cxx @@ -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, diff --git a/Module/vtk.module b/Module/vtk.module index e44c50c..4de9066 100644 --- a/Module/vtk.module +++ b/Module/vtk.module @@ -1,5 +1,5 @@ NAME - ParaView::stkLibiglCopyleft + STK::LibiglCopyleft LIBRARY_NAME stkLibiglCopyleft DESCRIPTION @@ -7,7 +7,7 @@ DESCRIPTION DEPENDS VTK::FiltersCore VTK::FiltersGeometry - ParaView::stkLibiglCopyleftInterface + STK::LibiglCopyleftInterface PRIVATE_DEPENDS VTK::CommonCore VTK::CommonSystem