1 #ifndef tde4_ldp_noop_debugging_sdv 2 #define tde4_ldp_noop_debugging_sdv 4 #include <ldpk/ldpk_ldp_builtin.h> 10 template <
class VEC2,
class MAT2>
14 typedef VEC2 vec2_type;
15 typedef MAT2 mat2_type;
18 static const char* _para[0];
20 bool decypher(
const char* name,
int& i)
24 bool initializeParameters()
27 bt::check_builtin_parameters();
30 bool getNumParameters(
int& n)
35 bool getParameterName(
int i,
char* identifier)
37 strcpy(identifier,_para[i]);
40 bool setParameterValue(
const char *identifier,
double v)
44 virtual bool undistort(
double x0,
double y0,
double &x1,
double &y1)
50 virtual bool distort(
double x0,
double y0,
double &x1,
double &y1)
56 virtual bool distort(
double x0,
double y0,
double x1_start,
double y1_start,
double &x1,
double &y1)
70 #ifdef LDPK_COMPILE_AS_PLUGIN_SDV 71 strcpy(name,
"3DE4 Noop, Debugging [Plugin]");
73 strcpy(name,
"3DE4 Noop, Debugging Degree 4");
79 ptype = TDE4_LDP_ADJUSTABLE_DOUBLE;
99 template <
class VEC2,
class MAT2>
bool getParameterDefaultValue(const char *identifier, double &v)
returns default value for given parameter (maximum length of "char *v": 1000 bytes)......
Definition: tde4_ldp_noop_debugging.h:82
bool getModelName(char *name)
returns a name for the model as to show up in the GUI (maximum length of "name": 100 bytes)...
Definition: tde4_ldp_noop_debugging.h:68
This class handles the built-in parameter and the lookup table. You may find it useful for your own d...
Definition: ldpk_ldp_builtin.h:31
bool getParameterRange(const char *identifier, double &a, double &b)
returns range for adjustable double parameters...
Definition: tde4_ldp_noop_debugging.h:87
bool getJacobianMatrix(double x0, double y0, double &m00, double &m01, double &m10, double &m11)
calculate the Jacobian matrix of the undistort()-Method. Overwrite this, if you know the Jacobian for...
Definition: tde4_ldp_noop_debugging.h:91
Plugin class for debugging.
Definition: tde4_ldp_noop_debugging.h:11
bool getParameterType(const char *identifier, tde4_ldp_ptype &ptype)
returns type of given parameter... The method should return false, if the parameter addressed by iden...
Definition: tde4_ldp_noop_debugging.h:77