HuginBase::AssistantMakefilelibExport Class Reference

#include <AssistantMakefilelibExport.h>

Inheritance diagram for HuginBase::AssistantMakefilelibExport:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AssistantMakefilelibExport (PanoramaData &pano_, const AssistantPrograms &progs_, const bool &runLinefind_, const bool &runCeleste_, const double &celesteThreshold_, const bool &celesteSmallRadius_, const bool &runCPClean_, const double &scale_, std::ostream &makefile_, const std::string &projectFile_)
virtual bool modifiesPanoramaData () const
 returns true if the algorithm changes the PanoramaData.
bool runAlgorithm ()
 implementation of the algorithm.
virtual ~AssistantMakefilelibExport ()

Static Public Member Functions

void createMakefile (PanoramaData &pano_, const AssistantPrograms &progs_, const bool &runLinefind_, const bool &runCeleste_, const double &celesteThreshold_, const bool &celesteSmallRadius_, const bool &runCPClean_, const double &scale_, std::ostream &makefile_, const std::string &projectFile_)

Private Member Functions

bool createItems ()
void echoInfo (makefile::Rule &inforule, const std::string &info)
bool writeMakefile ()

Private Attributes

PanoramaDatapano
std::ostreammakefile
const std::stringprojectFile
const AssistantProgramsprogs
const bool & runLinefind
const bool & runCeleste
const double & celesteThreshold
const bool & celesteSmallRadius
const bool & runCPClean
const double & scale
makefile::Manager mgr
std::ostringstream valuestream

Constructor & Destructor Documentation

HuginBase::AssistantMakefilelibExport::AssistantMakefilelibExport PanoramaData pano_,
const AssistantPrograms progs_,
const bool &  runLinefind_,
const bool &  runCeleste_,
const double &  celesteThreshold_,
const bool &  celesteSmallRadius_,
const bool &  runCPClean_,
const double &  scale_,
std::ostream makefile_,
const std::string projectFile_
[inline]
 

Definition at line 91 of file AssistantMakefilelibExport.h.

virtual HuginBase::AssistantMakefilelibExport::~AssistantMakefilelibExport  )  [inline, virtual]
 

Definition at line 137 of file AssistantMakefilelibExport.h.


Member Function Documentation

bool HuginBase::AssistantMakefilelibExport::createItems  )  [private]
 

Definition at line 74 of file AssistantMakefilelibExport.cpp.

References makefile::MakefileItem::add(), makefile::Rule::addCommand(), makefile::Rule::addPrereq(), makefile::Rule::addTarget(), HuginBase::AssistantMakefilelibExport::AssistantPrograms::autooptimiser, HuginBase::AssistantMakefilelibExport::AssistantPrograms::celeste, HuginBase::AssistantMakefilelibExport::AssistantPrograms::checkpto, HuginBase::AssistantMakefilelibExport::AssistantPrograms::cpclean, HuginBase::CPComponents, HuginBase::CPGraph, HuginBase::CPVector, HuginBase::createCPGraph(), cstr, echoInfo(), HuginBase::findCPComponents(), HuginBase::PanoramaData::getCtrlPoints(), makefile::Variable::getDef(), HuginBase::PanoramaData::getNrOfCtrlPoints(), HuginBase::AssistantMakefilelibExport::AssistantPrograms::icpfind, HuginBase::AssistantMakefilelibExport::AssistantPrograms::linefind, mgr, newVarDef, makefile::Manager::own(), makefile::Manager::own_add(), pano, HuginBase::AssistantMakefilelibExport::AssistantPrograms::pano_modify, progs, projectFile, hugin_utils::roundi(), scale, and valuestream.

Referenced by createMakefile().

void HuginBase::AssistantMakefilelibExport::createMakefile PanoramaData pano_,
const AssistantPrograms progs_,
const bool &  runLinefind_,
const bool &  runCeleste_,
const double &  celesteThreshold_,
const bool &  celesteSmallRadius_,
const bool &  runCPClean_,
const double &  scale_,
std::ostream makefile_,
const std::string projectFile_
[inline, static]
 

Definition at line 109 of file AssistantMakefilelibExport.h.

References createItems(), and writeMakefile().

Referenced by RunStitchPanel::DetectProject(), and MainFrame::RunAssistant().

void HuginBase::AssistantMakefilelibExport::echoInfo makefile::Rule inforule,
const std::string info
[private]
 

Definition at line 61 of file AssistantMakefilelibExport.cpp.

References makefile::Rule::addCommand().

Referenced by createItems().

virtual bool HuginBase::AssistantMakefilelibExport::modifiesPanoramaData  )  const [inline, virtual]
 

returns true if the algorithm changes the PanoramaData.

Implements HuginBase::PanoramaAlgorithm.

Definition at line 128 of file AssistantMakefilelibExport.h.

bool HuginBase::AssistantMakefilelibExport::runAlgorithm  )  [inline, virtual]
 

implementation of the algorithm.

You should override with your algorithm's implementiation.

Implements HuginBase::PanoramaAlgorithm.

Definition at line 132 of file AssistantMakefilelibExport.h.

bool HuginBase::AssistantMakefilelibExport::writeMakefile  )  [inline, private]
 

Definition at line 86 of file AssistantMakefilelibExport.h.

References makefile::Makefile::getSingleton(), and makefile::Makefile::writeMakefile().

Referenced by createMakefile().


Member Data Documentation

const bool& HuginBase::AssistantMakefilelibExport::celesteSmallRadius [private]
 

Definition at line 77 of file AssistantMakefilelibExport.h.

const double& HuginBase::AssistantMakefilelibExport::celesteThreshold [private]
 

Definition at line 76 of file AssistantMakefilelibExport.h.

std::ostream& HuginBase::AssistantMakefilelibExport::makefile [private]
 

Definition at line 71 of file AssistantMakefilelibExport.h.

makefile::Manager HuginBase::AssistantMakefilelibExport::mgr [private]
 

Definition at line 81 of file AssistantMakefilelibExport.h.

Referenced by createItems().

PanoramaData& HuginBase::AssistantMakefilelibExport::pano [private]
 

Definition at line 70 of file AssistantMakefilelibExport.h.

Referenced by createItems().

const AssistantPrograms& HuginBase::AssistantMakefilelibExport::progs [private]
 

Definition at line 73 of file AssistantMakefilelibExport.h.

Referenced by createItems().

const std::string& HuginBase::AssistantMakefilelibExport::projectFile [private]
 

Definition at line 72 of file AssistantMakefilelibExport.h.

Referenced by createItems().

const bool& HuginBase::AssistantMakefilelibExport::runCeleste [private]
 

Definition at line 75 of file AssistantMakefilelibExport.h.

const bool& HuginBase::AssistantMakefilelibExport::runCPClean [private]
 

Definition at line 78 of file AssistantMakefilelibExport.h.

const bool& HuginBase::AssistantMakefilelibExport::runLinefind [private]
 

Definition at line 74 of file AssistantMakefilelibExport.h.

const double& HuginBase::AssistantMakefilelibExport::scale [private]
 

Definition at line 79 of file AssistantMakefilelibExport.h.

Referenced by createItems().

std::ostringstream HuginBase::AssistantMakefilelibExport::valuestream [private]
 

Definition at line 82 of file AssistantMakefilelibExport.h.

Referenced by createItems().


The documentation for this class was generated from the following files:
Generated on Mon Sep 1 01:25:52 2014 for Hugintrunk by  doxygen 1.3.9.1