Skip to content

Commit 3165a36

Browse files
committed
fix for build with pcl
1 parent 9d68671 commit 3165a36

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

visualization/PointCloudVisualizer.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ void surfelwarp::Visualizer::DrawPointCloud(const PointCloud3f_Pointer &point_cl
3030
viewer.addCoordinateSystem(2.0, "point cloud", 0);
3131
viewer.setBackgroundColor(0.05, 0.05, 0.05, 1);
3232
viewer.setPointCloudRenderingProperties(pcl::visualization::PCL_VISUALIZER_POINT_SIZE, 2, "point cloud");
33-
while (!viewer->wasStopped()) {
34-
viewer->spinOnce();
33+
while (!viewer.wasStopped()) {
34+
viewer.spinOnce();
3535
}
3636
#elif defined(WITH_CILANTRO)
3737
cilantro::Visualizer viewer(window_title, "display");
@@ -507,7 +507,7 @@ void surfelwarp::Visualizer::DrawMatchedRGBCloudPair(
507507
PointCloud3fRGB_Pointer transformed_cloud_1 = transformPointCloudRGB(cloud_1, from1To2);
508508

509509
//Hand in to drawer
510-
DrawMatchedCloudPair(transformed_cloud_1, cloud_2);
510+
DrawMatchedRGBCloudPair(transformed_cloud_1, cloud_2);
511511
}
512512

513513
void surfelwarp::Visualizer::DrawMatchedCloudPair(
@@ -521,7 +521,7 @@ void surfelwarp::Visualizer::DrawMatchedCloudPair(
521521
DeviceArray<float4>((float4 *) surfel_array.RawPtr(), surfel_array.Size()),
522522
DeviceArray<float4>((float4 *) color_time_array.RawPtr(), color_time_array.Size())
523523
);
524-
DrawMatchedCloudPair(cloud_1, cloud_2, camera2world);
524+
DrawMatchedRGBCloudPair(cloud_1, cloud_2, camera2world);
525525
}
526526

527527

0 commit comments

Comments
 (0)