Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VTK
VTK
Commits
2afcadc7
Commit
2afcadc7
authored
Sep 23, 2016
by
Will Schroeder
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Point cloud integration issues
parent
eef22564
Pipeline
#27624
passed with stage
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
Filters/Points/Testing/Python/TestExtractPoints.py
Filters/Points/Testing/Python/TestExtractPoints.py
+2
-2
Filters/Points/Testing/Python/TestFitImplicitFunction.py
Filters/Points/Testing/Python/TestFitImplicitFunction.py
+2
-2
Filters/Points/Testing/Python/TestRadiusOutlierRemoval.py
Filters/Points/Testing/Python/TestRadiusOutlierRemoval.py
+2
-2
Filters/Points/vtkVoxelGrid.cxx
Filters/Points/vtkVoxelGrid.cxx
+1
-1
No files found.
Filters/Points/Testing/Python/TestExtractPoints.py
View file @
2afcadc7
...
...
@@ -36,8 +36,8 @@ extract.Update()
timer
.
StopTimer
()
time
=
timer
.
GetElapsedTime
()
print
(
"Time to remove points: {0}"
.
format
(
time
))
print
(
" Number removed: {0}"
.
format
(
extract
.
GetNumberOfPointsRemoved
())
,
" (out of
: {}"
.
format
(
NPts
))
print
(
" Number removed: {0}"
.
format
(
extract
.
GetNumberOfPointsRemoved
())
)
print
(
" Original number of points
: {
0
}"
.
format
(
NPts
))
# First output are the non-outliers
extMapper
=
vtk
.
vtkPointGaussianMapper
()
...
...
Filters/Points/Testing/Python/TestFitImplicitFunction.py
View file @
2afcadc7
...
...
@@ -37,8 +37,8 @@ extract.Update()
timer
.
StopTimer
()
time
=
timer
.
GetElapsedTime
()
print
(
"Time to extract points: {0}"
.
format
(
time
))
print
(
" Number removed: {0}"
.
format
(
extract
.
GetNumberOfPointsRemoved
())
,
" (out of
: {}"
.
format
(
NPts
))
print
(
" Number removed: {0}"
.
format
(
extract
.
GetNumberOfPointsRemoved
())
)
print
(
" Original number of points
: {
0
}"
.
format
(
NPts
))
# First output are the non-outliers
extMapper
=
vtk
.
vtkPointGaussianMapper
()
...
...
Filters/Points/Testing/Python/TestRadiusOutlierRemoval.py
View file @
2afcadc7
...
...
@@ -39,8 +39,8 @@ removal.Update()
timer
.
StopTimer
()
time
=
timer
.
GetElapsedTime
()
print
(
"Time to remove points: {0}"
.
format
(
time
))
print
(
" Number removed: {0}"
.
format
(
removal
.
GetNumberOfPointsRemoved
())
,
" (out of
: {}"
.
format
(
NPts
))
print
(
" Number removed: {0}"
.
format
(
removal
.
GetNumberOfPointsRemoved
())
)
print
(
" Original number of points
: {
0
}"
.
format
(
NPts
))
# First output are the non-outliers
remMapper
=
vtk
.
vtkPointGaussianMapper
()
...
...
Filters/Points/vtkVoxelGrid.cxx
View file @
2afcadc7
...
...
@@ -237,7 +237,7 @@ int vtkVoxelGrid::RequestData(
// Grab the point data for interpolation
vtkPointData
*
inPD
=
input
->
GetPointData
();
vtkPointData
*
outPD
=
output
->
GetPointData
();
outPD
->
InterpolateAllocate
(
inPD
,
num
Bin
s
);
outPD
->
InterpolateAllocate
(
inPD
,
num
OutPt
s
);
// Finally run over all of the bins, and those that are not emoty are
// processed. The processing consists of averaging all of the points found
...
...
Will Schroeder
@will.schroeder
Mentioned in commit
3b13ad9f
·
Sep 23, 2016
Mentioned in commit
3b13ad9f
Mentioned in commit 3b13ad9f4e7236a62d11e078b0c69ba6ce42a416
Toggle commit list
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