PanoCommand::wxAddCtrlPointGridCmd Class Reference

add a control point More...

#include <wxPanoCommand.h>

Inheritance diagram for PanoCommand::wxAddCtrlPointGridCmd:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 wxAddCtrlPointGridCmd (HuginBase::Panorama &p, unsigned int i1, unsigned int i2, double scale, double threshold)
virtual bool processPanorama (HuginBase::Panorama &pano)
 Called by execute().
virtual std::string getName () const
 returns the name of the command

Private Attributes

unsigned int img1
unsigned int img2
unsigned int dx
unsigned int dy
double scale
double cornerThreshold

Detailed Description

add a control point

Definition at line 108 of file wxPanoCommand.h.


Constructor & Destructor Documentation

PanoCommand::wxAddCtrlPointGridCmd::wxAddCtrlPointGridCmd ( HuginBase::Panorama p,
unsigned int  i1,
unsigned int  i2,
double  scale,
double  threshold 
) [inline]

Definition at line 111 of file wxPanoCommand.h.


Member Function Documentation

virtual std::string PanoCommand::wxAddCtrlPointGridCmd::getName (  )  const [inline, virtual]

returns the name of the command

Reimplemented from PanoCommand::PanoCommand.

Definition at line 116 of file wxPanoCommand.h.

bool PanoCommand::wxAddCtrlPointGridCmd::processPanorama ( HuginBase::Panorama pano  )  [virtual]

Called by execute().

The default implementation does nothing and returns true. Should return false when the processing was unsuccessful.

Reimplemented from PanoCommand::PanoCommand.

Definition at line 54 of file wxPanoCommand.cpp.

References HuginBase::Panorama::addCtrlPoint(), vigra::omp::combineTwoImages(), vigra::omp::copyImage(), cornerThreshold, HuginBase::PTools::Transform::createInvTransform(), HuginBase::PTools::Transform::createTransform(), DEBUG_DEBUG, vigra_ext::destImage(), HuginBase::PanoramaOptions::EQUIRECTANGULAR, HuginBase::SrcPanoImage::getHeight(), HuginBase::Panorama::getImage(), HuginBase::SrcPanoImage::getWidth(), img1, img2, scale, HuginBase::PanoramaOptions::setHFOV(), HuginBase::PanoramaOptions::setProjection(), HuginBase::PanoramaOptions::setVFOV(), HuginBase::PanoramaOptions::setWidth(), vigra_ext::srcImage(), vigra_ext::srcImageRange(), vigra_ext::transformImage(), and HuginBase::PTools::Transform::transformImgCoord().


Member Data Documentation

double PanoCommand::wxAddCtrlPointGridCmd::cornerThreshold [private]

Definition at line 120 of file wxPanoCommand.h.

Referenced by processPanorama().

unsigned int PanoCommand::wxAddCtrlPointGridCmd::dx [private]

Definition at line 116 of file wxPanoCommand.h.

unsigned int PanoCommand::wxAddCtrlPointGridCmd::dy [private]

Definition at line 116 of file wxPanoCommand.h.

unsigned int PanoCommand::wxAddCtrlPointGridCmd::img1 [private]

Definition at line 116 of file wxPanoCommand.h.

Referenced by processPanorama().

unsigned int PanoCommand::wxAddCtrlPointGridCmd::img2 [private]

Definition at line 116 of file wxPanoCommand.h.

Referenced by processPanorama().

double PanoCommand::wxAddCtrlPointGridCmd::scale [private]

Definition at line 119 of file wxPanoCommand.h.

Referenced by processPanorama().


The documentation for this class was generated from the following files:
Generated on 25 Apr 2018 for Hugintrunk by  doxygen 1.4.7