SbVec3ui32(3)

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

πŸ’– SbVec3ui32 πŸ’–

okay bestie, gather round, because this one is a tiny little page from the Coin manual and honestly? she's giving minimalism. no cap. it's a whole class for a 3D vector where every single number is a uint32_t, and the docs are short enough that we can read the whole thing together. let's go 🫢


✨ NAME ✨

SbVec3ui32 β€” your three-dimensional vector of uint32_t values, straight out of Coin. yes queen, that's the whole name, she said what she said πŸ’…


🌸 SYNOPSIS 🌸

#include <Inventor/SbVec3ui32.h>

πŸŽ€ Public Member Functions πŸŽ€

here's the full roster, copied exactly so nothing gets lost in the group chat:

SbVec3ui32 (const uint32_t v[3])
SbVec3ui32 (uint32_t x, uint32_t y, uint32_t z)
SbVec3ui32 (const SbVec3i32 &v)
SbVec3ui32 (const SbVec3ub &v)
SbVec3ui32 (const SbVec3us &v)
SbVec3ui32 & setValue (const uint32_t v[3])
SbVec3ui32 & setValue (uint32_t x, uint32_t y, uint32_t z)
SbVec3ui32 & setValue (const SbVec3i32 &v)
SbVec3ui32 & setValue (const SbVec3ub &v)
SbVec3ui32 & setValue (const SbVec3us &v)
const uint32_t * getValue (void) const
void getValue (uint32_t &x, uint32_t &y, uint32_t &z) const
uint32_t & operator[] (int i)
const uint32_t & operator[] (int i) const
int32_t dot (const SbVec3ui32 &v) const
void negate (void)
SbVec3ui32 & operator*= (int d)
SbVec3ui32 & operator*= (double d)
SbVec3ui32 & operator/= (int d)
SbVec3ui32 & operator/= (double d)
SbVec3ui32 & operator+= (const SbVec3ui32 &v)
SbVec3ui32 & operator-= (const SbVec3ui32 &v)
SbVec3ui32 operator- (void) const

and now the vibe check, one by one πŸ‘‡

  • SbVec3ui32 (const uint32_t v[3]) β€” makes a brand new vector by grabbing three values out of an array.
  • SbVec3ui32 (uint32_t x, uint32_t y, uint32_t z) β€” makes one from three numbers handed to you directly, in x, y, z order.
  • SbVec3ui32 (const SbVec3i32 &v) β€” makes one from an existing SbVec3i32.
  • SbVec3ui32 (const SbVec3ub &v) β€” makes one from an existing SbVec3ub.
  • SbVec3ui32 (const SbVec3us &v) β€” makes one from an existing SbVec3us.
  • SbVec3ui32 & setValue (const uint32_t v[3]) β€” same idea as the array constructor, except she overwrites the vector you already have. and she hands the vector back to you so you can keep chaining, main character energy ✨
  • SbVec3ui32 & setValue (uint32_t x, uint32_t y, uint32_t z) β€” overwrites with three numbers instead of building fresh. returns the vector, as before.
  • SbVec3ui32 & setValue (const SbVec3i32 &v) β€” overwrites from an SbVec3i32. returns the vector.
  • SbVec3ui32 & setValue (const SbVec3ub &v) β€” overwrites from an SbVec3ub. returns the vector.
  • SbVec3ui32 & setValue (const SbVec3us &v) β€” overwrites from an SbVec3us. returns the vector.
  • const uint32_t * getValue (void) const β€” hands you back a pointer to the three uint32_t values. read-only, bestie, don't go editing through it.
  • void getValue (uint32_t &x, uint32_t &y, uint32_t &z) const β€” instead of a pointer, this one copies the three values out into your own x, y and z variables. returns nothing.
  • uint32_t & operator[] (int i) β€” index into the vector and get a reference back, so you can read and write. iconic.
  • const uint32_t & operator[] (int i) const β€” the const flavour of the same thing, and it gives you a const reference back.
  • int32_t dot (const SbVec3ui32 &v) const β€” dot product against another SbVec3ui32, and the answer comes back as an int32_t.
  • void negate (void) β€” negates the vector, in place. returns nothing, she just does it πŸ’…
  • SbVec3ui32 & operator*= (int d) β€” multiplies in place by an int, returns the vector.
  • SbVec3ui32 & operator*= (double d) β€” multiplies in place by a double, returns the vector.
  • SbVec3ui32 & operator/= (int d) β€” divides in place by an int, returns the vector.
  • SbVec3ui32 & operator/= (double d) β€” divides in place by a double, returns the vector.
  • SbVec3ui32 & operator+= (const SbVec3ui32 &v) β€” adds another SbVec3ui32 in place, returns the vector.
  • SbVec3ui32 & operator-= (const SbVec3ui32 &v) β€” subtracts another SbVec3ui32 in place, returns the vector.
  • SbVec3ui32 operator- (void) const β€” the unary minus. gives you a negated copy, and note she returns a whole new SbVec3ui32, not a reference. no touching the original πŸŽ€

πŸ¦‹ Protected Attributes πŸ¦‹

  • uint32_t vec [3] β€” the actual three numbers living inside. that's it, that's the whole storage situation. humble. lowkey obsessed.

πŸ’œ Detailed Description πŸ’œ

ngl, there is not a lot of prose here β€” the whole "detailed description" is basically just the Since note. the source code said what it said and dipped πŸ™ˆ

⭐ Since ⭐

Coin 2.5

✍️ Author ✍️

Generated automatically by Doxygen for Coin from the source code.

so yeah, nobody sat down and lovingly hand-wrote this β€” Doxygen did it, from the Coin source. shoutout to the robots πŸ€–πŸ’–

and that's the whole page, bestie!! ✨ this little legend came to you from Version 4.0.10, dated Thu Jun 25 2026 00:00:00 β€” yes, that's the timestamp, we're keeping it exactly as she is. mwah, go build something cute with your uint32_t vectors πŸ«ΆπŸŒΈπŸ’…

πŸ“¦ where this page comes from