---
name: "SbVec4us"
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/SbVec4us"
---

# SbVec4us(3)

## NAME

SbVec4us

## SYNOPSIS

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

### Public Member Functions

**SbVec4us** (const unsigned short v\[4\])\
 **SbVec4us** (unsigned short x, unsigned short y, unsigned short z, unsigned short w)\
 **SbVec4us** (const **SbVec4s** &v)\
 **SbVec4us** (const **SbVec4ub** &v)\
 **SbVec4us** (const **SbVec4ui32** &v)\
 **SbVec4us** & **setValue** (const unsigned short v\[4\])\
 **SbVec4us** & **setValue** (unsigned short x, unsigned short y, unsigned short z, unsigned short w)\
 **SbVec4us** & **setValue** (const **SbVec4s** &v)\
 **SbVec4us** & **setValue** (const **SbVec4ub** &v)\
 **SbVec4us** & **setValue** (const **SbVec4ui32** &v)\
 const unsigned short \* **getValue** (void) const\
 void **getValue** (unsigned short &x, unsigned short &y, unsigned short &z, unsigned short &w) const\
 unsigned short & **operator\[\]** (int i)\
 const unsigned short & **operator\[\]** (int i) const\
 int32\_t **dot** (const **SbVec4us** &v) const\
 void **negate** (void)\
 **SbVec4us** & **operator\*=** (int d)\
 **SbVec4us** & **operator\*=** (double d)\
 **SbVec4us** & **operator/=** (int d)\
 **SbVec4us** & **operator/=** (double d)\
 **SbVec4us** & **operator+=** (const **SbVec4us** &v)\
 **SbVec4us** & **operator-=** (const **SbVec4us** &v)\
 **SbVec4us** **operator-** (void) const\

### Protected Attributes

unsigned short **vec** \[4\]\

## Detailed Description

**Since**

Coin 2.5

## Author

Generated automatically by Doxygen for Coin from the source code.
