OpenSceneGraph
3.4.0
|
General purpose integer quad. More...
Public Types | |
enum | { num_components = 4 } |
Number of vector components. More... | |
typedef int | value_type |
Type of Vec class. | |
Public Member Functions | |
Vec4i () | |
Vec4i (value_type x, value_type y, value_type z, value_type w) | |
bool | operator== (const Vec4i &v) const |
bool | operator!= (const Vec4i &v) const |
bool | operator< (const Vec4i &v) const |
value_type * | ptr () |
const value_type * | ptr () const |
void | set (value_type x, value_type y, value_type z, value_type w) |
value_type & | operator[] (unsigned int i) |
value_type | operator[] (unsigned int i) const |
value_type & | x () |
value_type & | y () |
value_type & | z () |
value_type & | w () |
value_type | x () const |
value_type | y () const |
value_type | z () const |
value_type | w () 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 |
Vec4i | operator* (value_type rhs) const |
Vec4i | operator/ (value_type rhs) const |
Vec4i | operator+ (value_type rhs) const |
Vec4i | operator- (value_type rhs) const |
Vec4i | operator+ (const Vec4i &rhs) const |
Vec4i | operator- (const Vec4i &rhs) const |
Vec4i | operator* (const Vec4i &rhs) const |
Public Attributes | |
value_type | _v [4] |
Vec member varaible. |
General purpose integer quad.
typedef int osg::Vec4i::value_type |
Type of Vec class.
osg::Vec4i::Vec4i | ( | ) | [inline] |
References _v.
Referenced by operator*(), operator+(), operator-(), and operator/().
osg::Vec4i::Vec4i | ( | value_type | x, |
value_type | y, | ||
value_type | z, | ||
value_type | w | ||
) | [inline] |
value_type& osg::Vec4i::a | ( | ) | [inline] |
References _v.
value_type osg::Vec4i::a | ( | ) | const [inline] |
References _v.
value_type& osg::Vec4i::b | ( | ) | [inline] |
References _v.
value_type osg::Vec4i::b | ( | ) | const [inline] |
References _v.
value_type& osg::Vec4i::g | ( | ) | [inline] |
References _v.
value_type osg::Vec4i::g | ( | ) | const [inline] |
References _v.
Vec4i osg::Vec4i::operator* | ( | value_type | rhs | ) | const [inline] |
Vec4i osg::Vec4i::operator+ | ( | value_type | rhs | ) | const [inline] |
Vec4i osg::Vec4i::operator- | ( | value_type | rhs | ) | const [inline] |
Vec4i osg::Vec4i::operator/ | ( | value_type | rhs | ) | const [inline] |
value_type& osg::Vec4i::operator[] | ( | unsigned int | i | ) | [inline] |
References _v.
value_type osg::Vec4i::operator[] | ( | unsigned int | i | ) | const [inline] |
References _v.
value_type* osg::Vec4i::ptr | ( | ) | [inline] |
References _v.
const value_type* osg::Vec4i::ptr | ( | ) | const [inline] |
References _v.
value_type& osg::Vec4i::r | ( | ) | [inline] |
References _v.
value_type osg::Vec4i::r | ( | ) | const [inline] |
References _v.
void osg::Vec4i::set | ( | value_type | x, |
value_type | y, | ||
value_type | z, | ||
value_type | w | ||
) | [inline] |
value_type& osg::Vec4i::w | ( | ) | [inline] |
value_type osg::Vec4i::w | ( | ) | const [inline] |
References _v.
value_type& osg::Vec4i::x | ( | ) | [inline] |
value_type osg::Vec4i::x | ( | ) | const [inline] |
References _v.
value_type& osg::Vec4i::y | ( | ) | [inline] |
value_type osg::Vec4i::y | ( | ) | const [inline] |
References _v.
value_type& osg::Vec4i::z | ( | ) | [inline] |
value_type osg::Vec4i::z | ( | ) | const [inline] |
References _v.
Vec member varaible.
Referenced by a(), b(), g(), operator!=(), operator*(), operator+(), operator-(), operator/(), operator<(), osg::operator<<(), operator==(), osg::operator>>(), operator[](), ptr(), r(), set(), Vec4i(), w(), x(), y(), and z().
![]() | Generated at Tue Dec 8 2015 00:16:45 for the OpenSceneGraph by doxygen 1.7.6.1. |