plastimatch
Loading...
Searching...
No Matches
proj_image_dir.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _proj_image_dir_h_
5#define _proj_image_dir_h_
6
7#include "plmbase_config.h"
8#include <string>
9
10class Proj_image;
11
13{
14public:
15 Proj_image_dir (const std::string& dir);
16 Proj_image_dir (const char *dir);
18
19public:
20 char *dir; /* Dir containing images, maybe not xml file */
23
24 std::string xml_file;
25 char *img_pat;
26 char *mat_pat;
27
28 double xy_offset[2];
29
30public:
31 Proj_image* load_image (int index);
32 void select (int first, int skip, int last);
33 void set_xy_offset (const double xy_offset[2]);
34
35private:
36 void clear_filenames ();
37 void find_pattern (void);
38 void harden_filenames ();
39 void load_filenames (const char *dir);
40};
41
42#endif
Definition proj_image_dir.h:13
char * mat_pat
Definition proj_image_dir.h:26
int num_proj_images
Definition proj_image_dir.h:21
char * dir
Definition proj_image_dir.h:20
char ** proj_image_list
Definition proj_image_dir.h:22
std::string xml_file
Definition proj_image_dir.h:24
char * img_pat
Definition proj_image_dir.h:25
Definition proj_image.h:13
#define PLMBASE_API
Definition plmbase_config.h:19