ldpk
ldpk_table_generator.h
Go to the documentation of this file.
1 #ifndef ldpk_table_generator_sdv
2 #define ldpk_table_generator_sdv
3 
4 #include <ldpk/tde4_ld_plugin.h>
5 #include <iostream>
6 
9 
10 namespace ldpk
11  {
14  {
15  private:
16  tde4_ld_plugin* _model;
17  int _nx,_ny;
18  public:
19  table_generator():_model(0),_nx(21),_ny(15)
20  { }
21  void set_model(tde4_ld_plugin* m)
22  { _model = m; }
24  void set_grid_size(int nx,int ny)
25  { _nx = nx;_ny = ny; }
27  void out_gnuplot(std::ostream& out);
29  void out_svg(std::ostream& out);
30  };
31  }
32 
33 #endif
void out_svg(std::ostream &out)
Generate svg-grid, including styles.
void set_grid_size(int nx, int ny)
Number of grid points per dimension.
Definition: ldpk_table_generator.h:24
The namespace of (most of the) things related to the Lens Distortion Plugin Kit.
Definition: ldpk.h:19
Generate table data from plugin for visualization.
Definition: ldpk_table_generator.h:13
Lens Distortion Plugin Base Class.
Definition: tde4_ld_plugin.h:29
void out_gnuplot(std::ostream &out)
Generate table data (use command &#39;plot "file" with vector&#39; in gnuplot)
Definition: ldpk_table_generator.C:8