OSG
3.4.0
|
#include <Vec4ub.h>
Public Types | |
enum | { num_components = 4 } |
typedef unsigned char | value_type |
Public Member Functions | |
Vec4ub () | |
Vec4ub (value_type x, value_type y, value_type z, value_type w) | |
bool | operator== (const Vec4ub &v) const |
bool | operator!= (const Vec4ub &v) const |
bool | operator< (const Vec4ub &v) const |
value_type * | ptr () |
const value_type * | ptr () const |
void | set (value_type r, value_type g, value_type b, value_type a) |
value_type & | operator[] (unsigned int i) |
value_type | operator[] (unsigned int i) const |
value_type & | r () |
value_type & | g () |
value_type & | b () |
value_type & | a () |
value_type | r () const |
value_type | g () const |
value_type | b () const |
value_type | a () const |
Vec4ub | operator* (float rhs) const |
Vec4ub & | operator*= (float rhs) |
Vec4ub | operator/ (float rhs) const |
Vec4ub & | operator/= (float rhs) |
Vec4ub | operator+ (const Vec4ub &rhs) const |
Vec4ub & | operator+= (const Vec4ub &rhs) |
Vec4ub | operator- (const Vec4ub &rhs) const |
Vec4ub & | operator-= (const Vec4ub &rhs) |
Public Attributes | |
value_type | _v [4] |
General purpose float quad. Uses include representation of color coordinates. No support yet added for float * Vec4ub - is it necessary? Need to define a non-member non-friend operator* etc. Vec4ub * float is okay
typedef unsigned char osg::Vec4ub::value_type |
anonymous enum |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
value_type osg::Vec4ub::_v[4] |