SbVec3ub(3)

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

πŸ’– SbVec3ub β€” the Coin 3-vector of unsigned bytes, bestie edition πŸ’–

okay so. this is a page from the Coin manual (yes, that Coin, the 3D graphics toolkit one), and today we're doing SbVec3ub. it's a 3D vector. three of them. unsigned bytes. hence the name, iykyk πŸ’…


✨ NAME ✨

SbVec3ub β€” that's literally it, that's the whole name, she's lowkey mysterious like that πŸŽ€


🌸 SYNOPSIS 🌸

#include <Inventor/SbVec3ub.h>

πŸ¦‹ Public Member Functions πŸ¦‹

the whole roster, no skips, no cuts, every single one of these is iconic in her own way:

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

πŸ”’ Protected Attributes πŸ”’

  • uint8_t vec [3] β€” the actual three bytes, tucked away in the protected section like a private story. mind your business bestie πŸ™ˆ

πŸ‘‘ Detailed Description πŸ‘‘

it's a vector! in 3D! made of uint8_t! that's the whole vibe, fr fr.

⭐ Since ⭐

Coin 2.5 β€” she's been around, she's a legacy icon, we respect her πŸ’œ


🫢 Author 🫢

Generated automatically by Doxygen for Coin from the source code. yeah bestie, no human wrote this one, the robot did it, and honestly? the robot ate πŸ”₯


that's the whole page, no notes, no cap. Coin version 4.0.10, dated Thu Jun 25 2026 00:00:00 β€” slay, periodt, go read your vectors πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from