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 
177 
180 namespace ldpk
181  {
183  inline const char* text(::tde4_ldp_ptype ptype)
184  {
185  switch(ptype)
186  {
187  case TDE4_LDP_STRING: return "string";
188  case TDE4_LDP_DOUBLE: return "double";
189  case TDE4_LDP_INT: return "int";
190  case TDE4_LDP_FILE: return "file";
191  case TDE4_LDP_TOGGLE: return "toggle";
192  case TDE4_LDP_ADJUSTABLE_DOUBLE: return "adjustable double";
193  }
194  return "<error>";
195  }
196  }
197 
198 #endif
const char * text(::tde4_ldp_ptype ptype)
text representation of parameter types
Definition: ldpk.h:183
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:180
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.