Public Types | Public Member Functions | Private Attributes | List of all members
ColorMap Class Reference

#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
 

Detailed Description

Definition at line 16 of file color_map.h.

Member Typedef Documentation

◆ Ptr

using ColorMap::Ptr = std::shared_ptr<ColorMap>

Definition at line 19 of file color_map.h.

Member Function Documentation

◆ getError()

QString ColorMap::getError ( sol::error  err) const

Definition at line 29 of file color_map.cpp.

◆ mapColor()

QColor ColorMap::mapColor ( double  value) const

Definition at line 34 of file color_map.cpp.

◆ script()

QString ColorMap::script ( ) const
inline

Definition at line 23 of file color_map.h.

◆ setScrip()

sol::protected_function_result ColorMap::setScrip ( QString  script)

Definition at line 10 of file color_map.cpp.

Member Data Documentation

◆ _lua_engine

sol::state ColorMap::_lua_engine
private

Definition at line 33 of file color_map.h.

◆ _lua_function

sol::protected_function ColorMap::_lua_function
private

Definition at line 34 of file color_map.h.

◆ _script

QString ColorMap::_script
private

Definition at line 35 of file color_map.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:50