Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Color Class Reference

#include <color.h>

Inheritance diagram for Color:
Collaboration diagram for Color:

Public Member Functions

 Color ()
 
 Color (const osg::Vec4 &color)
 
 Color (float r, float g, float b)
 
 Color (float r, float g, float b, float a)
 
void print (std::ostream &out) const
 
float alpha () const
 
float & alpha ()
 

Static Public Member Functions

static Color rgb255 (unsigned char r, unsigned char g, unsigned char b, unsigned char a=255)
 

Friends

std::ostream & operator<< (std::ostream &out, const Color &col)
 

Constructor & Destructor Documentation

Color ( )
inline
Color ( const osg::Vec4 color)
inline
Color ( float  r,
float  g,
float  b 
)
inline
Color ( float  r,
float  g,
float  b,
float  a 
)
inline

Member Function Documentation

float alpha ( ) const
inline
float& alpha ( )
inline
void print ( std::ostream &  out) const
inline
static Color rgb255 ( unsigned char  r,
unsigned char  g,
unsigned char  b,
unsigned char  a = 255 
)
inlinestatic

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const Color col 
)
friend

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