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

Method display

visualization/src/pcl_painter2D.cpp:270–282  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

268
269//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
270void
271pcl::visualization::PCLPainter2D::display ()
272{
273 view_->GetRenderer ()->SetBackground (bkg_color_[0], bkg_color_[1], bkg_color_[2]);
274 view_->GetRenderWindow ()->SetSize (win_width_, win_height_);
275
276 //vtkOpenGLContextDevice2D::SafeDownCast (view_->GetContext ()->GetDevice ())->SetStringRendererToFreeType ();
277 //view_->GetRenderWindow ()->SetMultiSamples (3);
278
279 view_->GetInteractor ()->Initialize ();
280 view_->GetRenderer ()->Render ();
281 view_->GetInteractor ()->Start ();
282}
283
284//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
285void

Callers 1

spinMethod · 0.95

Calls 1

InitializeMethod · 0.45

Tested by

no test coverage detected