Project Class Reference

#include <ProjectArray.h>

List of all members.

Public Types

 FINISHED = 0
 WAITING
 RUNNING
 FAILED
 MISSING
 PAUSED
 STITCHING = 0
 DETECTING
enum  Status {
  FINISHED = 0, WAITING, RUNNING, FAILED,
  MISSING, PAUSED
}
enum  Target { STITCHING = 0, DETECTING }

Public Member Functions

 Project (wxString pth, wxString pfx, Project::Target newTarget=STITCHING)
 Project (wxString command)
wxString GetStatusText ()
PanoramaOptions ReadOptions (wxString projectFile)
void ResetOptions ()

Public Attributes

long id
Status status
Target target
wxString path
wxString prefix
wxDateTime modDate
HuginBase::PanoramaOptions options
bool skip
bool isAligned

Static Public Attributes

static long idGenerator = 1


Detailed Description

Definition at line 44 of file ProjectArray.h.


Member Enumeration Documentation

enum Project::Status

Enumerator:
FINISHED 
WAITING 
RUNNING 
FAILED 
MISSING 
PAUSED 

Definition at line 47 of file ProjectArray.h.

enum Project::Target

Enumerator:
STITCHING 
DETECTING 

Definition at line 56 of file ProjectArray.h.


Constructor & Destructor Documentation

Project::Project ( wxString  pth,
wxString  pfx,
Project::Target  newTarget = STITCHING 
)

Definition at line 36 of file ProjectArray.cpp.

References idGenerator, isAligned, modDate, options, path, prefix, ReadOptions(), skip, status, target, and WAITING.

Project::Project ( wxString  command  ) 

Definition at line 54 of file ProjectArray.cpp.

References idGenerator, isAligned, path, skip, status, STITCHING, target, and WAITING.


Member Function Documentation

wxString Project::GetStatusText (  ) 

Definition at line 65 of file ProjectArray.cpp.

References FAILED, FINISHED, MISSING, PAUSED, RUNNING, status, and WAITING.

Referenced by ProjectListBox::GetAttributeString(), and ProjectListBox::UpdateStatus().

PanoramaOptions Project::ReadOptions ( wxString  projectFile  ) 

Definition at line 86 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, PT::PanoramaMemento::loadPTScript(), prefix, HuginBase::Panorama::setMemento(), and HuginBase::Panorama::setOptions().

Referenced by Project(), and ResetOptions().

void Project::ResetOptions (  ) 

Definition at line 135 of file ProjectArray.cpp.

References modDate, options, path, and ReadOptions().

Referenced by BatchFrame::OnUpdateListBox().


Member Data Documentation

long Project::id

Definition at line 65 of file ProjectArray.h.

Referenced by ProjectListBox::AppendProject(), ProjectListBox::GetAttributeString(), and BatchFrame::OnUpdateListBox().

long Project::idGenerator = 1 [static]

Definition at line 63 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 71 of file ProjectArray.h.

Referenced by ProjectListBox::AppendProject(), ProjectListBox::GetAttributeString(), BatchFrame::OnUpdateListBox(), Project(), and ResetOptions().

wxString Project::prefix

Definition at line 73 of file ProjectArray.h.

Referenced by ProjectListBox::GetAttributeString(), 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 67 of file ProjectArray.h.

Referenced by ProjectListBox::GetAttributeString(), GetStatusText(), and Project().

Target Project::target

Definition at line 69 of file ProjectArray.h.

Referenced by BatchFrame::AddDirToList(), ProjectListBox::GetAttributeString(), ProjectListBox::GetSelectedProjectTarget(), BatchFrame::OnUpdateListBox(), and Project().


The documentation for this class was generated from the following files:
Generated on 1 Nov 2014 for Hugintrunk by  doxygen 1.4.7