Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Isaiah
VTK
Commits
2afcadc7
Commit
2afcadc7
authored
Sep 23, 2016
by
Will Schroeder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Point cloud integration issues
parent
eef22564
Changes
4
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()
...
@@ -36,8 +36,8 @@ extract.Update()
timer
.
StopTimer
()
timer
.
StopTimer
()
time
=
timer
.
GetElapsedTime
()
time
=
timer
.
GetElapsedTime
()
print
(
"Time to remove points: {0}"
.
format
(
time
))
print
(
"Time to remove points: {0}"
.
format
(
time
))
print
(
" Number removed: {0}"
.
format
(
extract
.
GetNumberOfPointsRemoved
())
,
print
(
" Number removed: {0}"
.
format
(
extract
.
GetNumberOfPointsRemoved
())
)
" (out of
: {}"
.
format
(
NPts
))
print
(
" Original number of points
: {
0
}"
.
format
(
NPts
))
# First output are the non-outliers
# First output are the non-outliers
extMapper
=
vtk
.
vtkPointGaussianMapper
()
extMapper
=
vtk
.
vtkPointGaussianMapper
()
...
...
Filters/Points/Testing/Python/TestFitImplicitFunction.py
View file @
2afcadc7
...
@@ -37,8 +37,8 @@ extract.Update()
...
@@ -37,8 +37,8 @@ extract.Update()
timer
.
StopTimer
()
timer
.
StopTimer
()
time
=
timer
.
GetElapsedTime
()
time
=
timer
.
GetElapsedTime
()
print
(
"Time to extract points: {0}"
.
format
(
time
))
print
(
"Time to extract points: {0}"
.
format
(
time
))
print
(
" Number removed: {0}"
.
format
(
extract
.
GetNumberOfPointsRemoved
())
,
print
(
" Number removed: {0}"
.
format
(
extract
.
GetNumberOfPointsRemoved
())
)
" (out of
: {}"
.
format
(
NPts
))
print
(
" Original number of points
: {
0
}"
.
format
(
NPts
))
# First output are the non-outliers
# First output are the non-outliers
extMapper
=
vtk
.
vtkPointGaussianMapper
()
extMapper
=
vtk
.
vtkPointGaussianMapper
()
...
...
Filters/Points/Testing/Python/TestRadiusOutlierRemoval.py
View file @
2afcadc7
...
@@ -39,8 +39,8 @@ removal.Update()
...
@@ -39,8 +39,8 @@ removal.Update()
timer
.
StopTimer
()
timer
.
StopTimer
()
time
=
timer
.
GetElapsedTime
()
time
=
timer
.
GetElapsedTime
()
print
(
"Time to remove points: {0}"
.
format
(
time
))
print
(
"Time to remove points: {0}"
.
format
(
time
))
print
(
" Number removed: {0}"
.
format
(
removal
.
GetNumberOfPointsRemoved
())
,
print
(
" Number removed: {0}"
.
format
(
removal
.
GetNumberOfPointsRemoved
())
)
" (out of
: {}"
.
format
(
NPts
))
print
(
" Original number of points
: {
0
}"
.
format
(
NPts
))
# First output are the non-outliers
# First output are the non-outliers
remMapper
=
vtk
.
vtkPointGaussianMapper
()
remMapper
=
vtk
.
vtkPointGaussianMapper
()
...
...
Filters/Points/vtkVoxelGrid.cxx
View file @
2afcadc7
...
@@ -237,7 +237,7 @@ int vtkVoxelGrid::RequestData(
...
@@ -237,7 +237,7 @@ int vtkVoxelGrid::RequestData(
// Grab the point data for interpolation
// Grab the point data for interpolation
vtkPointData
*
inPD
=
input
->
GetPointData
();
vtkPointData
*
inPD
=
input
->
GetPointData
();
vtkPointData
*
outPD
=
output
->
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
// 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
// processed. The processing consists of averaging all of the points found
...
...
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