SbVec4b(3)
π SbVec4b π
okay so bestie, welcome to the glow-up page for SbVec4b β she lives in the Library Functions Manual and she's literally a 4-component vector of int8_t. tiny but mighty, no cap. β¨
πΈ NAME πΈ
SbVec4b β the four-of-a-kind int8 vector, and yes she ate π
π SYNOPSIS π
#include <Inventor/SbVec4b.h>
β¨ Public Member Functions β¨
SbVec4b (const int8_t v[4])β build her from a whole array of 4, bestie π«ΆSbVec4b (int8_t x, int8_t y, int8_t z, int8_t w)β build her from four lil values, one at a timeSbVec4b (const SbVec4ub &v)β copy-construct from anSbVec4ub, iconic crossoverSbVec4b (const SbVec4s &v)β and from anSbVec4sSbVec4b (const SbVec4i32 &v)β and from anSbVec4i32SbVec4b (const SbVec4f &v)β and from anSbVec4fSbVec4b (const SbVec4d &v)β and from anSbVec4d, periodtSbVec4b & setValue (const int8_t v[4])β set all 4 at once from an array, returns herself so you can chainSbVec4b & setValue (int8_t x, int8_t y, int8_t z, int8_t w)β set all 4 individually, also returns herselfSbVec4b & setValue (const SbVec4ub &v)β set from anSbVec4ubSbVec4b & setValue (const SbVec4s &v)β set from anSbVec4sSbVec4b & setValue (const SbVec4i32 &v)β set from anSbVec4i32SbVec4b & setValue (const SbVec4f &v)β set from anSbVec4fSbVec4b & setValue (const SbVec4d &v)β set from anSbVec4dconst int8_t * getValue (void) constβ hand you a pointer to her internal 4 values (peek, don't touch π«£)void getValue (int8_t &x, int8_t &y, int8_t &z, int8_t &w) constβ or copy the 4 values out into your own refsint8_t & operator[] (int i)β index in, get a mutable ref backconst int8_t & operator[] (int i) constβ the const version, no editing bestieint32_t dot (SbVec4b v) constβ the dot product with anotherSbVec4b, math girlie behavior π§void negate (void)β flip all her signs, main character momentSbVec4b & operator*= (int d)β multiply in place by anintSbVec4b & operator*= (double d)β multiply in place by adoubleSbVec4b & operator/= (int d)β divide in place by anintSbVec4b & operator/= (double d)β divide in place by adoubleSbVec4b & operator+= (SbVec4b v)β add anotherSbVec4bonto herSbVec4b & operator-= (SbVec4b v)β subtract anotherSbVec4bfrom herSbVec4b operator- (void) constβ returns the negated copy, the unary minus vibe π
π Protected Attributes π
int8_t vec [4]β her whole entire soul, lowkey: just 4 int8s chillin in an array π
π Detailed Description π
β Since β
Coin 2.5 β she's been serving since Coin 2.5, an OG fr fr π
π¦ Author π¦
Generated automatically by Doxygen for Coin from the source code. (not a human, just a very diligent little robot π)
ok that's the whole page bestie, every flag and signature accounted for, nothing skipped, we keep the facts and bring the vibe π
and that's a wrap! this page came from Coin, Version 3.1.3, and it's the SbVec4b(3) manual page β mwah, slay, bye π«Άβ¨π
π¦ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms