Hugin trunk
0.1
Loading...
Searching...
No Matches
hugin1
ptbatcher
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>
32
#include "
panodata/PanoramaOptions.h
"
33
#include <wx/log.h>
34
#include "
panodata/Panorama.h
"
35
#include "
base_wx/platform.h
"
36
37
class
Project
;
38
39
WX_DECLARE_OBJARRAY
(
Project
,
ProjectArray
);
//declare an array of projects - main data structure for the batch processor
40
WX_DEFINE_ARRAY_INT
(
int
,
IntArray
);
41
42
class
Project
43
{
44
public
:
45
enum
Status
46
{
47
FINISHED
=0,
48
WAITING
,
49
RUNNING
,
50
FAILED
,
51
MISSING
,
52
PAUSED
53
};
54
enum
Target
55
{
56
STITCHING
=0,
57
DETECTING
58
};
59
60
//generator for unique ids of projects
61
static
long
idGenerator
;
62
//unique id of project
63
long
id
;
64
//project status
65
Status
status
;
66
//project target: stitching or detecting/assistant
67
Target
target
;
68
//project input path
69
wxString
path
;
70
//project output prefix path and filename
71
wxString
prefix
;
72
// user defined output or assistant
73
wxString
userDefindSequence
;
74
//last modification date and time of project
75
wxDateTime
modDate
;
76
//project options
77
HuginBase::PanoramaOptions
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
81
bool
isAligned
;
82
83
//Constructor for project files
84
Project
(
wxString
pth
,
wxString
pfx
,
wxString
newUserDefinedSequence
=
wxEmptyString
,
Project::Target
newTarget
=
STITCHING
);
85
//Constructor for applications
86
explicit
Project
(
wxString
command
);
87
//Returns status of project in string form
88
wxString
GetStatusText
();
89
//Reads and returns options from a project file
90
HuginBase::PanoramaOptions
ReadOptions
(
wxString
projectFile
);
91
//Resets the project options of project
92
void
ResetOptions
();
93
};
94
95
#endif
//PROJECTARRAY_H
PanoramaOptions.h
Panorama.h
WX_DEFINE_ARRAY_INT
WX_DEFINE_ARRAY_INT(int, IntArray)
WX_DECLARE_OBJARRAY
WX_DECLARE_OBJARRAY(Project, ProjectArray)
HuginBase::PanoramaOptions
Panorama image options.
Definition
PanoramaOptions.h:80
Project
Definition
ProjectArray.h:43
Project::target
Target target
Definition
ProjectArray.h:67
Project::userDefindSequence
wxString userDefindSequence
Definition
ProjectArray.h:73
Project::modDate
wxDateTime modDate
Definition
ProjectArray.h:75
Project::path
wxString path
Definition
ProjectArray.h:69
Project::skip
bool skip
Definition
ProjectArray.h:79
Project::isAligned
bool isAligned
Definition
ProjectArray.h:81
Project::idGenerator
static long idGenerator
Definition
ProjectArray.h:61
Project::options
HuginBase::PanoramaOptions options
Definition
ProjectArray.h:77
Project::ReadOptions
HuginBase::PanoramaOptions ReadOptions(wxString projectFile)
Definition
ProjectArray.cpp:88
Project::Target
Target
Definition
ProjectArray.h:55
Project::STITCHING
@ STITCHING
Definition
ProjectArray.h:56
Project::DETECTING
@ DETECTING
Definition
ProjectArray.h:57
Project::status
Status status
Definition
ProjectArray.h:65
Project::GetStatusText
wxString GetStatusText()
Definition
ProjectArray.cpp:67
Project::Status
Status
Definition
ProjectArray.h:46
Project::RUNNING
@ RUNNING
Definition
ProjectArray.h:49
Project::MISSING
@ MISSING
Definition
ProjectArray.h:51
Project::FAILED
@ FAILED
Definition
ProjectArray.h:50
Project::PAUSED
@ PAUSED
Definition
ProjectArray.h:52
Project::FINISHED
@ FINISHED
Definition
ProjectArray.h:47
Project::WAITING
@ WAITING
Definition
ProjectArray.h:48
Project::id
long id
Definition
ProjectArray.h:63
Project::prefix
wxString prefix
Definition
ProjectArray.h:71
Project::ResetOptions
void ResetOptions()
Definition
ProjectArray.cpp:130
platform.h
implementation of huginApp Class
threshold
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
Generated on Tue Sep 1 2026 20:52:05 for Hugin trunk by
1.9.8