Hugin trunk 0.1
Loading...
Searching...
No Matches
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
 
bool ProcessAdditionalParameters (wxDialog *dlg) override
 reads additional parameters from dialog into class
 
HuginQueue::CommandQueueGetCmdQueueForReference (const wxString &rawFilename, const wxString &imageFilename) override
 return command for processing of reference image
 
bool ProcessReferenceOutput (const wxArrayString &output) override
 read output of processing of reference image to read in white balance of reference image
 
HuginQueue::CommandQueueGetCmdQueueForImport (const wxArrayString &rawFilenames, const wxArrayString &imageFilenames) override
 return commands for processing of all other images with white balance read by RawImport::ProcessReferenceOutput
 
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
 
- Public Member Functions inherited from RawImport
 RawImport (wxString ConfigExePath)
 
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
 

Protected Member Functions

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

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

Constructor & Destructor Documentation

◆ DCRawImport()

DCRawImport::DCRawImport ( )
inline

Definition at line 112 of file RawImport.cpp.

Member Function Documentation

◆ AddAdditionalPanoramaCommand()

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

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

◆ GetCmdQueueForImport()

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

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

◆ GetCmdQueueForReference()

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

return command for processing of reference image

Implements RawImport.

Definition at line 119 of file RawImport.cpp.

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

◆ GetDefaultExe()

wxString DCRawImport::GetDefaultExe ( )
inlineoverrideprotectedvirtual

returns the default name of the executable

Reimplemented from RawImport.

Definition at line 184 of file RawImport.cpp.

◆ GetImageExtension()

wxString DCRawImport::GetImageExtension ( )
inlineoverridevirtual

image extension of converted files

Reimplemented from RawImport.

Definition at line 113 of file RawImport.cpp.

References threshold().

◆ ProcessAdditionalParameters()

bool DCRawImport::ProcessAdditionalParameters ( wxDialog *  dlg)
inlineoverridevirtual

reads additional parameters from dialog into class

Reimplemented from RawImport.

Definition at line 114 of file RawImport.cpp.

References m_additionalParameters, and threshold().

◆ ProcessReferenceOutput()

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

References m_wb, and threshold().

Member Data Documentation

◆ m_additionalParameters

wxString DCRawImport::m_additionalParameters
private

◆ m_wb

wxString DCRawImport::m_wb
private

Definition at line 194 of file RawImport.cpp.

Referenced by GetCmdQueueForImport(), and ProcessReferenceOutput().


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