Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 More...
 
virtual bool ProcessAdditionalParameters (wxDialog *dlg)
 reads additional parameters from dialog into class More...
 
virtual bool SupportsOverwrite ()
 return true if program supports overwritting output, otherwise false More...
 
bool CheckExe (wxDialog *dlg)
 checks if valid executable was given in dialog either absolute path or when relative path is given check PATH More...
 
virtual HuginQueue::CommandQueueGetCmdQueueForReference (const wxString &rawFilename, const wxString &imageFilename)=0
 return command for processing of reference image More...
 
virtual bool ProcessReferenceOutput (const wxArrayString &output)=0
 read output of processing of reference image to read in white balance of reference image More...
 
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 More...
 
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 More...
 

Protected Member Functions

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

Protected Attributes

wxString m_exe
 

Detailed Description

base class for implementation of Raw import functions

Definition at line 44 of file RawImport.cpp.

Constructor & Destructor Documentation

RawImport::RawImport ( wxString  ConfigExePath)
inline

Definition at line 47 of file RawImport.cpp.

References m_exe.

Member Function Documentation

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 110 of file RawImport.cpp.

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 56 of file RawImport.cpp.

References huginApp::Get(), GetDefaultExe(), and m_exe.

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 DarkTableRawImport, RTRawImport, and DCRawImport.

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

return command for processing of reference image

Implemented in DarkTableRawImport, RTRawImport, and DCRawImport.

virtual wxString RawImport::GetDefaultExe ( )
inlineprotectedvirtual

returns the default name of the executable

Reimplemented in DarkTableRawImport, RTRawImport, and DCRawImport.

Definition at line 113 of file RawImport.cpp.

Referenced by CheckExe().

virtual wxString RawImport::GetImageExtension ( )
inlinevirtual

image extension of converted files

Reimplemented in DCRawImport.

Definition at line 49 of file RawImport.cpp.

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

reads additional parameters from dialog into class

Reimplemented in RTRawImport, and DCRawImport.

Definition at line 51 of file RawImport.cpp.

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 DarkTableRawImport, RTRawImport, and DCRawImport.

virtual bool RawImport::SupportsOverwrite ( )
inlinevirtual

return true if program supports overwritting output, otherwise false

Reimplemented in DarkTableRawImport.

Definition at line 53 of file RawImport.cpp.

Member Data Documentation

wxString RawImport::m_exe
protected

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