SbVec4i32(3)
π 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
- 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