#include <CImg.h>
Public Member Functions | |
_cimg_math_parser (const char *const expression, const char *const funcname=0) | |
~_cimg_math_parser () | |
unsigned int | opcode (const char op, const unsigned int arg1=0, const unsigned int arg2=0, const unsigned int arg3=0, const unsigned int arg4=0, const unsigned int arg5=0) |
unsigned int | compile (char *const ss, char *const se) |
template<typename t > | |
double | eval (const CImg< t > &img, const double x, const double y, const double z, const double v) |
double | eval (const double x, const double y, const double z, const double v) |
Public Attributes | |
CImgList< uintT > | code |
CImg< doubleT > | mem |
unsigned int | mempos |
unsigned int * | level |
unsigned int | result |
const char * | calling_function |
char * | expr |
|
inline |
Definition at line 12232 of file CImg.h.
References CImg< T >::assign(), CImg< T >::_cimg_math_parser::calling_function, CImg< T >::_cimg_math_parser::compile(), d, cimg_library::exp(), CImg< T >::_cimg_math_parser::expr, CImg< T >::_cimg_math_parser::level, CImg< T >::_cimg_math_parser::mem, CImg< T >::_cimg_math_parser::mempos, CImg< T >::pixel_type(), s, cimg_library::cimg::strclean(), cimg_library::cimg::uncase(), and cimg_library::cimg::valuePI.
|
inline |
Definition at line 12254 of file CImg.h.
References CImg< T >::_cimg_math_parser::expr, and CImg< T >::_cimg_math_parser::level.
|
inline |
Definition at line 12266 of file CImg.h.
References _cimg_fopcode0, _cimg_fopcode1, _cimg_fopcode2, _cimg_fopcode3, _cimg_fopcode5, _cimg_freturn, CImg< T >::_cimg_math_parser::calling_function, CImg< T >::_cimg_math_parser::code, CImg< T >::end(), CImg< T >::_cimg_math_parser::expr, i, CImg< T >::_cimg_math_parser::level, CImg< T >::_cimg_math_parser::mem, CImg< T >::_cimg_math_parser::mempos, CImg< T >::_cimg_math_parser::opcode(), CImg< T >::pixel_type(), CImg< T >::resize(), s, CImg< T >::size(), CImg< T >::transfer_to(), and CImg< T >::vector().
Referenced by CImg< T >::_cimg_math_parser::_cimg_math_parser().
|
inline |
Definition at line 12423 of file CImg.h.
References cimg_library::cimg::abs(), cimg_library::acos(), cimg_library::asin(), cimg_library::atan(), CImg< T >::_cimg_math_parser::calling_function, cimglist_for, CImg< T >::_cimg_math_parser::code, cos, cimg_library::cosh(), cimg_library::exp(), cimg_library::cimg::grand(), CImg< T >::height, i, cimg_library::log(), cimg_library::log10(), cimg_library::cimg::max(), CImg< T >::_cimg_math_parser::mem, cimg_library::cimg::min(), cimg_library::cimg::mod(), CImg< T >::_cimg_math_parser::opcode(), CImg< T >::pixel_type(), Mesquite::pow(), cimg_library::cimg::rand(), CImg< T >::_cimg_math_parser::result, cimg_library::cimg::round(), cimg_library::cimg::sign(), sin, cimg_library::sinh(), sqrt(), cimg_library::tan(), cimg_library::tanh(), v, x, y, and z.
Referenced by CImg< T >::_cimg_math_parser::eval(), CImg< T >::_marching2d_func_expr::operator()(), and CImg< T >::_marching3d_func_expr::operator()().
|
inline |
Definition at line 12512 of file CImg.h.
References CImg< T >::empty(), and CImg< T >::_cimg_math_parser::eval().
|
inline |
Definition at line 12257 of file CImg.h.
References CImg< T >::_cimg_math_parser::code, CImg< T >::_cimg_math_parser::mem, CImg< T >::_cimg_math_parser::mempos, CImg< T >::resize(), CImg< T >::size(), and CImg< T >::vector().
Referenced by CImg< T >::_cimg_math_parser::compile(), and CImg< T >::_cimg_math_parser::eval().
const char* calling_function |
Definition at line 12222 of file CImg.h.
Referenced by CImg< T >::_cimg_math_parser::_cimg_math_parser(), CImg< T >::_cimg_math_parser::compile(), and CImg< T >::_cimg_math_parser::eval().
Definition at line 12219 of file CImg.h.
Referenced by CImg< T >::_cimg_math_parser::compile(), CImg< T >::_cimg_math_parser::eval(), and CImg< T >::_cimg_math_parser::opcode().
char* expr |
Definition at line 12223 of file CImg.h.
Referenced by CImg< T >::_cimg_math_parser::_cimg_math_parser(), CImg< T >::_cimg_math_parser::compile(), and CImg< T >::_cimg_math_parser::~_cimg_math_parser().
unsigned int * level |
Definition at line 12221 of file CImg.h.
Referenced by CImg< T >::_cimg_math_parser::_cimg_math_parser(), CImg< T >::_cimg_math_parser::compile(), and CImg< T >::_cimg_math_parser::~_cimg_math_parser().
Definition at line 12220 of file CImg.h.
Referenced by CImg< T >::_cimg_math_parser::_cimg_math_parser(), CImg< T >::_cimg_math_parser::compile(), CImg< T >::_cimg_math_parser::eval(), and CImg< T >::_cimg_math_parser::opcode().
unsigned int mempos |
Definition at line 12221 of file CImg.h.
Referenced by CImg< T >::_cimg_math_parser::_cimg_math_parser(), CImg< T >::_cimg_math_parser::compile(), and CImg< T >::_cimg_math_parser::opcode().
unsigned int result |
Definition at line 12221 of file CImg.h.
Referenced by CImg< T >::_cimg_math_parser::eval().