ldpk
ldpk.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <ldpk/ldpk_error.h>
4 #include <ldpk/ldpk_vec2d.h>
12 #include <ldpk/ldpk_generic_anamorphic_distortion.h>
14 
16 
19 namespace ldpk
20  {
22  inline const char* text(::tde4_ldp_ptype ptype)
23  {
24  switch(ptype)
25  {
26  case TDE4_LDP_STRING: return "string";
27  case TDE4_LDP_DOUBLE: return "double";
28  case TDE4_LDP_INT: return "int";
29  case TDE4_LDP_FILE: return "file";
30  case TDE4_LDP_TOGGLE: return "toggle";
31  case TDE4_LDP_ADJUSTABLE_DOUBLE: return "adjustable double";
32  }
33  return "<error>";
34  }
35  }
36 
const char * text(::tde4_ldp_ptype ptype)
text representation of parameter types
Definition: ldpk.h:22
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:19
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.