Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
DarkTableRawImport Class Reference

special class for Darktable raw import More...

Inheritance diagram for DarkTableRawImport:
Inheritance graph

Public Member Functions

 DarkTableRawImport ()
 
 ~DarkTableRawImport ()
 
bool SupportsOverwrite () override
 return true if program supports overwritting output, otherwise false
 
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
 
- Public Member Functions inherited from RawImport
 RawImport (wxString ConfigExePath)
 
virtual wxString GetImageExtension ()
 image extension of converted files
 
virtual bool ProcessAdditionalParameters (wxDialog *dlg)
 reads additional parameters from dialog into class
 
bool CheckExe (wxDialog *dlg)
 checks if valid executable was given in dialog either absolute path or when relative path is given check PATH
 
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

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

Private Attributes

wxString m_refImage
 
wxString m_usedSettings
 

Additional Inherited Members

- Protected Attributes inherited from RawImport
wxString m_exe
 

Detailed Description

special class for Darktable raw import

Definition at line 298 of file RawImport.cpp.

Constructor & Destructor Documentation

◆ DarkTableRawImport()

DarkTableRawImport::DarkTableRawImport ( )
inline

Definition at line 301 of file RawImport.cpp.

◆ ~DarkTableRawImport()

DarkTableRawImport::~DarkTableRawImport ( )
inline

Definition at line 302 of file RawImport.cpp.

References m_usedSettings, and threshold().

Member Function Documentation

◆ GetCmdQueueForImport()

HuginQueue::CommandQueue * DarkTableRawImport::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 377 of file RawImport.cpp.

References RawImport::m_exe, m_usedSettings, threshold(), and HuginQueue::wxEscapeFilename().

◆ GetCmdQueueForReference()

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

return command for processing of reference image

Implements RawImport.

Definition at line 311 of file RawImport.cpp.

References RawImport::m_exe, m_refImage, threshold(), and HuginQueue::wxEscapeFilename().

◆ GetDefaultExe()

wxString DarkTableRawImport::GetDefaultExe ( )
inlineoverrideprotectedvirtual

returns the default name of the executable

Reimplemented from RawImport.

Definition at line 403 of file RawImport.cpp.

References threshold().

◆ ProcessReferenceOutput()

bool DarkTableRawImport::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 332 of file RawImport.cpp.

References HUGIN_CONV_FILENAME, m_refImage, and m_usedSettings.

◆ SupportsOverwrite()

bool DarkTableRawImport::SupportsOverwrite ( )
inlineoverridevirtual

return true if program supports overwritting output, otherwise false

Reimplemented from RawImport.

Definition at line 310 of file RawImport.cpp.

Member Data Documentation

◆ m_refImage

wxString DarkTableRawImport::m_refImage
private

Definition at line 438 of file RawImport.cpp.

Referenced by GetCmdQueueForReference(), and ProcessReferenceOutput().

◆ m_usedSettings

wxString DarkTableRawImport::m_usedSettings
private

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