PanoCommand Namespace Reference


Classes

class  PanoCommand
 Base class for all panorama commands. More...
class  CommandHistory
 A history for Command, provides undo/redo functionality. More...
class  GlobalCmdHist
 Singleton CommandHistory. More...
class  CombinedPanoCommand
 PanoCommand to combine other PanoCommands. More...
class  NewPanoCmd
 reset the panorama More...
class  AddImagesCmd
 add image(s) to a panorama More...
class  RemoveImageCmd
 remove an image from a panorama More...
class  RemoveImagesCmd
 remove multiple images from a panorama More...
class  UpdateVariablesCmd
 update all variables More...
class  UpdateCPsCmd
 update all control points More...
class  UpdateVariablesCPCmd
 update all variables & control points More...
class  UpdateVariablesCPSetCmd
 update all variables & control points More...
class  UpdateImageVariablesCmd
 update variables of a single image More...
class  UpdateImagesVariablesCmd
 update variables of a group of images More...
class  UpdateVariablesByParseExpression
 update variables by parsing a expression More...
class  UpdateOptimizeVectorCmd
 updates the optimize vector, aka all variables which should be optimized More...
class  UpdateOptimizerSwitchCmd
 update the optimizer master switch More...
class  UpdatePhotometricOptimizerSwitchCmd
 update the photometric optimizer master switch More...
class  SetVariableCmd
 update a single variable, possibly for a group of images More...
class  CenterPanoCmd
 center panorama horizontically More...
class  StraightenPanoCmd
 straighten panorama horizontically More...
class  AddCtrlPointCmd
 add a control point More...
class  AddCtrlPointsCmd
 add multiple control points More...
class  RemoveCtrlPointCmd
 remove a control point More...
class  RemoveCtrlPointsCmd
 remove several control points More...
class  ChangeCtrlPointCmd
 change a control point More...
class  SetActiveImagesCmd
 set active images More...
class  SwapImagesCmd
 swap two images More...
class  MoveImageCmd
 move image from position1 to position2 More...
class  MergePanoCmd
 merge two project files More...
class  UpdateSrcImageCmd
 update source image More...
class  UpdateSrcImagesCmd
 update source images More...
class  SetPanoOptionsCmd
 set the panorama options More...
class  LoadPTProjectCmd
 dump the current project and load a new one. More...
class  RotatePanoCmd
 Rotate the panorama. More...
class  TranslatePanoCmd
 Translate the panorama. More...
class  UpdateFocalLengthCmd
 Update the focal length. More...
class  UpdateCropFactorCmd
 Update the crop factor. More...
class  ChangePartNumberCmd
 Switch the part number of an image. More...
class  ChangePartImagesLinkingCmd
 Change the linking of some variables across parts of an ImageVariableGroup containing some specified images. More...
class  LinkLensVarsCmd
 Link a set of lens variables for some lens. More...
class  ChangeImageFilenameCmd
class  ChangeImageSizeCmd
class  ChangeImageProjectionCmd
class  ChangeImageHFOVCmd
class  ChangeImageCropFactorCmd
class  ChangeImageResponseTypeCmd
class  ChangeImageEMoRParamsCmd
class  ChangeImageExposureValueCmd
class  ChangeImageGammaCmd
class  ChangeImageWhiteBalanceRedCmd
class  ChangeImageWhiteBalanceBlueCmd
class  ChangeImageRollCmd
class  ChangeImagePitchCmd
class  ChangeImageYawCmd
class  ChangeImageXCmd
class  ChangeImageYCmd
class  ChangeImageZCmd
class  ChangeImageTranslationPlaneYawCmd
class  ChangeImageTranslationPlanePitchCmd
class  ChangeImageStackCmd
class  ChangeImageRadialDistortionCmd
class  ChangeImageRadialDistortionRedCmd
class  ChangeImageRadialDistortionBlueCmd
class  ChangeImageRadialDistortionCenterShiftCmd
class  ChangeImageShearCmd
class  ChangeImageCropModeCmd
class  ChangeImageCropRectCmd
class  ChangeImageAutoCenterCropCmd
class  ChangeImageVigCorrModeCmd
class  ChangeImageFlatfieldFilenameCmd
class  ChangeImageRadialVigCorrCoeffCmd
class  ChangeImageRadialVigCorrCenterShiftCmd
class  ChangeImageExifModelCmd
class  ChangeImageExifMakeCmd
class  ChangeImageExifLensCmd
class  ChangeImageExifFocalLengthCmd
class  ChangeImageExifOrientationCmd
class  ChangeImageExifApertureCmd
class  ChangeImageExifISOCmd
class  ChangeImageExifDistanceCmd
class  ChangeImageExifFocalLength35Cmd
class  ChangeImageExifCropFactorCmd
class  ChangeImageExifExposureTimeCmd
class  ChangeImageExifDateCmd
class  ChangeImageExifExposureModeCmd
class  ChangeImageExifRedBalanceCmd
class  ChangeImageExifBlueBalanceCmd
class  ChangeImageFileMetadataCmd
class  ChangeImageMasksCmd
class  ChangeImageActiveMasksCmd
class  ChangeImageActiveCmd
class  NewPartCmd
 Make a new part in a ImageVariableGroup for a set of images, given the variables that make up the group. More...
class  UpdateMaskForImgCmd
 update mask for given image More...
class  UpdateWhiteBalance
 update global white balance More...
class  ResetToMeanExposure
 reset output exposure to mean exposure of all images More...
class  DistributeImagesCmd
 distributes all images above the sphere, for the assistant More...
struct  FileIsNewer
class  wxAddImagesCmd
 add image(s) to a panorama More...
class  wxLoadPTProjectCmd
 dump the current project and load a new one. More...
class  wxNewProjectCmd
 start a new project, reset options to values in preferences More...
class  wxApplyTemplateCmd
 apply a template to a panorama object More...
class  wxAddCtrlPointGridCmd
 add a control point More...

Functions

 ~PanoCommand ()
void execute ()
void undo ()
void redo ()
std::string getName () const
void setName (const std::string &newName)
bool wasSuccessful ()
void setSuccessful (bool success)
void saveMemento ()
void saveRedoMemento ()
bool processPanorama (HuginBase::Panorama &panoramaData)
void applyColorBalanceValue (HuginBase::SrcPanoImage &srcImg, HuginBase::Panorama &pano)
void copySrcImageExif (HuginBase::SrcPanoImage &destImg, HuginBase::SrcPanoImage srcImg)
bool getLensDataFromUser (wxWindow *parent, HuginBase::SrcPanoImage &srcImg)


Function Documentation

PanoCommand::~PanoCommand (  ) 

Definition at line 29 of file Command.cpp.

void PanoCommand::execute (  ) 

Definition at line 41 of file Command.cpp.

References processPanorama(), saveMemento(), and setSuccessful().

Referenced by CommandHistory::redo(), PanoCommand::CommandHistory::redo(), and redo().

void PanoCommand::undo (  ) 

Definition at line 62 of file Command.cpp.

References DEBUG_ASSERT, and saveRedoMemento().

void PanoCommand::redo (  ) 

Definition at line 70 of file Command.cpp.

References execute().

std::string PanoCommand::getName (  )  const

Definition at line 83 of file Command.cpp.

Referenced by CommandHistory::redo(), PanoCommand::CommandHistory::redo(), CommandHistory::undo(), and PanoCommand::CommandHistory::undo().

void PanoCommand::setName ( const std::string newName  ) 

Definition at line 88 of file Command.cpp.

Referenced by PanoCommand::CombinedPanoCommand::CombinedPanoCommand().

bool PanoCommand::wasSuccessful (  ) 

Definition at line 93 of file Command.cpp.

void PanoCommand::setSuccessful ( bool  success  ) 

Definition at line 98 of file Command.cpp.

Referenced by execute().

void PanoCommand::saveMemento (  ) 

Definition at line 103 of file Command.cpp.

Referenced by execute().

void PanoCommand::saveRedoMemento (  ) 

Definition at line 112 of file Command.cpp.

Referenced by undo().

bool PanoCommand::processPanorama ( HuginBase::Panorama panoramaData  ) 

Definition at line 121 of file Command.cpp.

Referenced by execute().

void PanoCommand::applyColorBalanceValue ( HuginBase::SrcPanoImage srcImg,
HuginBase::Panorama pano 
)

Definition at line 143 of file wxPanoCommand.cpp.

References HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptions(), HuginBase::BaseSrcPanoImage::setWhiteBalanceBlue(), and HuginBase::BaseSrcPanoImage::setWhiteBalanceRed().

Referenced by PanoCommand::wxAddImagesCmd::processPanorama().

void PanoCommand::copySrcImageExif ( HuginBase::SrcPanoImage destImg,
HuginBase::SrcPanoImage  srcImg 
)

Definition at line 180 of file wxPanoCommand.cpp.

References HuginBase::BaseSrcPanoImage::setExifAperture(), HuginBase::BaseSrcPanoImage::setExifBlueBalance(), HuginBase::BaseSrcPanoImage::setExifCropFactor(), HuginBase::BaseSrcPanoImage::setExifDate(), HuginBase::BaseSrcPanoImage::setExifDistance(), HuginBase::BaseSrcPanoImage::setExifExposureMode(), HuginBase::BaseSrcPanoImage::setExifExposureTime(), HuginBase::BaseSrcPanoImage::setExifFocalLength(), HuginBase::BaseSrcPanoImage::setExifFocalLength35(), HuginBase::BaseSrcPanoImage::setExifISO(), HuginBase::BaseSrcPanoImage::setExifLens(), HuginBase::BaseSrcPanoImage::setExifMake(), HuginBase::BaseSrcPanoImage::setExifModel(), HuginBase::BaseSrcPanoImage::setExifOrientation(), HuginBase::BaseSrcPanoImage::setExifRedBalance(), and HuginBase::BaseSrcPanoImage::setFileMetadata().

Referenced by PanoCommand::wxAddImagesCmd::processPanorama().

bool PanoCommand::getLensDataFromUser ( wxWindow *  parent,
HuginBase::SrcPanoImage srcImg 
)

Definition at line 200 of file wxPanoCommand.cpp.

References HFOVDialog::GetCropFactor(), HFOVDialog::GetSrcImage(), and HuginBase::BaseSrcPanoImage::setCropFactor().

Referenced by PT::wxLoadPTProjectCmd::processPanorama(), PT::wxAddImagesCmd::processPanorama(), PanoCommand::wxLoadPTProjectCmd::processPanorama(), and PanoCommand::wxAddImagesCmd::processPanorama().


Generated on 25 Apr 2018 for Hugintrunk by  doxygen 1.4.7