4D vector class.
More...
#include <Inventor/SbVec.h>
|
SbVec4ui32 | operator* (const SbVec4ui32 &v, int d) |
| Component-wise binary scalar multiplication operator.
|
|
SbVec4ui32 | operator* (const SbVec4ui32 &v, double d) |
| Component-wise binary scalar multiplication operator.
|
|
SbVec4ui32 | operator* (int d, const SbVec4ui32 &v) |
| Component-wise binary scalar multiplication operator.
|
|
SbVec4ui32 | operator* (double d, const SbVec4ui32 &v) |
| Component-wise binary scalar multiplication operator.
|
|
SbVec4ui32 | operator/ (const SbVec4ui32 &v, int d) |
| Component-wise binary scalar division operator.
|
|
SbVec4ui32 | operator/ (const SbVec4ui32 &v, double d) |
| Component-wise binary scalar division operator.
|
|
SbVec4ui32 | operator+ (const SbVec4ui32 &v1, const SbVec4ui32 &v2) |
| Component-wise binary vector addition operator.
|
|
SbVec4ui32 | operator- (const SbVec4ui32 &v1, const SbVec4ui32 &v2) |
| Component-wise binary vector subtraction operator.
|
|
int | operator== (const SbVec4ui32 &v1, const SbVec4ui32 &v2) |
| Equality comparison operator.
|
|
int | operator!= (const SbVec4ui32 &v1, const SbVec4ui32 &v2) |
| Inequality comparison operator.
|
|
std::ostream & | operator<< (std::ostream &os, const SbVec4ui32 &v) |
| Writes the vector to the specified output stream.
|
|
4D vector class.
4D vector class used to store 4D integer vectors and points. This class is used throughout Open Inventor for arguments and return values.
SEE ALSO
SbRotation, SbRotationd, SbVec2d, SbVec2f, SbVec2i32, SbVec2s, SbVec3d, SbVec3f, SbVec3i32, SbVec3s, SbVec4b, SbVec4d, SbVec4f, SbVec4i32, SbVec4s, SbVec4ub, SbVec4us
Definition at line 3027 of file SbVec.h.
◆ SbVec4ui32() [1/4]
SbVec4ui32::SbVec4ui32 |
( |
| ) |
|
|
inline |
Default constructor.
The vector is initialized with zeros.
Definition at line 3033 of file SbVec.h.
◆ SbVec4ui32() [2/4]
SbVec4ui32::SbVec4ui32 |
( |
const uint32_t |
v[4] | ) |
|
|
inlineexplicit |
Constructor given 4 components.
Definition at line 3038 of file SbVec.h.
◆ SbVec4ui32() [3/4]
SbVec4ui32::SbVec4ui32 |
( |
uint32_t |
x, |
|
|
uint32_t |
y, |
|
|
uint32_t |
z, |
|
|
uint32_t |
w |
|
) |
| |
|
inline |
Constructor given 4 components.
Definition at line 3043 of file SbVec.h.
◆ SbVec4ui32() [4/4]
template<typename T >
SbVec4ui32::SbVec4ui32 |
( |
const T & |
v | ) |
|
|
inlineexplicit |
◆ dot()
int32_t SbVec4ui32::dot |
( |
const SbVec4ui32 & |
v | ) |
const |
|
inline |
Returns dot (inner) product of vector and another vector.
Definition at line 3049 of file SbVec.h.
◆ getValue() [1/2]
const uint32_t * SbVec4ui32::getValue |
( |
| ) |
const |
|
inline |
Returns vector components.
Definition at line 3055 of file SbVec.h.
◆ getValue() [2/2]
void SbVec4ui32::getValue |
( |
uint32_t & |
x, |
|
|
uint32_t & |
y, |
|
|
uint32_t & |
z, |
|
|
uint32_t & |
w |
|
) |
| const |
Returns vector components.
◆ operator*=() [1/2]
Component-wise scalar multiplication operator.
◆ operator*=() [2/2]
Component-wise scalar multiplication operator.
◆ operator+=()
Component-wise vector addition operator.
◆ operator-=()
Component-wise vector subtraction operator.
◆ operator/=() [1/2]
Component-wise scalar division operator.
Definition at line 3098 of file SbVec.h.
◆ operator/=() [2/2]
Component-wise scalar division operator.
◆ operator[]() [1/2]
uint32_t & SbVec4ui32::operator[] |
( |
int |
i | ) |
|
|
inline |
Accesses indexed component of vector.
Definition at line 3078 of file SbVec.h.
◆ operator[]() [2/2]
const uint32_t & SbVec4ui32::operator[] |
( |
int |
i | ) |
const |
|
inline |
◆ setValue() [1/2]
SbVec4ui32 & SbVec4ui32::setValue |
( |
const uint32_t |
v[4] | ) |
|
◆ setValue() [2/2]
SbVec4ui32 & SbVec4ui32::setValue |
( |
uint32_t |
x, |
|
|
uint32_t |
y, |
|
|
uint32_t |
z, |
|
|
uint32_t |
w |
|
) |
| |
◆ operator!=
Inequality comparison operator.
Definition at line 3154 of file SbVec.h.
◆ operator* [1/4]
Component-wise binary scalar multiplication operator.
◆ operator* [2/4]
Component-wise binary scalar multiplication operator.
◆ operator* [3/4]
Component-wise binary scalar multiplication operator.
Definition at line 3125 of file SbVec.h.
◆ operator* [4/4]
Component-wise binary scalar multiplication operator.
Definition at line 3120 of file SbVec.h.
◆ operator+
Component-wise binary vector addition operator.
◆ operator-
Component-wise binary vector subtraction operator.
◆ operator/ [1/2]
Component-wise binary scalar division operator.
Definition at line 3134 of file SbVec.h.
◆ operator/ [2/2]
Component-wise binary scalar division operator.
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const SbVec4ui32 & |
v |
|
) |
| |
|
friend |
Writes the vector to the specified output stream.
Definition at line 3709 of file SbVec.h.
◆ operator==
Equality comparison operator.
The documentation for this class was generated from the following file: