Hugintrunk
0.1
|
#include <ProjectArray.h>
Public Types | |
enum | Status { FINISHED =0, WAITING, RUNNING, FAILED, MISSING, PAUSED } |
enum | Target { STITCHING =0, DETECTING } |
Public Member Functions | |
Project (wxString pth, wxString pfx, wxString newUserDefinedSequence=wxEmptyString, Project::Target newTarget=STITCHING) | |
Project (wxString command) | |
wxString | GetStatusText () |
HuginBase::PanoramaOptions | ReadOptions (wxString projectFile) |
void | ResetOptions () |
Public Attributes | |
long | id |
Status | status |
Target | target |
wxString | path |
wxString | prefix |
wxString | userDefindSequence |
wxDateTime | modDate |
HuginBase::PanoramaOptions | options |
bool | skip |
bool | isAligned |
Static Public Attributes | |
static long | idGenerator =1 |
Definition at line 42 of file ProjectArray.h.
enum Project::Status |
Enumerator | |
---|---|
FINISHED | |
WAITING | |
RUNNING | |
FAILED | |
MISSING | |
PAUSED |
Definition at line 45 of file ProjectArray.h.
enum Project::Target |
Enumerator | |
---|---|
STITCHING | |
DETECTING |
Definition at line 54 of file ProjectArray.h.
Project::Project | ( | wxString | pth, |
wxString | pfx, | ||
wxString | newUserDefinedSequence = wxEmptyString , |
||
Project::Target | newTarget = STITCHING |
||
) |
Definition at line 37 of file ProjectArray.cpp.
References idGenerator, isAligned, modDate, options, path, prefix, ReadOptions(), skip, status, target, userDefindSequence, and WAITING.
|
explicit |
Definition at line 56 of file ProjectArray.cpp.
References idGenerator, isAligned, path, skip, status, STITCHING, target, and WAITING.
wxString Project::GetStatusText | ( | ) |
Definition at line 67 of file ProjectArray.cpp.
References FAILED, FINISHED, MISSING, PAUSED, RUNNING, status, and WAITING.
Referenced by ProjectListBox::GetAttributeString(), and ProjectListBox::UpdateStatus().
HuginBase::PanoramaOptions Project::ReadOptions | ( | wxString | projectFile | ) |
Definition at line 88 of file ProjectArray.cpp.
References HuginBase::PanoramaOptions::enblendOptions, HuginBase::PanoramaOptions::enfuseOptions, getDefaultOutputName(), HuginBase::Panorama::getNrOfCtrlPoints(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptions(), HUGIN_CONV_FILENAME, isAligned, HuginBase::PanoramaMemento::loadPTScript(), prefix, HuginBase::Panorama::setMemento(), and HuginBase::Panorama::setOptions().
Referenced by Project(), and ResetOptions().
void Project::ResetOptions | ( | ) |
Definition at line 130 of file ProjectArray.cpp.
References modDate, options, path, and ReadOptions().
Referenced by BatchFrame::OnUpdateListBox().
long Project::id |
Definition at line 63 of file ProjectArray.h.
Referenced by ProjectListBox::AppendProject(), ProjectListBox::GetAttributeString(), BatchFrame::OnButtonChangePrefix(), BatchFrame::OnButtonChangeUserDefinedSequence(), BatchFrame::OnRefillListBox(), and BatchFrame::OnUpdateListBox().
|
static |
Definition at line 61 of file ProjectArray.h.
Referenced by Batch::AppendBatchFile(), Batch::ClearBatch(), Project(), Batch::RemoveProjectAtIndex(), and Batch::SaveBatchFile().
bool Project::isAligned |
Definition at line 81 of file ProjectArray.h.
Referenced by BatchFrame::AddDirToList(), Project(), and ReadOptions().
wxDateTime Project::modDate |
Definition at line 75 of file ProjectArray.h.
Referenced by ProjectListBox::GetAttributeString(), BatchFrame::OnUpdateListBox(), Project(), and ResetOptions().
HuginBase::PanoramaOptions Project::options |
Definition at line 77 of file ProjectArray.h.
Referenced by ProjectListBox::GetAttributeString(), Project(), and ResetOptions().
wxString Project::path |
Definition at line 69 of file ProjectArray.h.
Referenced by ProjectListBox::AppendProject(), ProjectListBox::GetAttributeString(), BatchFrame::OnButtonChangePrefix(), BatchFrame::OnButtonRemoveFromList(), BatchFrame::OnButtonReset(), BatchFrame::OnUpdateListBox(), Project(), and ResetOptions().
wxString Project::prefix |
Definition at line 71 of file ProjectArray.h.
Referenced by ProjectListBox::GetAttributeString(), BatchFrame::OnButtonChangePrefix(), Project(), and ReadOptions().
bool Project::skip |
Definition at line 79 of file ProjectArray.h.
Referenced by BatchFrame::OnUpdateListBox(), and Project().
Status Project::status |
Definition at line 65 of file ProjectArray.h.
Referenced by ProjectListBox::GetAttributeString(), GetStatusText(), and Project().
Target Project::target |
Definition at line 67 of file ProjectArray.h.
Referenced by BatchFrame::AddDirToList(), ProjectListBox::GetAttributeString(), BatchFrame::OnButtonChangePrefix(), BatchFrame::OnButtonChangeUserDefinedSequence(), ProjectListBox::OnContextMenu(), BatchFrame::OnUpdateListBox(), and Project().
wxString Project::userDefindSequence |
Definition at line 73 of file ProjectArray.h.
Referenced by ProjectListBox::GetAttributeString(), BatchFrame::OnButtonChangeUserDefinedSequence(), BatchFrame::OnUpdateListBox(), and Project().