Definition at line 17 of file style_color.
◆ style_color() [1/4]
tools::sg::style_color::style_color |
( |
| ) |
|
|
inline |
Definition at line 23 of file style_color.
23 :parent(
"",colorf()) {
25 mem::increment(s_class().c_str());
◆ style_color() [2/4]
tools::sg::style_color::style_color |
( |
const std::string & |
a_name, |
|
|
const colorf & |
a_color |
|
) |
| |
|
inline |
Definition at line 28 of file style_color.
28 :parent(a_name,a_color) {
30 mem::increment(s_class().c_str());
◆ style_color() [3/4]
tools::sg::style_color::style_color |
( |
const std::string & |
a_name, |
|
|
float |
a_r, |
|
|
float |
a_g, |
|
|
float |
a_b |
|
) |
| |
|
inline |
Definition at line 33 of file style_color.
33 :parent(a_name,colorf(a_r,a_g,a_b)) {
35 mem::increment(s_class().c_str());
◆ ~style_color()
virtual tools::sg::style_color::~style_color |
( |
| ) |
|
|
inlinevirtual |
Definition at line 38 of file style_color.
40 mem::decrement(s_class().c_str());
◆ style_color() [4/4]
tools::sg::style_color::style_color |
( |
const style_color & |
a_from | ) |
|
|
inline |
Definition at line 44 of file style_color.
44 :parent(a_from.first,a_from.second) {
46 mem::increment(s_class().c_str());
◆ operator=()
Definition at line 49 of file style_color.
51 second = a_from.second;
◆ set_name()
void tools::sg::style_color::set_name |
( |
const std::string & |
a_name | ) |
|
|
inline |
◆ set_value()
void tools::sg::style_color::set_value |
( |
float |
a_r, |
|
|
float |
a_g, |
|
|
float |
a_b, |
|
|
float |
a_a |
|
) |
| |
|
inline |
Definition at line 56 of file style_color.
56 {second.set_value(a_r,a_g,a_b,a_a);}
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/g4tools/g4tools/tools/sg/style_color