OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
osg::Vec3ui Class Reference

#include <Vec3ui.h>

Public Types

enum  { num_components = 3 }
 
typedef unsigned int value_type
 

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
 
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]
 

Detailed Description

General purpose integer triple

Definition at line 21 of file Vec3ui.h.

Member Typedef Documentation

typedef unsigned int osg::Vec3ui::value_type

Type of Vec class.

Definition at line 26 of file Vec3ui.h.

Member Enumeration Documentation

anonymous enum

Number of vector components.

Enumerator
num_components 

Definition at line 29 of file Vec3ui.h.

Constructor & Destructor Documentation

osg::Vec3ui::Vec3ui ( )
inline

Definition at line 34 of file Vec3ui.h.

Here is the caller graph for this function:

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

Definition at line 36 of file Vec3ui.h.

Here is the call graph for this function:

Member Function Documentation

value_type& osg::Vec3ui::b ( )
inline

Definition at line 75 of file Vec3ui.h.

Here is the caller graph for this function:

value_type osg::Vec3ui::b ( ) const
inline

Definition at line 79 of file Vec3ui.h.

value_type& osg::Vec3ui::g ( )
inline

Definition at line 74 of file Vec3ui.h.

Here is the caller graph for this function:

value_type osg::Vec3ui::g ( ) const
inline

Definition at line 78 of file Vec3ui.h.

bool osg::Vec3ui::operator!= ( const Vec3ui v) const
inline

Definition at line 39 of file Vec3ui.h.

Vec3ui osg::Vec3ui::operator* ( value_type  rhs) const
inline

Multiply by scalar.

Definition at line 82 of file Vec3ui.h.

Here is the call graph for this function:

Vec3ui osg::Vec3ui::operator* ( const Vec3ui rhs) const
inline

Definition at line 112 of file Vec3ui.h.

Here is the call graph for this function:

Vec3ui osg::Vec3ui::operator+ ( value_type  rhs) const
inline

Definition at line 92 of file Vec3ui.h.

Here is the call graph for this function:

Vec3ui osg::Vec3ui::operator+ ( const Vec3ui rhs) const
inline

Definition at line 102 of file Vec3ui.h.

Here is the call graph for this function:

Vec3ui osg::Vec3ui::operator- ( value_type  rhs) const
inline

Definition at line 97 of file Vec3ui.h.

Here is the call graph for this function:

Vec3ui osg::Vec3ui::operator- ( const Vec3ui rhs) const
inline

Definition at line 107 of file Vec3ui.h.

Here is the call graph for this function:

Vec3ui osg::Vec3ui::operator/ ( value_type  rhs) const
inline

Definition at line 87 of file Vec3ui.h.

Here is the call graph for this function:

bool osg::Vec3ui::operator< ( const Vec3ui v) const
inline

Definition at line 40 of file Vec3ui.h.

bool osg::Vec3ui::operator== ( const Vec3ui v) const
inline

Definition at line 38 of file Vec3ui.h.

value_type& osg::Vec3ui::operator[] ( unsigned int  i)
inline

Definition at line 62 of file Vec3ui.h.

value_type osg::Vec3ui::operator[] ( unsigned int  i) const
inline

Definition at line 63 of file Vec3ui.h.

value_type* osg::Vec3ui::ptr ( )
inline

Definition at line 49 of file Vec3ui.h.

const value_type* osg::Vec3ui::ptr ( ) const
inline

Definition at line 50 of file Vec3ui.h.

value_type& osg::Vec3ui::r ( )
inline

Definition at line 73 of file Vec3ui.h.

Here is the caller graph for this function:

value_type osg::Vec3ui::r ( ) const
inline

Definition at line 77 of file Vec3ui.h.

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

Definition at line 52 of file Vec3ui.h.

Here is the call graph for this function:

void osg::Vec3ui::set ( const Vec3ui rhs)
inline

Definition at line 57 of file Vec3ui.h.

value_type& osg::Vec3ui::x ( )
inline

Definition at line 65 of file Vec3ui.h.

value_type osg::Vec3ui::x ( ) const
inline

Definition at line 69 of file Vec3ui.h.

value_type& osg::Vec3ui::y ( )
inline

Definition at line 66 of file Vec3ui.h.

value_type osg::Vec3ui::y ( ) const
inline

Definition at line 70 of file Vec3ui.h.

value_type& osg::Vec3ui::z ( )
inline

Definition at line 67 of file Vec3ui.h.

value_type osg::Vec3ui::z ( ) const
inline

Definition at line 71 of file Vec3ui.h.

Member Data Documentation

value_type osg::Vec3ui::_v[3]

Vec member varaible.

Definition at line 32 of file Vec3ui.h.


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