MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / setupStyle

Method setupStyle

visualization/src/pcl_visualizer.cpp:428–442  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

426
427/////////////////////////////////////////////////////////////////////////////////////////////
428void pcl::visualization::PCLVisualizer::setupStyle ()
429{
430 if (!style_)
431 PCL_ERROR ("Pointer to style is null\n");
432
433 // Set rend erer window in case no interactor is created
434 style_->setRenderWindow (win_);
435
436 // Create the interactor style
437 style_->Initialize ();
438 style_->setRendererCollection (rens_);
439 style_->setCloudActorMap (cloud_actor_map_);
440 style_->setShapeActorMap (shape_actor_map_);
441 style_->UseTimersOn ();
442}
443
444/////////////////////////////////////////////////////////////////////////////////////////////
445void pcl::visualization::PCLVisualizer::setDefaultWindowSizeAndPos ()

Callers

nothing calls this directly

Calls 3

InitializeMethod · 0.45
setRendererCollectionMethod · 0.45
setCloudActorMapMethod · 0.45

Tested by

no test coverage detected