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