MCPcopy Create free account
hub / github.com/city-super/Octree-GS / setScene

Method setScene

SIBR_viewers/src/projects/basic/renderer/PointBasedView.cpp:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27void sibr::PointBasedView::setScene(const sibr::BasicIBRScene::Ptr & newScene) {
28 _scene = newScene;
29 const uint w = getResolution().x();
30 const uint h = getResolution().y();
31
32 _pointBasedRenderer.reset(new PointBasedRenderer());
33}
34
35void sibr::PointBasedView::onRenderIBR(sibr::IRenderTarget & dst, sibr::Camera & eye)
36{

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected