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

Method plot

visualization/src/pcl_plotter.cpp:396–409  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

394
395//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
396void
397pcl::visualization::PCLPlotter::plot ()
398{
399 //apply current states
400 view_->GetRenderer ()->SetBackground (bkg_color_[0], bkg_color_[1], bkg_color_[2]);
401 view_->GetRenderWindow ()->SetSize (win_width_, win_height_);
402 view_->GetRenderWindow ()->SetPosition (win_x_, win_y_);
403 view_->GetInteractor ()->Initialize ();
404
405 //according to vtk bug 976, SetWindowName must be called after RenderWindow Initialize();
406 view_->GetRenderWindow ()->SetWindowName (win_name_.c_str());
407 view_->GetRenderWindow ()->Render ();
408 view_->GetInteractor ()->Start ();
409}
410
411//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
412void

Callers 1

spinMethod · 0.95

Calls 1

InitializeMethod · 0.45

Tested by

no test coverage detected