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