#include <color_map.h>
Public Types | |
using | Ptr = std::shared_ptr< ColorMap > |
Public Member Functions | |
QString | getError (sol::error err) const |
QColor | mapColor (double value) const |
QString | script () const |
sol::protected_function_result | setScrip (QString script) |
Private Attributes | |
sol::state | _lua_engine |
sol::protected_function | _lua_function |
QString | _script |
Definition at line 16 of file color_map.h.
using ColorMap::Ptr = std::shared_ptr<ColorMap> |
Definition at line 19 of file color_map.h.
QString ColorMap::getError | ( | sol::error | err | ) | const |
Definition at line 29 of file color_map.cpp.
QColor ColorMap::mapColor | ( | double | value | ) | const |
Definition at line 34 of file color_map.cpp.
|
inline |
Definition at line 23 of file color_map.h.
sol::protected_function_result ColorMap::setScrip | ( | QString | script | ) |
Definition at line 10 of file color_map.cpp.
|
private |
Definition at line 33 of file color_map.h.
|
private |
Definition at line 34 of file color_map.h.
|
private |
Definition at line 35 of file color_map.h.