OpenSceneGraph  3.5.1
Public Types | Public Member Functions | Public Attributes | List of all members
osg::Vec3ui Class Reference

General purpose integer triple. More...

Public Types

enum  { num_components = 3 }
 Number of vector components. More...
 
typedef unsigned int value_type
 Type of Vec class. More...
 

Public Member Functions

 Vec3ui ()
 
 Vec3ui (value_type r, value_type g, value_type b)
 
bool operator== (const Vec3ui &v) const
 
bool operator!= (const Vec3ui &v) const
 
bool operator< (const Vec3ui &v) const
 
value_typeptr ()
 
const value_typeptr () const
 
void set (value_type r, value_type g, value_type b)
 
void set (const Vec3ui &rhs)
 
value_typeoperator[] (unsigned int i)
 
value_type operator[] (unsigned int i) const
 
value_typex ()
 
value_typey ()
 
value_typez ()
 
value_type x () const
 
value_type y () const
 
value_type z () const
 
value_typer ()
 
value_typeg ()
 
value_typeb ()
 
value_type r () const
 
value_type g () const
 
value_type b () const
 
Vec3ui operator* (value_type rhs) const
 Multiply by scalar. More...
 
Vec3ui operator/ (value_type rhs) const
 
Vec3ui operator+ (value_type rhs) const
 
Vec3ui operator- (value_type rhs) const
 
Vec3ui operator+ (const Vec3ui &rhs) const
 
Vec3ui operator- (const Vec3ui &rhs) const
 
Vec3ui operator* (const Vec3ui &rhs) const
 

Public Attributes

value_type _v [3]
 Vec member varaible. More...
 

Detailed Description

General purpose integer triple.

Member Typedef Documentation

typedef unsigned int osg::Vec3ui::value_type

Type of Vec class.

Member Enumeration Documentation

anonymous enum

Number of vector components.

Enumerator
num_components 

Constructor & Destructor Documentation

osg::Vec3ui::Vec3ui ( )
inline
osg::Vec3ui::Vec3ui ( value_type  r,
value_type  g,
value_type  b 
)
inline

Member Function Documentation

value_type& osg::Vec3ui::b ( )
inline
value_type osg::Vec3ui::b ( ) const
inline
value_type& osg::Vec3ui::g ( )
inline
value_type osg::Vec3ui::g ( ) const
inline
bool osg::Vec3ui::operator!= ( const Vec3ui v) const
inline
Vec3ui osg::Vec3ui::operator* ( value_type  rhs) const
inline

Multiply by scalar.

Vec3ui osg::Vec3ui::operator* ( const Vec3ui rhs) const
inline
Vec3ui osg::Vec3ui::operator+ ( value_type  rhs) const
inline
Vec3ui osg::Vec3ui::operator+ ( const Vec3ui rhs) const
inline
Vec3ui osg::Vec3ui::operator- ( value_type  rhs) const
inline
Vec3ui osg::Vec3ui::operator- ( const Vec3ui rhs) const
inline
Vec3ui osg::Vec3ui::operator/ ( value_type  rhs) const
inline
bool osg::Vec3ui::operator< ( const Vec3ui v) const
inline
bool osg::Vec3ui::operator== ( const Vec3ui v) const
inline
value_type& osg::Vec3ui::operator[] ( unsigned int  i)
inline
value_type osg::Vec3ui::operator[] ( unsigned int  i) const
inline
value_type* osg::Vec3ui::ptr ( )
inline
const value_type* osg::Vec3ui::ptr ( ) const
inline
value_type& osg::Vec3ui::r ( )
inline
value_type osg::Vec3ui::r ( ) const
inline
void osg::Vec3ui::set ( value_type  r,
value_type  g,
value_type  b 
)
inline
void osg::Vec3ui::set ( const Vec3ui rhs)
inline
value_type& osg::Vec3ui::x ( )
inline
value_type osg::Vec3ui::x ( ) const
inline
value_type& osg::Vec3ui::y ( )
inline
value_type osg::Vec3ui::y ( ) const
inline
value_type& osg::Vec3ui::z ( )
inline
value_type osg::Vec3ui::z ( ) const
inline

Member Data Documentation

value_type osg::Vec3ui::_v[3]

Vec member varaible.


The documentation for this class was generated from the following file:

osg logo
Generated at Wed Nov 11 2015 22:14:47 for the OpenSceneGraph by doxygen 1.8.10.