osg::Vec4b Class Reference
List of all members.
Detailed Description
General purpose float triple. Uses include representation of color coordinates. No support yet added for float * Vec4b - is it necessary? Need to define a non-member non-friend operator* etc. Vec4b * float is okay
Member Typedef Documentation
Member Enumeration Documentation
Number of vector components.
- Enumerator:
-
Constructor & Destructor Documentation
osg::Vec4b::Vec4b |
( |
|
) |
[inline] |
Member Function Documentation
bool osg::Vec4b::operator!= |
( |
const Vec4b & |
v |
) |
const [inline] |
Vec4b osg::Vec4b::operator* |
( |
float |
rhs |
) |
const [inline] |
Vec4b& osg::Vec4b::operator*= |
( |
float |
rhs |
) |
[inline] |
Unary multiply by scalar.
References _v.
Vec4b osg::Vec4b::operator+ |
( |
const Vec4b & |
rhs |
) |
const [inline] |
Binary vector add.
References _v, and Vec4b().
Vec4b& osg::Vec4b::operator+= |
( |
const Vec4b & |
rhs |
) |
[inline] |
Unary vector add. Slightly more efficient because no temporary intermediate object.
References _v.
Vec4b osg::Vec4b::operator- |
( |
const Vec4b & |
rhs |
) |
const [inline] |
Binary vector subtract.
References _v, and Vec4b().
Vec4b& osg::Vec4b::operator-= |
( |
const Vec4b & |
rhs |
) |
[inline] |
Unary vector subtract.
References _v.
Vec4b osg::Vec4b::operator/ |
( |
float |
rhs |
) |
const [inline] |
Vec4b& osg::Vec4b::operator/= |
( |
float |
rhs |
) |
[inline] |
bool osg::Vec4b::operator< |
( |
const Vec4b & |
v |
) |
const [inline] |
bool osg::Vec4b::operator== |
( |
const Vec4b & |
v |
) |
const [inline] |
value_type osg::Vec4b::operator[] |
( |
unsigned int |
i |
) |
const [inline] |
value_type& osg::Vec4b::operator[] |
( |
unsigned int |
i |
) |
[inline] |
const value_type* osg::Vec4b::ptr |
( |
|
) |
const [inline] |
References _v.
Referenced by set().
References _v.
Referenced by set().
References _v.
Referenced by set().
References _v.
Referenced by set().
Member Data Documentation
Referenced by a(), b(), g(), operator!=(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator<(), osg::operator<<(), operator==(), osg::operator>>(), operator[](), ptr(), r(), set(), Vec4b(), w(), x(), y(), and z().
The documentation for this class was generated from the following file: