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 
166 
169 namespace ldpk
170  {
172  inline const char* text(::tde4_ldp_ptype ptype)
173  {
174  switch(ptype)
175  {
176  case TDE4_LDP_STRING: return "string";
177  case TDE4_LDP_DOUBLE: return "double";
178  case TDE4_LDP_INT: return "int";
179  case TDE4_LDP_FILE: return "file";
180  case TDE4_LDP_TOGGLE: return "toggle";
181  case TDE4_LDP_ADJUSTABLE_DOUBLE: return "adjustable double";
182  }
183  return "<error>";
184  }
185  }
186 
187 #endif
const char * text(::tde4_ldp_ptype ptype)
text representation of parameter types
Definition: ldpk.h:172
A polynomial radially symmetric model of degree N (even)
Exception classes for ldpk.
Degree-2 anamorphic and degree-4 radial mixed model.
The namespace of (most of the) things related to the Lens Distortion Plugin Kit.
Definition: ldpk.h:169
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.