Commit 2afcadc7 authored by Will Schroeder's avatar Will Schroeder

Point cloud integration issues

parent eef22564
...@@ -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()
......
...@@ -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()
......
...@@ -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()
......
...@@ -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,numBins); outPD->InterpolateAllocate(inPD,numOutPts);
// 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment