Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
DCRawImport Class Reference

special class for raw import with dcraw More...

Inheritance diagram for DCRawImport:
Inheritance graph

Public Member Functions

 DCRawImport ()
 
wxString GetImageExtension () override
 image extension of converted files More...
 
bool ProcessAdditionalParameters (wxDialog *dlg) override
 reads additional parameters from dialog into class More...
 
HuginQueue::CommandQueueGetCmdQueueForReference (const wxString &rawFilename, const wxString &imageFilename) override
 return command for processing of reference image More...
 
bool ProcessReferenceOutput (const wxArrayString &output) override
 read output of processing of reference image to read in white balance of reference image More...
 
HuginQueue::CommandQueueGetCmdQueueForImport (const wxArrayString &rawFilenames, const wxArrayString &imageFilenames) override
 return commands for processing of all other images with white balance read by RawImport::ProcessReferenceOutput More...
 
void AddAdditionalPanoramaCommand (std::vector< PanoCommand::PanoCommand * > &cmds, HuginBase::Panorama *pano, const int oldImageCount, const int addedImageCount) override
 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...
 
- Public Member Functions inherited from RawImport
 RawImport (wxString ConfigExePath)
 
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...
 

Protected Member Functions

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

Private Attributes

wxString m_additionalParameters
 
wxString m_wb
 

Additional Inherited Members

- Protected Attributes inherited from RawImport
wxString m_exe
 

Detailed Description

special class for raw import with dcraw

Definition at line 118 of file RawImport.cpp.

Constructor & Destructor Documentation

DCRawImport::DCRawImport ( )
inline

Definition at line 121 of file RawImport.cpp.

Member Function Documentation

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

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 from RawImport.

Definition at line 185 of file RawImport.cpp.

References fill_set(), and HuginBase::BaseSrcPanoImage::RESPONSE_LINEAR.

HuginQueue::CommandQueue* DCRawImport::GetCmdQueueForImport ( const wxArrayString &  rawFilenames,
const wxArrayString &  imageFilenames 
)
inlineoverridevirtual

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

Implements RawImport.

Definition at line 160 of file RawImport.cpp.

References huginApp::Get(), HuginQueue::GetExternalProgram(), huginApp::GetUtilsBinDir(), m_additionalParameters, RawImport::m_exe, m_wb, and HuginQueue::wxEscapeFilename().

HuginQueue::CommandQueue* DCRawImport::GetCmdQueueForReference ( const wxString &  rawFilename,
const wxString &  imageFilename 
)
inlineoverridevirtual

return command for processing of reference image

Implements RawImport.

Definition at line 128 of file RawImport.cpp.

References huginApp::Get(), HuginQueue::GetExternalProgram(), m_additionalParameters, RawImport::m_exe, and HuginQueue::wxEscapeFilename().

virtual wxString DCRawImport::GetDefaultExe ( )
inlineprotectedvirtual

returns the default name of the executable

Reimplemented from RawImport.

Definition at line 193 of file RawImport.cpp.

wxString DCRawImport::GetImageExtension ( )
inlineoverridevirtual

image extension of converted files

Reimplemented from RawImport.

Definition at line 122 of file RawImport.cpp.

bool DCRawImport::ProcessAdditionalParameters ( wxDialog *  dlg)
inlineoverridevirtual

reads additional parameters from dialog into class

Reimplemented from RawImport.

Definition at line 123 of file RawImport.cpp.

References m_additionalParameters.

bool DCRawImport::ProcessReferenceOutput ( const wxArrayString &  output)
inlineoverridevirtual

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

Implements RawImport.

Definition at line 147 of file RawImport.cpp.

References m_wb.

Member Data Documentation

wxString DCRawImport::m_additionalParameters
private
wxString DCRawImport::m_wb
private

Definition at line 203 of file RawImport.cpp.

Referenced by GetCmdQueueForImport(), and ProcessReferenceOutput().


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