Marsyas  0.5.0-beta1
Public Member Functions

Triplet of RGB values. More...

#include <Color.h>

Public Member Functions

 Color (float r, float g, float b)
 Color ()
float getB ()
float getG ()
float getR ()
void setB ()
void setG ()
void setR ()
void setRGB (float r, float g, float b)
 ~Color ()

Detailed Description

Triplet of RGB values.

Simply a triplet of RGB values representing a color plus various utility functions.

Definition at line 35 of file Color.h.


Constructor & Destructor Documentation

Color ( float  r,
float  g,
float  b 
)

Definition at line 35 of file Color.cpp.

Color ( )

Definition at line 24 of file Color.cpp.

~Color ( )

Definition at line 31 of file Color.cpp.


Member Function Documentation

float getB ( )

Definition at line 92 of file Color.cpp.

float getG ( )

Definition at line 86 of file Color.cpp.

float getR ( )

Definition at line 79 of file Color.cpp.

void setB ( )

Definition at line 70 of file Color.cpp.

void setG ( )

Definition at line 62 of file Color.cpp.

void setR ( )

Definition at line 53 of file Color.cpp.

void setRGB ( float  r,
float  g,
float  b 
)

Definition at line 44 of file Color.cpp.


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