SbVec4ui32(3)
π NAME π
okay so bestie, welcome to SbVec4ui32 β she's the 4-component vector of unsigned 32-bit integers from the Coin crew, and yes, this is the section 3 manual page for her. four unsigned ints, all in a little row, living her best life. periodt. β¨
β¨ SYNOPSIS β¨
first things first, you gotta let her in the door:
#include <Inventor/SbVec4ui32.h>
π«Ά Public Member Functions
SbVec4ui32 (const uint32_t v[4])β glow-up from an array of 4uint32_tvalues, fr fr.SbVec4ui32 (uint32_t x, uint32_t y, uint32_t z, uint32_t w)β build her from four separate numbers, one for each slot.SbVec4ui32 (const SbVec4i32 &v)β copy the vibe over from anSbVec4i32.SbVec4ui32 (const SbVec4ub &v)β and from anSbVec4ubtoo, she's not picky π .SbVec4ui32 (const SbVec4us &v)β also from anSbVec4us. versatile queen.SbVec4ui32 & setValue (const uint32_t v[4])β swap in a whole new array of 4uint32_ts.SbVec4ui32 & setValue (uint32_t x, uint32_t y, uint32_t z, uint32_t w)β or set each of the four slots by hand.SbVec4ui32 & setValue (const SbVec4i32 &v)β or just yoink the values from anSbVec4i32.SbVec4ui32 & setValue (const SbVec4ub &v)β or from anSbVec4ub, no cap.SbVec4ui32 & setValue (const SbVec4us &v)β or from anSbVec4us, slay.const uint32_t * getValue (void) constβ hand you back a pointer to the raw numbers.void getValue (uint32_t &x, uint32_t &y, uint32_t &z, uint32_t &w) constβ or spill all four of them into your own variables.uint32_t & operator[] (int i)β index into her like an array, and yeah you can write to that slot.const uint32_t & operator[] (int i) constβ the read-only version, for when you're just looking respectfully π.int32_t dot (const SbVec4ui32 &v) constβ the dot product with another vector, returns anint32_t.void negate (void)β flip the sign on everything, in place, no returns, just vibes.SbVec4ui32 & operator*= (int d)β multiply every component by anint, right on the spot.SbVec4ui32 & operator*= (double d)β same energy but with adouble.SbVec4ui32 & operator/= (int d)β divide every component by anint, in place.SbVec4ui32 & operator/= (double d)β and divide by adoubletoo.SbVec4ui32 & operator+= (const SbVec4ui32 &v)β add anotherSbVec4ui32component-wise, right into her.SbVec4ui32 & operator-= (const SbVec4ui32 &v)β subtract anotherSbVec4ui32component-wise, in place.SbVec4ui32 operator- (void) constβ unary minus, gives you back a fresh negatedSbVec4ui32. main character energy π₯.
π Protected Attributes
uint32_t vec [4]β the actual storage, fouruint32_ts chilling in an array. protected, so hands off unless you're a subclass, bestie.
πΈ DETAILED DESCRIPTION πΈ
she's a four-component vector of unsigned 32-bit integers, that's the whole thing, and she does it beautifully. π
Since
Coin 2.5 β she's been iconic since then, iykyk.
π AUTHOR π
Generated automatically by Doxygen for Coin from the source code. not a human author, just the machine doing its little thing π€β¨.
okay that's the whole page, bestie!! this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it's the SbVec4ui32(3) page straight out of the Coin manual. go forth and vector, you absolute queen π«Άπ
π
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms