Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.5new_solver
   Version 1.0.5dev
      Class Index
      File List
   Version 1.0.5b
   Version 1.0.4dev
   Version 1.0.4
Publications


Hosted by Get Ion Beam Simulator at SourceForge.net. Fast, secure and Free Open Source software downloads

Color Class Reference

Color class for plotting. More...

#include <color.hpp>

List of all members.

Public Member Functions

 Color ()
 Default color constructor (black).
 Color (double r, double g, double b)
 Color (double r, double g, double b, double a)
const double & operator[] (int i) const
double & operator[] (int i)
Color operator- (const Color &c) const
Color operator+ (const Color &c) const
Color operator* (double x) const

Friends

Color operator* (double x, const Color &c)
std::ostream & operator<< (std::ostream &os, const Color &c)

Detailed Description

Color class for plotting.


Constructor & Destructor Documentation

Color::Color (  )  [inline]

Default color constructor (black).

Color::Color ( double  r,
double  g,
double  b 
) [inline]
Color::Color ( double  r,
double  g,
double  b,
double  a 
) [inline]

Member Function Documentation

Color Color::operator* ( double  x  )  const [inline]
Color Color::operator+ ( const Color c  )  const [inline]
Color Color::operator- ( const Color c  )  const [inline]
const double& Color::operator[] ( int  i  )  const [inline]
double& Color::operator[] ( int  i  )  [inline]

Friends And Related Function Documentation

Color operator* ( double  x,
const Color c 
) [friend]
std::ostream& operator<< ( std::ostream &  os,
const Color c 
) [friend]

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


Reference manual for Ion Beam Simulator 1.0.5dev
Generated by Doxygen 1.7.1 on Mon Feb 6 2012 15:07:16.