SbVec4ui32(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– 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 4 uint32_t values, 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 an SbVec4i32.
  • SbVec4ui32 (const SbVec4ub &v) β€” and from an SbVec4ub too, she's not picky πŸ’….
  • SbVec4ui32 (const SbVec4us &v) β€” also from an SbVec4us. versatile queen.
  • SbVec4ui32 & setValue (const uint32_t v[4]) β€” swap in a whole new array of 4 uint32_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 an SbVec4i32.
  • SbVec4ui32 & setValue (const SbVec4ub &v) β€” or from an SbVec4ub, no cap.
  • SbVec4ui32 & setValue (const SbVec4us &v) β€” or from an SbVec4us, 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 an int32_t.
  • void negate (void) β€” flip the sign on everything, in place, no returns, just vibes.
  • SbVec4ui32 & operator*= (int d) β€” multiply every component by an int, right on the spot.
  • SbVec4ui32 & operator*= (double d) β€” same energy but with a double.
  • SbVec4ui32 & operator/= (int d) β€” divide every component by an int, in place.
  • SbVec4ui32 & operator/= (double d) β€” and divide by a double too.
  • SbVec4ui32 & operator+= (const SbVec4ui32 &v) β€” add another SbVec4ui32 component-wise, right into her.
  • SbVec4ui32 & operator-= (const SbVec4ui32 &v) β€” subtract another SbVec4ui32 component-wise, in place.
  • SbVec4ui32 operator- (void) const β€” unary minus, gives you back a fresh negated SbVec4ui32. main character energy πŸ”₯.

πŸŽ€ Protected Attributes

  • uint32_t vec [4] β€” the actual storage, four uint32_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