Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tube and Dilated Mesh Level Set Constructors #1935

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
d0fcb55
level set constructors
ghurstunither Oct 13, 2024
89746ad
CI Linux Warnings
ghurstunither Oct 14, 2024
98c1fd3
CI Linux Warnings
ghurstunither Oct 14, 2024
ed6492c
CI Linux Warnings
ghurstunither Oct 14, 2024
7173225
CI Linux Warnings
ghurstunither Oct 14, 2024
a058051
CI Linux Warnings
ghurstunither Oct 14, 2024
7054324
CI Linux Warnings
ghurstunither Oct 15, 2024
b575c85
Update ConvexVoxelizer.h
ghurstunither Oct 15, 2024
af3c72b
Update ConvexVoxelizer.h
ghurstunither Oct 17, 2024
b6c9d77
Correct SPDX-License-Identifier
ghurstunither Oct 22, 2024
e467531
Merge remote-tracking branch 'upstream/master' into feature/levet_set…
ghurstunither Oct 22, 2024
ca62d3e
thick -> dilate
ghurstunither Oct 23, 2024
f9f3ba0
Create level_set_constructors.txt
ghurstunither Oct 24, 2024
f309215
ConvexVoxelizer CRTP
ghurstunither Oct 31, 2024
ece8f8a
float -> ValueT
ghurstunither Oct 31, 2024
7dea013
Merge remote-tracking branch 'upstream/master' into feature/levet_set…
ghurstunither Nov 1, 2024
d48b5cf
Update ConvexVoxelizer.h
ghurstunither Nov 1, 2024
2877567
Merge remote-tracking branch 'upstream/master' into feature/levet_set…
ghurstunither Nov 1, 2024
397b003
TestLevelSetTubes.cc
ghurstunither Nov 4, 2024
3ea8d73
Tests for tapered capsules
ghurstunither Nov 5, 2024
7f06613
Tests for tube complex
ghurstunither Nov 5, 2024
a43589d
Update TestLevelSetTubes.cc
ghurstunither Nov 5, 2024
feef81f
tests for dilated mesh
ghurstunither Nov 6, 2024
ae12107
Merge remote-tracking branch 'upstream/master' into feature/levet_set…
ghurstunither Nov 6, 2024
50ef677
Update TestLevelSetDilatedMesh.cc
ghurstunither Nov 6, 2024
f0bac05
Update TestTools.cc
ghurstunither Nov 6, 2024
9d98801
more dilated mesh tests
ghurstunither Nov 6, 2024
6874b96
Update TestLevelSetDilatedMesh.cc
ghurstunither Nov 6, 2024
6cc980d
Split dilated mesh tests
ghurstunither Nov 6, 2024
5cd75a3
negative radii & empty data
ghurstunither Nov 6, 2024
2fa49a2
Update ConvexVoxelizer.h
ghurstunither Nov 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions openvdb/openvdb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ set(OPENVDB_LIBRARY_TOOLS_INCLUDE_FILES
tools/ChangeBackground.h
tools/Clip.h
tools/Composite.h
tools/ConvexVoxelizer.h
tools/Count.h
tools/Dense.h
tools/DenseSparseTools.h
Expand All @@ -484,6 +485,7 @@ set(OPENVDB_LIBRARY_TOOLS_INCLUDE_FILES
tools/GridTransformer.h
tools/Interpolation.h
tools/LevelSetAdvect.h
tools/LevelSetDilatedMesh.h
tools/LevelSetFilter.h
tools/LevelSetFracture.h
tools/LevelSetMeasure.h
Expand All @@ -492,6 +494,7 @@ set(OPENVDB_LIBRARY_TOOLS_INCLUDE_FILES
tools/LevelSetRebuild.h
tools/LevelSetSphere.h
tools/LevelSetTracker.h
tools/LevelSetTubes.h
tools/LevelSetUtil.h
tools/Mask.h
tools/Merge.h
Expand Down
2 changes: 1 addition & 1 deletion openvdb/openvdb/math/Vec2.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class Vec2: public Tuple<2, T>
Vec2<T> unitSafe() const
{
T l2 = lengthSqr();
return l2 ? *this/static_cast<T>(sqrt(l2)) : Vec2<T>(1,0);
return l2 != T(0) ? *this/static_cast<T>(sqrt(l2)) : Vec2<T>(1,0);
}

/// Multiply each element of this vector by @a scalar.
Expand Down
2 changes: 1 addition & 1 deletion openvdb/openvdb/math/Vec3.h
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ class Vec3: public Tuple<3, T>
Vec3<T> unitSafe() const
{
T l2 = lengthSqr();
return l2 ? *this / static_cast<T>(sqrt(l2)) : Vec3<T>(1, 0 ,0);
return l2 != T(0) ? *this / static_cast<T>(sqrt(l2)) : Vec3<T>(1, 0 ,0);
}

// Number of cols, rows, elements
Expand Down
Loading
Loading