![]() |
OpenSceneGraph
|
General purpose integer triple. More...
Public Types | |
| enum | { num_components = 3 } |
| Number of vector components. More... | |
| typedef int | value_type |
| Type of Vec class. More... | |
Public Member Functions | |
| Vec3i () | |
| Vec3i (value_type r, value_type g, value_type b) | |
| bool | operator== (const Vec3i &v) const |
| bool | operator!= (const Vec3i &v) const |
| bool | operator< (const Vec3i &v) const |
| value_type * | ptr () |
| const value_type * | ptr () const |
| void | set (value_type r, value_type g, value_type b) |
| void | set (const Vec3i &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 |
| Vec3i | operator* (value_type rhs) const |
| Multiply by scalar. More... | |
| Vec3i | operator/ (value_type rhs) const |
| Vec3i | operator+ (value_type rhs) const |
| Vec3i | operator- (value_type rhs) const |
| Vec3i | operator+ (const Vec3i &rhs) const |
| Vec3i | operator- (const Vec3i &rhs) const |
| Vec3i | operator* (const Vec3i &rhs) const |
Public Attributes | |
| value_type | _v [3] |
| Vec member variable. More... | |
General purpose integer triple.
| typedef int osg::Vec3i::value_type |
Type of Vec class.
|
inline |
Referenced by operator*(), operator+(), operator-(), and operator/().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Multiply by scalar.
References Vec3i().
|
inline |
References Vec3i().
|
inline |
References Vec3i().
|
inline |
References Vec3i().
|
inline |
|
inline |
|
inline |
References _v.
Referenced by osg::GLExtensions::glUniform().
|
inline |
References _v.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| value_type osg::Vec3i::_v[3] |
Vec member variable.
Referenced by operator!=(), operator*(), operator+(), operator-(), operator<(), osg::operator<<(), operator==(), osg::operator>>(), and ptr().
1.8.13