---
name: "SbVec4b"
section: "3"
platform: "linux"
package: "coin"
version: "1:4.0.10-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/SbVec4b"
---

# SbVec4b(3)

## NAME

SbVec4b

## SYNOPSIS

\#include \<Inventor/SbVec4b.h\>

### Public Member Functions

**SbVec4b** (const int8\_t v\[4\])\
 **SbVec4b** (int8\_t x, int8\_t y, int8\_t z, int8\_t w)\
 **SbVec4b** (const **SbVec4ub** &v)\
 **SbVec4b** (const **SbVec4s** &v)\
 **SbVec4b** (const **SbVec4i32** &v)\
 **SbVec4b** (const **SbVec4f** &v)\
 **SbVec4b** (const **SbVec4d** &v)\
 **SbVec4b** & **setValue** (const int8\_t v\[4\])\
 **SbVec4b** & **setValue** (int8\_t x, int8\_t y, int8\_t z, int8\_t w)\
 **SbVec4b** & **setValue** (const **SbVec4ub** &v)\
 **SbVec4b** & **setValue** (const **SbVec4s** &v)\
 **SbVec4b** & **setValue** (const **SbVec4i32** &v)\
 **SbVec4b** & **setValue** (const **SbVec4f** &v)\
 **SbVec4b** & **setValue** (const **SbVec4d** &v)\
 const int8\_t \* **getValue** (void) const\
 void **getValue** (int8\_t &x, int8\_t &y, int8\_t &z, int8\_t &w) const\
 int8\_t & **operator\[\]** (int i)\
 const int8\_t & **operator\[\]** (int i) const\
 int32\_t **dot** (**SbVec4b** v) const\
 void **negate** (void)\
 **SbVec4b** & **operator\*=** (int d)\
 **SbVec4b** & **operator\*=** (double d)\
 **SbVec4b** & **operator/=** (int d)\
 **SbVec4b** & **operator/=** (double d)\
 **SbVec4b** & **operator+=** (**SbVec4b** v)\
 **SbVec4b** & **operator-=** (**SbVec4b** v)\
 **SbVec4b** **operator-** (void) const\

### Protected Attributes

int8\_t **vec** \[4\]\

## Detailed Description

**Since**

Coin 2.5

## Author

Generated automatically by Doxygen for Coin from the source code.
