SbVec4b(3)

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

πŸ’– 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 time
  • SbVec4b (const SbVec4ub &v) β€” copy-construct from an SbVec4ub, iconic crossover
  • SbVec4b (const SbVec4s &v) β€” and from an SbVec4s
  • SbVec4b (const SbVec4i32 &v) β€” and from an SbVec4i32
  • SbVec4b (const SbVec4f &v) β€” and from an SbVec4f
  • SbVec4b (const SbVec4d &v) β€” and from an SbVec4d, periodt
  • SbVec4b & setValue (const int8_t v[4]) β€” set all 4 at once from an array, returns herself so you can chain
  • SbVec4b & setValue (int8_t x, int8_t y, int8_t z, int8_t w) β€” set all 4 individually, also returns herself
  • SbVec4b & setValue (const SbVec4ub &v) β€” set from an SbVec4ub
  • SbVec4b & setValue (const SbVec4s &v) β€” set from an SbVec4s
  • SbVec4b & setValue (const SbVec4i32 &v) β€” set from an SbVec4i32
  • SbVec4b & setValue (const SbVec4f &v) β€” set from an SbVec4f
  • SbVec4b & setValue (const SbVec4d &v) β€” set from an SbVec4d
  • const 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 refs
  • int8_t & operator[] (int i) β€” index in, get a mutable ref back
  • const int8_t & operator[] (int i) const β€” the const version, no editing bestie
  • int32_t dot (SbVec4b v) const β€” the dot product with another SbVec4b, math girlie behavior 🧚
  • void negate (void) β€” flip all her signs, main character moment
  • SbVec4b & operator*= (int d) β€” multiply in place by an int
  • SbVec4b & operator*= (double d) β€” multiply in place by a double
  • SbVec4b & operator/= (int d) β€” divide in place by an int
  • SbVec4b & operator/= (double d) β€” divide in place by a double
  • SbVec4b & operator+= (SbVec4b v) β€” add another SbVec4b onto her
  • SbVec4b & operator-= (SbVec4b v) β€” subtract another SbVec4b from her
  • SbVec4b 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