ldpk
ldpk.h
Go to the documentation of this file.
1 #ifndef ldpk_ldpk_sdv
2 #define ldpk_ldpk_sdv
3 
4 #include <ldpk/ldpk_error.h>
5 #include <ldpk/ldpk_vec2d.h>
13 #include <ldpk/ldpk_generic_anamorphic_distortion.h>
15 
160 
163 namespace ldpk
164  {
166  inline const char* text(::tde4_ldp_ptype ptype)
167  {
168  switch(ptype)
169  {
170  case TDE4_LDP_STRING: return "string";
171  case TDE4_LDP_DOUBLE: return "double";
172  case TDE4_LDP_INT: return "int";
173  case TDE4_LDP_FILE: return "file";
174  case TDE4_LDP_TOGGLE: return "toggle";
175  case TDE4_LDP_ADJUSTABLE_DOUBLE: return "adjustable double";
176  }
177  return "<error>";
178  }
179  }
180 
181 #endif
const char * text(::tde4_ldp_ptype ptype)
text representation of parameter types
Definition: ldpk.h:166
A polynomial radially symmetric model of degree N (even)
Exception classes for ldpk.
Degree-2 anamorphic and degree-4 radial mixed model.
Base class for distortion models.
Parsing parameters from a stream.
A simple plugin loader.
A polynomial radially symmetric model of degree 4 with decentering.
Double-valued vector and matrix class.