PT::LoadPTProjectCmd Class Reference

dump the current project and load a new one. More...

#include <PanoCommand.h>

Inheritance diagram for PT::LoadPTProjectCmd:

Inheritance graph
List of all members.

Public Member Functions

 LoadPTProjectCmd (Panorama &p, const std::string &filename, const std::string &prefix="")
virtual bool processPanorama (Panorama &pano)
virtual std::string getName () const

Private Attributes

const std::stringfilename
const std::stringprefix

Detailed Description

dump the current project and load a new one.

Use this for style projects.

Definition at line 1022 of file PanoCommand.h.

Constructor & Destructor Documentation

PT::LoadPTProjectCmd::LoadPTProjectCmd ( Panorama p,
const std::string filename,
const std::string prefix = "" 
) [inline]

Definition at line 1025 of file PanoCommand.h.

References HuginBase::PanoCommand< std::string >::m_clearDirty.

Member Function Documentation

virtual std::string PT::LoadPTProjectCmd::getName (  )  const [inline, virtual]

Reimplemented from AppBase::Command< std::string >.

Definition at line 1054 of file PanoCommand.h.

virtual bool PT::LoadPTProjectCmd::processPanorama ( Panorama pano  )  [inline, virtual]

Reimplemented from PT::PanoCommand.

Definition at line 1031 of file PanoCommand.h.

References DEBUG_ERROR, filename, HuginBase::PanoCommand< std::string >::pano, prefix, and AppBase::DocumentData::SUCCESSFUL.

Member Data Documentation

const std::string& PT::LoadPTProjectCmd::filename [private]

Definition at line 1060 of file PanoCommand.h.

Referenced by processPanorama().

const std::string& PT::LoadPTProjectCmd::prefix [private]

Definition at line 1061 of file PanoCommand.h.

Referenced by processPanorama().

The documentation for this class was generated from the following file:
Generated on 22 May 2018 for Hugintrunk by  doxygen 1.4.7