SbVec4i32(3)

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

πŸ’– SbVec4i32 πŸ’–

okay bestie, welcome to the Coin corner of the man pages, and today's main character is SbVec4i32 β€” she's a 4D vector of 32-bit signed integers and she's literally serving from Coin. Yes, we're doing a manual page. Yes, it's giving documentation. Let's go πŸ¦‹


✨ NAME ✨

SbVec4i32 β€” that's it, that's the whole name, no cap. The class itself, four int32_t values stacked together, living her best life πŸ’…


🌸 SYNOPSIS 🌸

first things first, you gotta invite her in:

#include <Inventor/SbVec4i32.h>

πŸŽ€ Public Member Functions πŸŽ€

constructors, because she needs to be born somehow:

SbVec4i32 (const int32_t v[4])
SbVec4i32 (int32_t x, int32_t y, int32_t z, int32_t w)
SbVec4i32 (const SbVec4ui32 &v)
SbVec4i32 (const SbVec4b &v)
SbVec4i32 (const SbVec4s &v)
SbVec4i32 (const SbVec4f &v)
SbVec4i32 (const SbVec4d &v)

setting values, the glow-up edition:

SbVec4i32 & setValue (const int32_t v[4])
SbVec4i32 & setValue (int32_t x, int32_t y, int32_t z, int32_t w)
SbVec4i32 & setValue (const SbVec4ui32 &v)
SbVec4i32 & setValue (const SbVec4b &v)
SbVec4i32 & setValue (const SbVec4s &v)
SbVec4i32 & setValue (const SbVec4f &v)
SbVec4i32 & setValue (const SbVec4d &v)

getting values back out β€” she can give you the whole array or spill the tea component by component:

const int32_t * getValue (void) const
void getValue (int32_t &x, int32_t &y, int32_t &z, int32_t &w) const

indexing, for when you want exactly one of them:

int32_t & operator[] (int i)
const int32_t & operator[] (int i) const

math time, she's lowkey a nerd:

int32_t dot (const SbVec4i32 &v) const
void negate (void)
SbVec4i32 & operator*= (int d)
SbVec4i32 & operator*= (double d)
SbVec4i32 & operator/= (int d)
SbVec4i32 & operator/= (double d)
SbVec4i32 & operator+= (const SbVec4i32 &v)
SbVec4i32 & operator-= (const SbVec4i32 &v)
SbVec4i32 operator- (void) const

🧚 Protected Attributes 🧚

the inner workings, protected, so hands off unless you're family:

int32_t vec [4]

🌈 Detailed Description 🌈

she's a vector. four of them. integers. signed. 32 bits each. that's the whole vibe check and she passed βœ…

⭐ Since ⭐

Coin 2.5 β€” she's been iconic since day one, fr fr πŸ‘‘


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for Coin from the source code. not a human author, just a robot doing her thing and honestly? she ate πŸ€–βœ¨


and that's the whole page, bestie β€” every option, every overload, every attribute, all of it, nothing skipped 🫢

Version 4.0.10 🌸 Thu Jun 25 2026 00:00:00 β€” yeah that's the source and the date, shoutout to the footer, she deserves credit too πŸ’– mwah, bye! πŸ’…

πŸ“¦ where this page comes from