SbVec4i32(3)

πŸ“¦ version 3.1.3, in fedora 43, fedora 44

πŸ’– SbVec4i32 πŸ’–

okay bestie, gather round, because we're doing a Library Functions Manual deep-dive and this one is a whole 4D integer vector situation 🫢 it's giving "math but make it cute", it's giving "Coin 3.5 era icon", and honestly? I'm obsessed.


✨ NAME ✨

SbVec4i32 β€” literally just the name, that's the whole vibe, a four-component vector of int32_t values πŸ’…


🌸 SYNOPSIS 🌸

first things first, you gotta let it in the door:

#include <Inventor/SbVec4i32.h>

πŸŽ€ Public Member Functions πŸŽ€

here's the full roster, no cap, every single one, exactly as written:

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)
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)
const int32_t * getValue (void) const
void getValue (int32_t &x, int32_t &y, int32_t &z, int32_t &w) const
int32_t & operator[] (int i)
const int32_t & operator[] (int i) const
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

like… seven constructors, seven setValues, and a whole squad of operators? main character energy fr fr πŸ”₯

πŸ¦‹ Protected Attributes πŸ¦‹

the secret stash, protected, do not touch unless you're a subclass bestie:

int32_t vec [4]

πŸ’œ Detailed Description πŸ’œ

Since Coin 2.5

that's it, that's the tea β˜• it's been here since Coin 2.5, serving int32_t realness in four whole dimensions. iconic behavior.


🌈 Author 🌈

Generated automatically by Doxygen for Coin from the source code. not a human, just a very diligent little robot doing its thing πŸ€–βœ¨


and that's the whole page, bestie!! no notes, ate and left no crumbs πŸ’… this little legend lives in the Coin docs, Version 3.1.3 β€” mwah, go forth and vector responsibly πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from