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

Method resetCamera

apps/modeler/src/render_window.cpp:137–147  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

135
136//////////////////////////////////////////////////////////////////////////////////////////////
137void
138pcl::modeler::RenderWindow::resetCamera()
139{
140 double bounds[6];
141 getRenderWindowCompat(*this)
142 ->GetRenderers()
143 ->GetFirstRenderer()
144 ->ComputeVisiblePropBounds(bounds);
145 getRenderWindowCompat(*this)->GetRenderers()->GetFirstRenderer()->ResetCamera(bounds);
146 render();
147}
148
149//////////////////////////////////////////////////////////////////////////////////////////////
150void

Callers 15

visualizeFunction · 0.45
runMethod · 0.45
mainFunction · 0.45
showCamerasFunction · 0.45
createChannelsMethod · 0.45
updateRenderWindowMethod · 0.45
PCLViewerMethod · 0.45
loadFileButtonPressedMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 12

mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36