Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RawImport Class Referenceabstract

base class for implementation of Raw import functions More...

Inheritance diagram for RawImport:
Inheritance graph

Public Member Functions

 RawImport (wxString ConfigExePath)
 
virtual wxString GetImageExtension ()
 image extension of converted files
 
virtual bool ProcessAdditionalParameters (wxDialog *dlg)
 reads additional parameters from dialog into class
 
virtual bool SupportsOverwrite ()
 return true if program supports overwritting output, otherwise false
 
bool CheckExe (wxDialog *dlg)
 checks if valid executable was given in dialog either absolute path or when relative path is given check PATH
 
virtual HuginQueue::CommandQueueGetCmdQueueForReference (const wxString &rawFilename, const wxString &imageFilename)=0
 return command for processing of reference image
 
virtual bool ProcessReferenceOutput (const wxArrayString &output)=0
 read output of processing of reference image to read in white balance of reference image
 
virtual HuginQueue::CommandQueueGetCmdQueueForImport (const wxArrayString &rawFilenames, const wxArrayString &imageFilenames)=0
 return commands for processing of all other images with white balance read by RawImport::ProcessReferenceOutput
 
virtual void AddAdditionalPanoramaCommand (std::vector< PanoCommand::PanoCommand * > &cmds, HuginBase::Panorama *pano, const int oldImageCount, const int addedImageCount)
 add additional PanoCommand::PanoCommand to vector if needed hint: we need to pass old and new image number because we can't guarantee that the image order remains unchanged by PanoCommand::wxAddImagesCmd
 

Protected Member Functions

virtual wxString GetDefaultExe ()
 returns the default name of the executable
 

Protected Attributes

wxString m_exe
 

Detailed Description

base class for implementation of Raw import functions

Definition at line 45 of file RawImport.cpp.

Constructor & Destructor Documentation

◆ RawImport()

RawImport::RawImport ( wxString  ConfigExePath)
inline

Definition at line 48 of file RawImport.cpp.

References m_exe, and threshold().

Member Function Documentation

◆ AddAdditionalPanoramaCommand()

virtual void RawImport::AddAdditionalPanoramaCommand ( std::vector< PanoCommand::PanoCommand * > &  cmds,
HuginBase::Panorama pano,
const int  oldImageCount,
const int  addedImageCount 
)
inlinevirtual

add additional PanoCommand::PanoCommand to vector if needed hint: we need to pass old and new image number because we can't guarantee that the image order remains unchanged by PanoCommand::wxAddImagesCmd

Reimplemented in DCRawImport.

Definition at line 101 of file RawImport.cpp.

◆ CheckExe()

bool RawImport::CheckExe ( wxDialog *  dlg)
inline

checks if valid executable was given in dialog either absolute path or when relative path is given check PATH

Definition at line 57 of file RawImport.cpp.

References huginApp::Get(), GetDefaultExe(), hugin_utils::HuginMessageBox(), m_exe, and threshold().

◆ GetCmdQueueForImport()

virtual HuginQueue::CommandQueue * RawImport::GetCmdQueueForImport ( const wxArrayString rawFilenames,
const wxArrayString imageFilenames 
)
pure virtual

return commands for processing of all other images with white balance read by RawImport::ProcessReferenceOutput

Implemented in DCRawImport, RTRawImport, and DarkTableRawImport.

◆ GetCmdQueueForReference()

virtual HuginQueue::CommandQueue * RawImport::GetCmdQueueForReference ( const wxString rawFilename,
const wxString imageFilename 
)
pure virtual

return command for processing of reference image

Implemented in DCRawImport, RTRawImport, and DarkTableRawImport.

◆ GetDefaultExe()

virtual wxString RawImport::GetDefaultExe ( )
inlineprotectedvirtual

returns the default name of the executable

Reimplemented in DCRawImport, RTRawImport, and DarkTableRawImport.

Definition at line 104 of file RawImport.cpp.

References threshold().

Referenced by CheckExe().

◆ GetImageExtension()

virtual wxString RawImport::GetImageExtension ( )
inlinevirtual

image extension of converted files

Reimplemented in DCRawImport.

Definition at line 50 of file RawImport.cpp.

References threshold().

◆ ProcessAdditionalParameters()

virtual bool RawImport::ProcessAdditionalParameters ( wxDialog *  dlg)
inlinevirtual

reads additional parameters from dialog into class

Reimplemented in DCRawImport, and RTRawImport.

Definition at line 52 of file RawImport.cpp.

◆ ProcessReferenceOutput()

virtual bool RawImport::ProcessReferenceOutput ( const wxArrayString output)
pure virtual

read output of processing of reference image to read in white balance of reference image

Implemented in DCRawImport, RTRawImport, and DarkTableRawImport.

◆ SupportsOverwrite()

virtual bool RawImport::SupportsOverwrite ( )
inlinevirtual

return true if program supports overwritting output, otherwise false

Reimplemented in DarkTableRawImport.

Definition at line 54 of file RawImport.cpp.

Member Data Documentation

◆ m_exe

wxString RawImport::m_exe
protected

The documentation for this class was generated from the following file: