MCPcopy Create free account
hub / github.com/RenderKit/ospray / getVariance

Method getVariance

modules/cpu/fb/LocalFB.cpp:255–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255float LocalFrameBuffer::getVariance() const
256{
257 // Return maximum error over all tasks if variance has been calculated in a
258 // FrameOp
259 if (varianceFrameOp && varianceFrameOp->validError())
260 return varianceFrameOp->getAvgError(errorThreshold);
261
262 // Return set value otherwise
263 return FrameBuffer::getVariance();
264}
265
266std::string LocalFrameBuffer::toString() const
267{

Callers

nothing calls this directly

Calls 3

getVarianceFunction · 0.85
validErrorMethod · 0.80
getAvgErrorMethod · 0.80

Tested by

no test coverage detected