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

Dialog for raw import. More...

#include <RawImport.h>

Inheritance diagram for RawImportDialog:
Inheritance graph

Public Member Functions

 RawImportDialog (wxWindow *parent, HuginBase::Panorama *pano, std::vector< std::string > &rawFiles)
 Constructor, read from xrc ressource; restore last uses settings and position.
 
 ~RawImportDialog ()
 destructor, saves position
 
PanoCommand::PanoCommandGetPanoCommand ()
 return PanoCommand for adding converted raw files to Panorama
 
bool CheckRawFiles ()
 return true, if all raw files are from the same camera
 

Protected Member Functions

void OnOk (wxCommandEvent &e)
 called when dialog is finished and does the conversion
 
void OnSelectRTProcessingProfile (wxCommandEvent &e)
 
void OnRawConverterSelected (wxCommandEvent &e)
 

Private Member Functions

void FillImageChoice ()
 fill list with image names
 

Private Attributes

HuginBase::Panoramam_pano
 
wxArrayString m_rawImages
 
wxArrayString m_images
 
PanoCommand::PanoCommandm_cmd =NULL
 

Detailed Description

Dialog for raw import.

Definition at line 34 of file RawImport.h.

Constructor & Destructor Documentation

◆ RawImportDialog()

RawImportDialog::RawImportDialog ( wxWindow *  parent,
HuginBase::Panorama pano,
std::vector< std::string > &  rawFiles 
)

Constructor, read from xrc ressource; restore last uses settings and position.

Definition at line 573 of file RawImport.cpp.

References HUGIN_CONV_FILENAME, m_pano, m_rawImages, OnOk(), OnRawConverterSelected(), OnSelectRTProcessingProfile(), hugin_utils::RestoreFramePosition(), and threshold().

◆ ~RawImportDialog()

RawImportDialog::~RawImportDialog ( )

destructor, saves position

Definition at line 620 of file RawImport.cpp.

References hugin_utils::StoreFramePosition().

Member Function Documentation

◆ CheckRawFiles()

bool RawImportDialog::CheckRawFiles ( )

return true, if all raw files are from the same camera

Definition at line 630 of file RawImport.cpp.

References FillImageChoice(), HUGIN_CONV_FILENAME, m_rawImages, and threshold().

◆ FillImageChoice()

void RawImportDialog::FillImageChoice ( )
private

fill list with image names

Definition at line 889 of file RawImport.cpp.

References m_rawImages, and threshold().

Referenced by CheckRawFiles().

◆ GetPanoCommand()

PanoCommand::PanoCommand * RawImportDialog::GetPanoCommand ( )

return PanoCommand for adding converted raw files to Panorama

Definition at line 625 of file RawImport.cpp.

References m_cmd.

◆ OnOk()

void RawImportDialog::OnOk ( wxCommandEvent &  e)
protected

called when dialog is finished and does the conversion

Definition at line 737 of file RawImport.cpp.

References HuginBase::Panorama::getNrOfImages(), HUGIN_CONV_FILENAME, hugin_utils::HuginMessageBox(), m_cmd, m_images, m_pano, m_rawImages, PanoCommand::PanoCommand::setName(), and threshold().

Referenced by RawImportDialog().

◆ OnRawConverterSelected()

void RawImportDialog::OnRawConverterSelected ( wxCommandEvent &  e)
protected

Definition at line 860 of file RawImport.cpp.

References threshold().

Referenced by RawImportDialog().

◆ OnSelectRTProcessingProfile()

void RawImportDialog::OnSelectRTProcessingProfile ( wxCommandEvent &  e)
protected

Definition at line 850 of file RawImport.cpp.

References threshold().

Referenced by RawImportDialog().

Member Data Documentation

◆ m_cmd

PanoCommand::PanoCommand* RawImportDialog::m_cmd =NULL
private

Definition at line 58 of file RawImport.h.

Referenced by GetPanoCommand(), and OnOk().

◆ m_images

wxArrayString RawImportDialog::m_images
private

Definition at line 57 of file RawImport.h.

Referenced by OnOk().

◆ m_pano

HuginBase::Panorama* RawImportDialog::m_pano
private

Definition at line 55 of file RawImport.h.

Referenced by OnOk(), and RawImportDialog().

◆ m_rawImages

wxArrayString RawImportDialog::m_rawImages
private

Definition at line 56 of file RawImport.h.

Referenced by CheckRawFiles(), FillImageChoice(), OnOk(), and RawImportDialog().


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