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

Method rectanglePixels

SIBR_viewers/src/core/view/ImagesGrid.cpp:300–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 }
299
300 void DrawUtilities::rectanglePixels(const Vector3f & color, const Vector2f & center, const Vector2f & diagonalPixs, bool fill, float alpha, const Viewport & vp)
301 {
302 Vector2f diagUV = diagonalPixs.cwiseQuotient(vp.finalSize());
303 Vector2f tl = center - diagUV;
304 Vector2f br = center + diagUV;
305 rectangle(color, tl, br, fill, alpha, vp);
306 }
307
308 void DrawUtilities::circle(const Vector3f & color, const Vector2f & center, float radius, bool fill, float alpha, const Vector2f & scaling, int precision)
309 {

Callers 1

highlightPixelMethod · 0.45

Calls 1

finalSizeMethod · 0.80

Tested by

no test coverage detected