Hugin trunk 0.1
Loading...
Searching...
No Matches
ProjectArray.h
Go to the documentation of this file.
1// -*- c-basic-offset: 4 -*-
2
27#ifndef PROJECTARRAY_H
28#define PROJECTARRAY_H
29
30#include <wx/dynarray.h>
31#include <wx/string.h>
33#include <wx/log.h>
34#include "panodata/Panorama.h"
35#include "base_wx/platform.h"
36
37class Project;
38
39WX_DECLARE_OBJARRAY(Project, ProjectArray); //declare an array of projects - main data structure for the batch processor
41
43{
44public:
54 enum Target
55 {
58 };
59
60 //generator for unique ids of projects
61 static long idGenerator;
62 //unique id of project
63 long id;
64 //project status
66 //project target: stitching or detecting/assistant
68 //project input path
70 //project output prefix path and filename
72 // user defined output or assistant
74 //last modification date and time of project
76 //project options
78 //true if project is missing or should be skipped for a different reason when executing batch
79 bool skip;
80 // true, if project is probably aligned
82
83 //Constructor for project files
85 //Constructor for applications
86 explicit Project(wxString command);
87 //Returns status of project in string form
89 //Reads and returns options from a project file
91 //Resets the project options of project
92 void ResetOptions();
93};
94
95#endif //PROJECTARRAY_H
WX_DEFINE_ARRAY_INT(int, IntArray)
WX_DECLARE_OBJARRAY(Project, ProjectArray)
Panorama image options.
Target target
wxString userDefindSequence
wxDateTime modDate
wxString path
bool skip
bool isAligned
static long idGenerator
HuginBase::PanoramaOptions options
HuginBase::PanoramaOptions ReadOptions(wxString projectFile)
Status status
wxString GetStatusText()
wxString prefix
void ResetOptions()
implementation of huginApp Class
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.
Definition threshold.h:41