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::Vec4i Class Reference

#include <Vec4i.h>

Public Types

enum  { num_components = 4 }
 
typedef int value_type
 

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_typeptr ()
 
const value_typeptr () const
 
void set (value_type x, value_type y, value_type z, value_type w)
 
value_typeoperator[] (unsigned int i)
 
value_type operator[] (unsigned int i) const
 
value_typex ()
 
value_typey ()
 
value_typez ()
 
value_typew ()
 
value_type x () const
 
value_type y () const
 
value_type z () const
 
value_type w () const
 
value_typer ()
 
value_typeg ()
 
value_typeb ()
 
value_typea ()
 
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]
 

Detailed Description

General purpose integer quad

Definition at line 21 of file Vec4i.h.

Member Typedef Documentation

Type of Vec class.

Definition at line 26 of file Vec4i.h.

Member Enumeration Documentation

anonymous enum

Number of vector components.

Enumerator
num_components 

Definition at line 29 of file Vec4i.h.

Constructor & Destructor Documentation

osg::Vec4i::Vec4i ( )
inline

Definition at line 34 of file Vec4i.h.

Here is the caller graph for this function:

osg::Vec4i::Vec4i ( value_type  x,
value_type  y,
value_type  z,
value_type  w 
)
inline

Definition at line 36 of file Vec4i.h.

Here is the call graph for this function:

Member Function Documentation

value_type& osg::Vec4i::a ( )
inline

Definition at line 81 of file Vec4i.h.

value_type osg::Vec4i::a ( ) const
inline

Definition at line 86 of file Vec4i.h.

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

Definition at line 80 of file Vec4i.h.

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

Definition at line 85 of file Vec4i.h.

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

Definition at line 79 of file Vec4i.h.

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

Definition at line 84 of file Vec4i.h.

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

Definition at line 45 of file Vec4i.h.

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

Definition at line 88 of file Vec4i.h.

Here is the call graph for this function:

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

Definition at line 118 of file Vec4i.h.

Here is the call graph for this function:

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

Definition at line 98 of file Vec4i.h.

Here is the call graph for this function:

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

Definition at line 108 of file Vec4i.h.

Here is the call graph for this function:

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

Definition at line 103 of file Vec4i.h.

Here is the call graph for this function:

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

Definition at line 113 of file Vec4i.h.

Here is the call graph for this function:

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

Definition at line 93 of file Vec4i.h.

Here is the call graph for this function:

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

Definition at line 46 of file Vec4i.h.

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

Definition at line 44 of file Vec4i.h.

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

Definition at line 65 of file Vec4i.h.

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

Definition at line 66 of file Vec4i.h.

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

Definition at line 57 of file Vec4i.h.

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

Definition at line 58 of file Vec4i.h.

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

Definition at line 78 of file Vec4i.h.

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

Definition at line 83 of file Vec4i.h.

void osg::Vec4i::set ( value_type  x,
value_type  y,
value_type  z,
value_type  w 
)
inline

Definition at line 60 of file Vec4i.h.

Here is the call graph for this function:

value_type& osg::Vec4i::w ( )
inline

Definition at line 71 of file Vec4i.h.

Here is the caller graph for this function:

value_type osg::Vec4i::w ( ) const
inline

Definition at line 76 of file Vec4i.h.

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

Definition at line 68 of file Vec4i.h.

Here is the caller graph for this function:

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

Definition at line 73 of file Vec4i.h.

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

Definition at line 69 of file Vec4i.h.

Here is the caller graph for this function:

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

Definition at line 74 of file Vec4i.h.

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

Definition at line 70 of file Vec4i.h.

Here is the caller graph for this function:

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

Definition at line 75 of file Vec4i.h.

Member Data Documentation

value_type osg::Vec4i::_v[4]

Vec member varaible.

Definition at line 32 of file Vec4i.h.


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