OpenSceneGraph
3.6.3
|
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 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Multiply by scalar.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
value_type osg::Vec3i::_v[3] |
Vec member variable.
![]() | Generated at Sun May 19 2019 08:54:20 for the OpenSceneGraph by doxygen 1.8.15. |