Skip to content

Project OpenGeode

class RGBColor

Description of a color in RGB

Functions

RGBColor

cpp
public void RGBColor()
public void RGBColor()

RGBColor

cpp
public void RGBColor(local_index_t red, local_index_t green, local_index_t blue)
public void RGBColor(local_index_t red, local_index_t green, local_index_t blue)

red

cpp
public local_index_t red()
public local_index_t red()

green

cpp
public local_index_t green()
public local_index_t green()

blue

cpp
public local_index_t blue()
public local_index_t blue()

set_red

cpp
public void set_red(local_index_t red_scale)
public void set_red(local_index_t red_scale)

set_green

cpp
public void set_green(local_index_t green_scale)
public void set_green(local_index_t green_scale)

set_blue

cpp
public void set_blue(local_index_t blue_scale)
public void set_blue(local_index_t blue_scale)

operator==

cpp
public bool operator==(const RGBColor & other)
public bool operator==(const RGBColor & other)

operator!=

cpp
public bool operator!=(const RGBColor & other)
public bool operator!=(const RGBColor & other)

operator+

cpp
public RGBColor operator+(const RGBColor & other)
public RGBColor operator+(const RGBColor & other)

operator+=

cpp
public void operator+=(const RGBColor & other)
public void operator+=(const RGBColor & other)

string

cpp
public basic_string string()
public basic_string string()

Geode-solutions' documentation website